#CFA0F2#CFA0F2
#CFA0F2 is a light, vivid violet. Relative luminance 0.448; OKLCH L 77.8% C 0.124 H 310.0°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA0F2 |
|---|---|
| RGB | rgb(207, 160, 242) |
| HSL | hsl(274, 76%, 79%) |
| HSV | hsv(274, 34%, 95%) |
| CMYK | cmyk(14.5%, 33.9%, 0%, 5.1%) |
| CIE-LAB | lab(72.77, 32.31, -34.49) |
| CIE-LCH | lch(72.77, 47.26, 313.14°) |
| OKLab | oklab(77.81% 0.0795 -0.0949) |
| OKLCH | oklch(77.81% 0.124 310) |
| XYZ | xyz(54.3271, 44.8185, 89.7760) |
| Luminance | 0.4482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.56
Lilac (survey)
#CEA2FD
ΔE00 2.22
Baby Purple
#CA9BF7
ΔE00 2.27
Pastel Purple
#CAA0FF
ΔE00 3.16
Pale Violet
#CEAEFA
ΔE00 3.93
Mauve
#E0B0FF
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA0F2 #C3F2A0
analogous
#A6A0F2 #CFA0F2 #F2A0EC
triadic
#CFA0F2 #F2CFA0 #A0F2CF
tetradic
#CFA0F2 #F2A6A0 #C3F2A0 #A0ECF2
square
#CFA0F2 #F2A6A0 #C3F2A0 #A0ECF2
split-complementary
#CFA0F2 #ECF2A0 #A0F2A6
monochromatic
#9934E3 #B46AEB #CFA0F2 #EAD6F9 #F1E4FB
Accessibility & contrast
On white
2.11
#CFA0F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#CFA0F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA0F2
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA0F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA0F2 | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91B0F5
Deuteranopia (green-blind)
#9BB3F0
Tritanopia (blue-blind)
#CBABBE
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cfa0f2; /* rgb */ color: rgb(207, 160, 242); /* oklch */ color: oklch(77.8% 0.124 310.0);
Tailwind
colors: {
custom: {
50: '#debcf6',
500: '#cfa0f2',
950: '#000000',
},
}SCSS
$custom: #cfa0f2; $custom-light: #debcf6; $custom-dark: #000000;
JSON
{
"hex": "#cfa0f2",
"rgb": {
"r": 207,
"g": 160,
"b": 242
},
"hsl": {
"h": 274.39,
"s": 75.926,
"l": 78.824
},
"oklch": {
"l": 0.7781,
"c": 0.12383,
"h": 310
},
"luminance": 0.44818
}Semantic roles & 50–950 ramp
primary
#CFA0F2
secondary
#E4F3D8
accent
#D80D64
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185