#D18CFA#D18CFA
#D18CFA is a light, vivid violet. Relative luminance 0.392; OKLCH L 75.0% C 0.167 H 311.8°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #D18CFA |
|---|---|
| RGB | rgb(209, 140, 250) |
| HSL | hsl(278, 92%, 76%) |
| HSV | hsv(278, 44%, 98%) |
| CMYK | cmyk(16.4%, 44%, 0%, 2%) |
| CIE-LAB | lab(68.91, 45.37, -44.86) |
| CIE-LCH | lch(68.91, 63.80, 315.33°) |
| OKLab | oklab(75.05% 0.1115 -0.1246) |
| OKLCH | oklch(75.05% 0.167 311.8) |
| XYZ | xyz(52.9249, 39.2146, 95.2051) |
| Luminance | 0.3921 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.87
Baby Purple
#CA9BF7
ΔE00 4.21
Pastel Purple
#CAA0FF
ΔE00 5.42
Lilac (survey)
#CEA2FD
ΔE00 5.59
Light Purple
#BF77F6
ΔE00 5.89
Lavender (survey)
#C79FEF
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D18CFA #B5FA8C
analogous
#9A8CFA #D18CFA #FA8CEC
triadic
#D18CFA #FAD18C #8CFAD1
tetradic
#D18CFA #FA9A8C #B5FA8C #8CECFA
square
#D18CFA #FA9A8C #B5FA8C #8CECFA
split-complementary
#D18CFA #ECFA8C #8CFA9A
monochromatic
#A217F5 #BA51F7 #D18CFA #E8C7FD #F3E2FE
Accessibility & contrast
On white
2.37
#D18CFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#D18CFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D18CFA
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D18CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D18CFA | 1.00 | 2.37 | 8.84 | 8.84 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75A5FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#CD9DB7
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #d18cfa; /* rgb */ color: rgb(209, 140, 250); /* oklch */ color: oklch(75.0% 0.167 311.8);
Tailwind
colors: {
custom: {
50: '#e1affc',
500: '#d18cfa',
950: '#000000',
},
}SCSS
$custom: #d18cfa; $custom-light: #e1affc; $custom-dark: #000000;
JSON
{
"hex": "#d18cfa",
"rgb": {
"r": 209,
"g": 140,
"b": 250
},
"hsl": {
"h": 277.636,
"s": 91.667,
"l": 76.471
},
"oklch": {
"l": 0.7505,
"c": 0.16722,
"h": 311.8
},
"luminance": 0.39214
}Semantic roles & 50–950 ramp
primary
#D18CFA
secondary
#E1F6D5
accent
#E60056
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151017
muted
#847F85