#D18AFE#D18AFE
#D18AFE is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.9% C 0.175 H 311.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #D18AFE |
|---|---|
| RGB | rgb(209, 138, 254) |
| HSL | hsl(277, 98%, 77%) |
| HSV | hsv(277, 46%, 100%) |
| CMYK | cmyk(17.7%, 45.7%, 0%, 0.4%) |
| CIE-LAB | lab(68.67, 47.28, -47.41) |
| CIE-LCH | lch(68.67, 66.96, 314.92°) |
| OKLab | oklab(74.93% 0.1149 -0.132) |
| OKLCH | oklch(74.93% 0.175 311) |
| XYZ | xyz(53.2692, 38.8890, 98.4469) |
| Luminance | 0.3889 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.71
Baby Purple
#CA9BF7
ΔE00 4.78
Light Purple
#BF77F6
ΔE00 5.39
Pastel Purple
#CAA0FF
ΔE00 5.80
Lilac (survey)
#CEA2FD
ΔE00 6.10
Easter Purple
#C071FE
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D18AFE #B7FE8A
analogous
#978AFE #D18AFE #FE8AF1
triadic
#D18AFE #FED18A #8AFED1
tetradic
#D18AFE #FE978A #B7FE8A #8AF1FE
square
#D18AFE #FE978A #B7FE8A #8AF1FE
split-complementary
#D18AFE #F1FE8A #8AFE97
monochromatic
#A111FD #B94DFD #D18AFE #E9C7FF #F3E1FF
Accessibility & contrast
On white
2.39
#D18AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#D18AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D18AFE
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D18AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D18AFE | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#83A9FB
Tritanopia (blue-blind)
#CC9CB8
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #d18afe; /* rgb */ color: rgb(209, 138, 254); /* oklch */ color: oklch(74.9% 0.175 311.0);
Tailwind
colors: {
custom: {
50: '#e1aeff',
500: '#d18afe',
950: '#000000',
},
}SCSS
$custom: #d18afe; $custom-light: #e1aeff; $custom-dark: #000000;
JSON
{
"hex": "#d18afe",
"rgb": {
"r": 209,
"g": 138,
"b": 254
},
"hsl": {
"h": 276.724,
"s": 98.305,
"l": 76.863
},
"oklch": {
"l": 0.74933,
"c": 0.17495,
"h": 311
},
"luminance": 0.38888
}Semantic roles & 50–950 ramp
primary
#D18AFE
secondary
#E2F7D4
accent
#E60059
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151018
muted
#847F86