#D8A2EE Mauve
rgb(216, 162, 238)
Color conversions
- HEX
- #D8A2EE
- RGB
- rgb(216, 162, 238)
- RGBA
- rgba(216, 162, 238, 1)
- HSL
- hsl(283, 69%, 78%)
- HSV / HSB
- hsv(283, 32%, 93%)
- CMYK
- cmyk(9%, 32%, 0%, 7%)
Wide-gamut spaces
- XYZ
- xyz(56.67, 46.614, 86.884)
- LAB
- lab(73.94 33.15 -30.43)
- LCH
- lch(73.94 45 317.45)
- OKLAB
- oklab(78.85% 0.0859 -0.0833)
- OKLCH
- oklch(78.85% 0.1196 315.89)
- Nearest name
- Mauve
Shades, tints and tones
Color harmonies
The hue directly opposite on the color wheel. Maximum contrast, ideal for a single accent against a dominant brand color.
Neighbouring hues that share a temperature. The safest harmony for calm, cohesive interfaces.
Three hues evenly spaced 120 degrees apart. Vibrant and balanced — use one as dominant and the other two sparingly.
The complement split into two adjacent hues. Nearly the contrast of complementary with noticeably less tension.
Four hues at 90-degree intervals. A rich set for illustration, data visualisation, and category coding.
Two complementary pairs offset by 60 degrees. Gives two warm and two cool options in one system.
Similar colors
Opacity variations
#d8a2ee1a
#d8a2ee33
#d8a2ee4d
#d8a2ee66
#d8a2ee80
#d8a2ee99
#d8a2eeb3
#d8a2eecc
#d8a2eee6
#d8a2eeff
Accessibility and contrast
On white
2.03:1
Body text Fail · Large text Fail
On black
10.32:1
Body text AAA · Large text AA
White-on-color contrast is 2.03:1.
Color blindness preview
Protanopia
No red cones — ~1% of men
Protanomaly
Reduced red sensitivity — ~1% of men
Deuteranopia
No green cones — ~1% of men
Deuteranomaly
Reduced green sensitivity — ~5% of men
Tritanopia
No blue cones — very rare
Tritanomaly
Reduced blue sensitivity — very rare
Achromatopsia
No color perception — ~1 in 30,000
Achromatomaly
Partial color perception — rare
Meaning, psychology and brand usage
Craft, imagination, and modern premium
Violet reads as creative and considered. Because it is rare in nature it feels designed rather than found, which is why it has become the signature of developer tooling and creative software over the last decade.
Royalty and luxury in Western markets, mourning in Catholic tradition and parts of Latin America, and spirituality across several Eastern traditions.
Tyrian purple was extracted from murex sea snails at roughly 250,000 shells per gram, restricting it to emperors by law. Perkin's accidental synthesis of mauveine in 1856 launched the entire synthetic dye industry.
Strong for creative tools, beauty, and premium subscriptions. Keep the surrounding neutrals genuinely neutral — violet plus warm gray quickly reads dated.
Common industries: Creative software, Beauty, Education, Streaming, Web3. Pairs well with lime for a sharp accent, warm white for softness, near-black for luxury.
Code exports
CSS
:root {
--color-mauve: #d8a2ee;
--color-mauve-rgb: 216 162 238;
--color-mauve-hsl: 283 69% 78%;
--color-mauve-oklch: 78.85% 0.1196 315.89;
}
.element {
color: #d8a2ee;
background-color: hsl(283, 69%, 78%);
border: 1px solid rgb(216 162 238 / 40%);
}SCSS
$mauve: #d8a2ee;
$mauve-light: #ecd1f7;
$mauve-dark: #6c5177;
.element {
color: $mauve;
background: rgba($mauve, 0.12);
&:hover {
color: darken($mauve, 8%);
}
}LESS
@mauve: #d8a2ee;
@mauve-light: lighten(@mauve, 12%);
@mauve-dark: darken(@mauve, 12%);
.element {
color: @mauve;
background: fade(@mauve, 12%);
}Tailwind CSS
/* Tailwind v4 — src/styles.css */
@theme {
--color-mauve-50: #f7ecfc;
--color-mauve-100: #f3e3fa;
--color-mauve-200: #efdaf8;
--color-mauve-300: #e8c7f5;
--color-mauve-400: #e0b5f1;
--color-mauve-500: #d8a2ee;
--color-mauve-600: #c292d6;
--color-mauve-700: #9771a7;
--color-mauve-800: #6c5177;
--color-mauve-900: #413147;
}
/* Usage */
<div class="bg-mauve-500 text-mauve-50 ring-mauve-600" />
/* Arbitrary value, no config needed */
<div class="bg-[#d8a2ee]" />Bootstrap
// Bootstrap 5 — _variables.scss (before importing bootstrap)
$mauve: #d8a2ee;
$primary: $mauve;
$theme-colors: map-merge($theme-colors, (
"mauve": $mauve
));
// Generates .text-mauve, .bg-mauve, .btn-mauve
@import "bootstrap/scss/bootstrap";Flutter
import 'package:flutter/material.dart';
const Color mauve = Color(0xFFD8A2EE);
// As a MaterialColor swatch
const MaterialColor mauveSwatch = MaterialColor(0xFFD8A2EE, <int, Color>{
50: Color(0xFFF7ECFC),
100: Color(0xFFF3E3FA),
200: Color(0xFFEFDAF8),
300: Color(0xFFE8C7F5),
400: Color(0xFFE0B5F1),
500: Color(0xFFD8A2EE),
600: Color(0xFFC292D6),
700: Color(0xFF9771A7),
800: Color(0xFF6C5177),
900: Color(0xFF413147),
});Swift / SwiftUI
import SwiftUI
extension Color {
/// #d8a2ee — Mauve
static let mauve = Color(
red: 0.8471,
green: 0.6353,
blue: 0.9333
)
}
// UIKit
extension UIColor {
static let mauve = UIColor(
red: 0.8471,
green: 0.6353,
blue: 0.9333,
alpha: 1.0
)
}Android
<!-- res/values/colors.xml -->
<resources>
<color name="mauve">#D8A2EE</color>
<color name="mauve_translucent">#80D8A2EE</color>
</resources>
<!-- Jetpack Compose -->
val Mauve = Color(0xFFD8A2EE)JavaScript
export const MAUVE = {
hex: "#d8a2ee",
rgb: [216, 162, 238],
hsl: [283, 69, 78],
oklch: "oklch(78.85% 0.1196 315.89)",
};JSON tokens
{
"$schema": "https://design-tokens.org/schema.json",
"mauve": {
"$type": "color",
"$value": "#d8a2ee",
"$description": "Mauve — generated by ColorVerse AI"
}
}