#D18CF8#D18CF8
#D18CF8 is a light, vivid violet. Relative luminance 0.391; OKLCH L 75.0% C 0.165 H 312.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #D18CF8 |
|---|---|
| RGB | rgb(209, 140, 248) |
| HSL | hsl(278, 89%, 76%) |
| HSV | hsv(278, 44%, 97%) |
| CMYK | cmyk(15.7%, 43.5%, 0%, 2.7%) |
| CIE-LAB | lab(68.82, 44.95, -43.91) |
| CIE-LCH | lch(68.82, 62.84, 315.67°) |
| OKLab | oklab(74.95% 0.1112 -0.1218) |
| OKLCH | oklch(74.95% 0.165 312.4) |
| XYZ | xyz(52.6130, 39.0898, 93.5622) |
| Luminance | 0.3909 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.07
Baby Purple
#CA9BF7
ΔE00 4.18
Pastel Purple
#CAA0FF
ΔE00 5.48
Lilac (survey)
#CEA2FD
ΔE00 5.60
Lavender (survey)
#C79FEF
ΔE00 5.90
Light Purple
#BF77F6
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D18CF8 #B3F88C
analogous
#9B8CF8 #D18CF8 #F88CE9
triadic
#D18CF8 #F8D18C #8CF8D1
tetradic
#D18CF8 #F89B8C #B3F88C #8CE9F8
square
#D18CF8 #F89B8C #B3F88C #8CE9F8
split-complementary
#D18CF8 #E9F88C #8CF89B
monochromatic
#A319F1 #BA52F4 #D18CF8 #E8C6FC #F3E2FD
Accessibility & contrast
On white
2.38
#D18CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#D18CF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D18CF8
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D18CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D18CF8 | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76A4FC
Deuteranopia (green-blind)
#88AAF5
Tritanopia (blue-blind)
#CD9CB6
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #d18cf8; /* rgb */ color: rgb(209, 140, 248); /* oklch */ color: oklch(75.0% 0.165 312.4);
Tailwind
colors: {
custom: {
50: '#e1affb',
500: '#d18cf8',
950: '#000000',
},
}SCSS
$custom: #d18cf8; $custom-light: #e1affb; $custom-dark: #000000;
JSON
{
"hex": "#d18cf8",
"rgb": {
"r": 209,
"g": 140,
"b": 248
},
"hsl": {
"h": 278.333,
"s": 88.525,
"l": 76.078
},
"oklch": {
"l": 0.74953,
"c": 0.16496,
"h": 312.4
},
"luminance": 0.39089
}Semantic roles & 50–950 ramp
primary
#D18CF8
secondary
#E1F5D6
accent
#E50053
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85