#D4A7FB#D4A7FB
#D4A7FB is a light, vivid violet. Relative luminance 0.486; OKLCH L 79.9% C 0.125 H 308.3°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D4A7FB |
|---|---|
| RGB | rgb(212, 167, 251) |
| HSL | hsl(272, 91%, 82%) |
| HSV | hsv(272, 33%, 98%) |
| CMYK | cmyk(15.5%, 33.5%, 0%, 1.6%) |
| CIE-LAB | lab(75.20, 31.91, -35.56) |
| CIE-LCH | lch(75.20, 47.78, 311.90°) |
| OKLab | oklab(79.89% 0.0774 -0.0979) |
| OKLCH | oklch(79.89% 0.125 308.3) |
| XYZ | xyz(58.3794, 48.6001, 97.5534) |
| Luminance | 0.4860 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 1.93
Pale Violet
#CEAEFA
ΔE00 2.67
Lavender (survey)
#C79FEF
ΔE00 2.76
Mauve
#E0B0FF
ΔE00 2.81
Pastel Purple
#CAA0FF
ΔE00 3.07
Baby Purple
#CA9BF7
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4A7FB #CEFBA7
analogous
#AAA7FB #D4A7FB #FBA7F8
triadic
#D4A7FB #FBD4A7 #A7FBD4
tetradic
#D4A7FB #FBAAA7 #CEFBA7 #A7F8FB
square
#D4A7FB #FBAAA7 #CEFBA7 #A7F8FB
split-complementary
#D4A7FB #F8FBA7 #A7FBAA
monochromatic
#9B32F6 #B76CF8 #D4A7FB #F1E2FE #F1E2FE
Accessibility & contrast
On white
1.96
#D4A7FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.72
#D4A7FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4A7FB
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4A7FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4A7FB | 1.00 | 1.96 | 10.72 | 10.72 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97B7FE
Deuteranopia (green-blind)
#A1BAF9
Tritanopia (blue-blind)
#CFB3C6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #d4a7fb; /* rgb */ color: rgb(212, 167, 251); /* oklch */ color: oklch(79.9% 0.125 308.3);
Tailwind
colors: {
custom: {
50: '#e2c1fd',
500: '#d4a7fb',
950: '#000000',
},
}SCSS
$custom: #d4a7fb; $custom-light: #e2c1fd; $custom-dark: #000000;
JSON
{
"hex": "#d4a7fb",
"rgb": {
"r": 212,
"g": 167,
"b": 251
},
"hsl": {
"h": 272.143,
"s": 91.304,
"l": 81.961
},
"oklch": {
"l": 0.79886,
"c": 0.12483,
"h": 308.3
},
"luminance": 0.486
}Semantic roles & 50–950 ramp
primary
#D4A7FB
secondary
#E4F6D5
accent
#E6006B
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185