#D18DF6#D18DF6
#D18DF6 is a light, vivid violet. Relative luminance 0.393; OKLCH L 75.0% C 0.161 H 312.8°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #D18DF6 |
|---|---|
| RGB | rgb(209, 141, 246) |
| HSL | hsl(279, 85%, 76%) |
| HSV | hsv(279, 43%, 96%) |
| CMYK | cmyk(15%, 42.7%, 0%, 3.5%) |
| CIE-LAB | lab(68.94, 44.00, -42.62) |
| CIE-LCH | lch(68.94, 61.26, 315.91°) |
| OKLab | oklab(75.02% 0.1095 -0.1181) |
| OKLCH | oklch(75.02% 0.161 312.8) |
| XYZ | xyz(52.4511, 39.2600, 91.9858) |
| Luminance | 0.3926 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.28
Baby Purple
#CA9BF7
ΔE00 3.96
Pastel Purple
#CAA0FF
ΔE00 5.35
Lilac (survey)
#CEA2FD
ΔE00 5.40
Lavender (survey)
#C79FEF
ΔE00 5.59
Violet (CSS)
#EE82EE
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D18DF6 #B2F68D
analogous
#9C8DF6 #D18DF6 #F68DE6
triadic
#D18DF6 #F6D18D #8DF6D1
tetradic
#D18DF6 #F69C8D #B2F68D #8DE6F6
square
#D18DF6 #F69C8D #B2F68D #8DE6F6
split-complementary
#D18DF6 #E6F68D #8DF69C
monochromatic
#A31CED #BA54F2 #D18DF6 #E8C6FA #F4E3FD
Accessibility & contrast
On white
2.37
#D18DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#D18DF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D18DF6
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D18DF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D18DF6 | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78A5FA
Deuteranopia (green-blind)
#8AAAF3
Tritanopia (blue-blind)
#CE9CB6
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #d18df6; /* rgb */ color: rgb(209, 141, 246); /* oklch */ color: oklch(75.0% 0.161 312.8);
Tailwind
colors: {
custom: {
50: '#e1aff9',
500: '#d18df6',
950: '#000000',
},
}SCSS
$custom: #d18df6; $custom-light: #e1aff9; $custom-dark: #000000;
JSON
{
"hex": "#d18df6",
"rgb": {
"r": 209,
"g": 141,
"b": 246
},
"hsl": {
"h": 278.857,
"s": 85.366,
"l": 75.882
},
"oklch": {
"l": 0.75016,
"c": 0.16107,
"h": 312.8
},
"luminance": 0.39259
}Semantic roles & 50–950 ramp
primary
#D18DF6
secondary
#E1F5D6
accent
#E20452
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85