#D18FF9#D18FF9
#D18FF9 is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.5% C 0.161 H 311.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #D18FF9 |
|---|---|
| RGB | rgb(209, 143, 249) |
| HSL | hsl(277, 90%, 77%) |
| HSV | hsv(277, 43%, 98%) |
| CMYK | cmyk(16.1%, 42.6%, 0%, 2.4%) |
| CIE-LAB | lab(69.50, 43.57, -43.38) |
| CIE-LCH | lch(69.50, 61.48, 315.12°) |
| OKLab | oklab(75.48% 0.1072 -0.1203) |
| OKLCH | oklch(75.48% 0.161 311.7) |
| XYZ | xyz(53.2129, 40.0408, 94.5296) |
| Luminance | 0.4004 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.94
Baby Purple
#CA9BF7
ΔE00 3.52
Pastel Purple
#CAA0FF
ΔE00 4.80
Lilac (survey)
#CEA2FD
ΔE00 4.90
Lavender (survey)
#C79FEF
ΔE00 5.30
Light Purple
#BF77F6
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D18FF9 #B7F98F
analogous
#9C8FF9 #D18FF9 #F98FEC
triadic
#D18FF9 #F9D18F #8FF9D1
tetradic
#D18FF9 #F99C8F #B7F98F #8FECF9
square
#D18FF9 #F99C8F #B7F98F #8FECF9
split-complementary
#D18FF9 #ECF98F #8FF99C
monochromatic
#A11BF3 #B955F6 #D18FF9 #E9C9FC #F3E2FD
Accessibility & contrast
On white
2.33
#D18FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#D18FF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D18FF9
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D18FF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D18FF9 | 1.00 | 2.33 | 9.01 | 9.01 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A6FD
Deuteranopia (green-blind)
#8AABF6
Tritanopia (blue-blind)
#CD9FB8
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #d18ff9; /* rgb */ color: rgb(209, 143, 249); /* oklch */ color: oklch(75.5% 0.161 311.7);
Tailwind
colors: {
custom: {
50: '#e1b1fb',
500: '#d18ff9',
950: '#000000',
},
}SCSS
$custom: #d18ff9; $custom-light: #e1b1fb; $custom-dark: #000000;
JSON
{
"hex": "#d18ff9",
"rgb": {
"r": 209,
"g": 143,
"b": 249
},
"hsl": {
"h": 277.358,
"s": 89.831,
"l": 76.863
},
"oklch": {
"l": 0.75479,
"c": 0.16119,
"h": 311.7
},
"luminance": 0.4004
}Semantic roles & 50–950 ramp
primary
#D18FF9
secondary
#E2F6D5
accent
#E60057
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085