#D4CAFF#D4CAFF
#D4CAFF is a very light, moderate violet. Relative luminance 0.635; OKLCH L 86.5% C 0.073 H 293.5°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #D4CAFF |
|---|---|
| RGB | rgb(212, 202, 255) |
| HSL | hsl(251, 100%, 90%) |
| HSV | hsv(251, 21%, 100%) |
| CMYK | cmyk(16.9%, 20.8%, 0%, 0%) |
| CIE-LAB | lab(83.68, 13.81, -24.68) |
| CIE-LCH | lch(83.68, 28.28, 299.22°) |
| OKLab | oklab(86.46% 0.0292 -0.0674) |
| OKLCH | oklch(86.46% 0.073 293.5) |
| XYZ | xyz(66.3180, 63.4576, 103.3430) |
| Luminance | 0.6346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle
#CCCCFF
ΔE00 2.79
Light Lavender
#DFC5FE
ΔE00 4.02
Pale Lilac
#E4CBFF
ΔE00 4.28
Light Periwinkle
#C1C6FC
ΔE00 4.75
Pale Lavender
#EECFFE
ΔE00 6.68
Light Lilac
#EDC8FF
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4CAFF #F5FFCA
analogous
#CADBFF #D4CAFF #EFCAFF
triadic
#D4CAFF #FFD4CA #CAFFD4
tetradic
#D4CAFF #FFCADB #F5FFCA #CAFFEF
square
#D4CAFF #FFCADB #F5FFCA #CAFFEF
split-complementary
#D4CAFF #FFEFCA #DBFFCA
monochromatic
#7150FF #A28DFF #D4CAFF #E6E0FF #E6E0FF
Accessibility & contrast
On white
1.53
#D4CAFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.69
#D4CAFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4CAFF
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4CAFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4CAFF | 1.00 | 1.53 | 13.69 | 13.69 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BED1FF
Deuteranopia (green-blind)
#BFD0FD
Tritanopia (blue-blind)
#CCD2DC
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #d4caff; /* rgb */ color: rgb(212, 202, 255); /* oklch */ color: oklch(86.5% 0.073 293.5);
Tailwind
colors: {
custom: {
50: '#e1daff',
500: '#d4caff',
950: '#000000',
},
}SCSS
$custom: #d4caff; $custom-light: #e1daff; $custom-dark: #000000;
JSON
{
"hex": "#d4caff",
"rgb": {
"r": 212,
"g": 202,
"b": 255
},
"hsl": {
"h": 251.321,
"s": 100,
"l": 89.608
},
"oklch": {
"l": 0.86455,
"c": 0.07343,
"h": 293.5
},
"luminance": 0.63458
}Semantic roles & 50–950 ramp
primary
#D4CAFF
secondary
#D6E984
accent
#E600BA
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386