#D2AFFD#D2AFFD
#D2AFFD is a light, moderate violet. Relative luminance 0.515; OKLCH L 81.2% C 0.113 H 304.6°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AFFD |
|---|---|
| RGB | rgb(210, 175, 253) |
| HSL | hsl(267, 95%, 84%) |
| HSV | hsv(267, 31%, 99%) |
| CMYK | cmyk(17%, 30.8%, 0%, 0.8%) |
| CIE-LAB | lab(76.95, 27.39, -33.95) |
| CIE-LCH | lch(76.95, 43.62, 308.89°) |
| OKLab | oklab(81.21% 0.0643 -0.0934) |
| OKLCH | oklch(81.21% 0.113 304.6) |
| XYZ | xyz(59.6344, 51.4536, 99.6994) |
| Luminance | 0.5145 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 0.78
Light Violet
#D6B4FC
ΔE00 1.63
Mauve
#E0B0FF
ΔE00 2.92
Lilac (survey)
#CEA2FD
ΔE00 3.50
Lavender (survey)
#C79FEF
ΔE00 4.04
Pastel Purple
#CAA0FF
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AFFD #DAFDAF
analogous
#AFB3FD #D2AFFD #F9AFFD
triadic
#D2AFFD #FDD2AF #AFFDD2
tetradic
#D2AFFD #FDAFB3 #DAFDAF #AFFDF9
square
#D2AFFD #FDAFB3 #DAFDAF #AFFDF9
split-complementary
#D2AFFD #FDF9AF #B3FDAF
monochromatic
#8F38FA #B073FC #D2AFFD #EEE1FE #EEE1FE
Accessibility & contrast
On white
1.86
#D2AFFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.29
#D2AFFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AFFD
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AFFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AFFD | 1.00 | 1.86 | 11.29 | 11.29 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9FBDFF
Deuteranopia (green-blind)
#A6BEFB
Tritanopia (blue-blind)
#CCBACB
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #d2affd; /* rgb */ color: rgb(210, 175, 253); /* oklch */ color: oklch(81.2% 0.113 304.6);
Tailwind
colors: {
custom: {
50: '#e0c7fe',
500: '#d2affd',
950: '#000000',
},
}SCSS
$custom: #d2affd; $custom-light: #e0c7fe; $custom-dark: #000000;
JSON
{
"hex": "#d2affd",
"rgb": {
"r": 210,
"g": 175,
"b": 253
},
"hsl": {
"h": 266.923,
"s": 95.122,
"l": 83.922
},
"oklch": {
"l": 0.81206,
"c": 0.11343,
"h": 304.6
},
"luminance": 0.51453
}Semantic roles & 50–950 ramp
primary
#D2AFFD
secondary
#AEE26E
accent
#E6007F
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286