#D2C8FF#D2C8FF
#D2C8FF is a very light, moderate violet. Relative luminance 0.622; OKLCH L 85.9% C 0.076 H 293.1°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C8FF |
|---|---|
| RGB | rgb(210, 200, 255) |
| HSL | hsl(251, 100%, 89%) |
| HSV | hsv(251, 22%, 100%) |
| CMYK | cmyk(17.6%, 21.6%, 0%, 0%) |
| CIE-LAB | lab(83.04, 14.27, -25.68) |
| CIE-LCH | lch(83.04, 29.38, 299.05°) |
| OKLab | oklab(85.92% 0.0299 -0.0702) |
| OKLCH | oklch(85.92% 0.076 293.1) |
| XYZ | xyz(65.2786, 62.2296, 103.1607) |
| Luminance | 0.6223 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle
#CCCCFF
ΔE00 2.73
Light Lavender
#DFC5FE
ΔE00 4.09
Light Periwinkle
#C1C6FC
ΔE00 4.41
Pale Lilac
#E4CBFF
ΔE00 4.60
Light Violet
#D6B4FC
ΔE00 6.55
Light Lilac
#EDC8FF
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C8FF #F5FFC8
analogous
#C8DAFF #D2C8FF #EEC8FF
triadic
#D2C8FF #FFD2C8 #C8FFD2
tetradic
#D2C8FF #FFC8DA #F5FFC8 #C8FFEE
square
#D2C8FF #FFC8DA #F5FFC8 #C8FFEE
split-complementary
#D2C8FF #FFEEC8 #DAFFC8
monochromatic
#6E4EFF #A08BFF #D2C8FF #E6E0FF #E6E0FF
Accessibility & contrast
On white
1.56
#D2C8FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.45
#D2C8FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C8FF
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C8FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C8FF | 1.00 | 1.56 | 13.45 | 13.45 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCCFFF
Deuteranopia (green-blind)
#BCCEFD
Tritanopia (blue-blind)
#C9D1DB
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #d2c8ff; /* rgb */ color: rgb(210, 200, 255); /* oklch */ color: oklch(85.9% 0.076 293.1);
Tailwind
colors: {
custom: {
50: '#e0d8ff',
500: '#d2c8ff',
950: '#000000',
},
}SCSS
$custom: #d2c8ff; $custom-light: #e0d8ff; $custom-dark: #000000;
JSON
{
"hex": "#d2c8ff",
"rgb": {
"r": 210,
"g": 200,
"b": 255
},
"hsl": {
"h": 250.909,
"s": 100,
"l": 89.216
},
"oklch": {
"l": 0.85915,
"c": 0.07628,
"h": 293.1
},
"luminance": 0.6223
}Semantic roles & 50–950 ramp
primary
#D2C8FF
secondary
#D6E982
accent
#E600BC
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386