#CFA7F9#CFA7F9
#CFA7F9 is a light, vivid violet. Relative luminance 0.477; OKLCH L 79.3% C 0.121 H 306.2°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA7F9 |
|---|---|
| RGB | rgb(207, 167, 249) |
| HSL | hsl(269, 87%, 82%) |
| HSV | hsv(269, 33%, 98%) |
| CMYK | cmyk(16.9%, 32.9%, 0%, 2.4%) |
| CIE-LAB | lab(74.66, 29.99, -35.35) |
| CIE-LCH | lch(74.66, 46.36, 310.30°) |
| OKLab | oklab(79.34% 0.0713 -0.0974) |
| OKLCH | oklch(79.34% 0.121 306.2) |
| XYZ | xyz(56.6464, 47.7427, 95.8352) |
| Luminance | 0.4774 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 1.77
Pale Violet
#CEAEFA
ΔE00 2.04
Lavender (survey)
#C79FEF
ΔE00 2.26
Pastel Purple
#CAA0FF
ΔE00 2.74
Baby Purple
#CA9BF7
ΔE00 3.12
Light Violet
#D6B4FC
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA7F9 #D1F9A7
analogous
#A7A8F9 #CFA7F9 #F8A7F9
triadic
#CFA7F9 #F9CFA7 #A7F9CF
tetradic
#CFA7F9 #F9A7A8 #D1F9A7 #A7F9F8
square
#CFA7F9 #F9A7A8 #D1F9A7 #A7F9F8
split-complementary
#CFA7F9 #F9F8A7 #A8F9A7
monochromatic
#9034F1 #B06EF5 #CFA7F9 #EEE0FD #EFE2FD
Accessibility & contrast
On white
1.99
#CFA7F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.55
#CFA7F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA7F9
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA7F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA7F9 | 1.00 | 1.99 | 10.55 | 10.55 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97B6FC
Deuteranopia (green-blind)
#9FB8F7
Tritanopia (blue-blind)
#C9B3C5
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #cfa7f9; /* rgb */ color: rgb(207, 167, 249); /* oklch */ color: oklch(79.3% 0.121 306.2);
Tailwind
colors: {
custom: {
50: '#dec1fb',
500: '#cfa7f9',
950: '#000000',
},
}SCSS
$custom: #cfa7f9; $custom-light: #dec1fb; $custom-dark: #000000;
JSON
{
"hex": "#cfa7f9",
"rgb": {
"r": 207,
"g": 167,
"b": 249
},
"hsl": {
"h": 269.268,
"s": 87.234,
"l": 81.569
},
"oklch": {
"l": 0.79341,
"c": 0.12072,
"h": 306.2
},
"luminance": 0.47742
}Semantic roles & 50–950 ramp
primary
#CFA7F9
secondary
#E6F5D6
accent
#E40276
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185