#D18FFB#D18FFB
#D18FFB is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.6% C 0.163 H 311.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #D18FFB |
|---|---|
| RGB | rgb(209, 143, 251) |
| HSL | hsl(277, 93%, 77%) |
| HSV | hsv(277, 43%, 98%) |
| CMYK | cmyk(16.7%, 43%, 0%, 1.6%) |
| CIE-LAB | lab(69.59, 43.99, -44.33) |
| CIE-LCH | lch(69.59, 62.45, 314.78°) |
| OKLab | oklab(75.58% 0.1076 -0.1231) |
| OKLCH | oklch(75.58% 0.163 311.2) |
| XYZ | xyz(53.5265, 40.1662, 96.1812) |
| Luminance | 0.4017 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.73
Baby Purple
#CA9BF7
ΔE00 3.57
Pastel Purple
#CAA0FF
ΔE00 4.74
Lilac (survey)
#CEA2FD
ΔE00 4.90
Lavender (survey)
#C79FEF
ΔE00 5.42
Light Purple
#BF77F6
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D18FFB #B9FB8F
analogous
#9B8FFB #D18FFB #FB8FEF
triadic
#D18FFB #FBD18F #8FFBD1
tetradic
#D18FFB #FB9B8F #B9FB8F #8FEFFB
square
#D18FFB #FB9B8F #B9FB8F #8FEFFB
split-complementary
#D18FFB #EFFB8F #8FFB9B
monochromatic
#A019F7 #B954F9 #D18FFB #E9CAFD #F3E1FE
Accessibility & contrast
On white
2.32
#D18FFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#D18FFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D18FFB
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D18FFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D18FFB | 1.00 | 2.32 | 9.03 | 9.03 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#CC9FB9
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #d18ffb; /* rgb */ color: rgb(209, 143, 251); /* oklch */ color: oklch(75.6% 0.163 311.2);
Tailwind
colors: {
custom: {
50: '#e1b1fd',
500: '#d18ffb',
950: '#000000',
},
}SCSS
$custom: #d18ffb; $custom-light: #e1b1fd; $custom-dark: #000000;
JSON
{
"hex": "#d18ffb",
"rgb": {
"r": 209,
"g": 143,
"b": 251
},
"hsl": {
"h": 276.667,
"s": 93.103,
"l": 77.255
},
"oklch": {
"l": 0.75575,
"c": 0.16346,
"h": 311.2
},
"luminance": 0.40165
}Semantic roles & 50–950 ramp
primary
#D18FFB
secondary
#E2F6D5
accent
#E60059
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085