#CFA2EB#CFA2EB
#CFA2EB is a light, moderate violet. Relative luminance 0.451; OKLCH L 77.9% C 0.112 H 312.0°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA2EB |
|---|---|
| RGB | rgb(207, 162, 235) |
| HSL | hsl(277, 65%, 78%) |
| HSV | hsv(277, 31%, 92%) |
| CMYK | cmyk(11.9%, 31.1%, 0%, 7.8%) |
| CIE-LAB | lab(72.96, 29.75, -30.38) |
| CIE-LCH | lch(72.96, 42.53, 314.40°) |
| OKLab | oklab(77.86% 0.0749 -0.0833) |
| OKLCH | oklch(77.86% 0.112 312) |
| XYZ | xyz(53.6453, 45.1050, 84.4612) |
| Luminance | 0.4510 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 2.44
Lilac (survey)
#CEA2FD
ΔE00 3.79
Baby Purple
#CA9BF7
ΔE00 3.91
Pale Violet
#CEAEFA
ΔE00 4.06
Mauve
#E0B0FF
ΔE00 4.14
Light Violet
#D6B4FC
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA2EB #BEEBA2
analogous
#AAA2EB #CFA2EB #EBA2E3
triadic
#CFA2EB #EBCFA2 #A2EBCF
tetradic
#CFA2EB #EBAAA2 #BEEBA2 #A2E3EB
square
#CFA2EB #EBAAA2 #BEEBA2 #A2E3EB
split-complementary
#CFA2EB #E3EBA2 #A2EBAA
monochromatic
#9B3DD5 #B570E0 #CFA2EB #E9D4F6 #F2E6FA
Accessibility & contrast
On white
2.10
#CFA2EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.02
#CFA2EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA2EB
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA2EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA2EB | 1.00 | 2.10 | 10.02 | 10.02 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96B1EE
Deuteranopia (green-blind)
#A0B4E9
Tritanopia (blue-blind)
#CCACBC
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cfa2eb; /* rgb */ color: rgb(207, 162, 235); /* oklch */ color: oklch(77.9% 0.112 312.0);
Tailwind
colors: {
custom: {
50: '#debef1',
500: '#cfa2eb',
950: '#000000',
},
}SCSS
$custom: #cfa2eb; $custom-light: #debef1; $custom-dark: #000000;
JSON
{
"hex": "#cfa2eb",
"rgb": {
"r": 207,
"g": 162,
"b": 235
},
"hsl": {
"h": 276.986,
"s": 64.602,
"l": 77.843
},
"oklch": {
"l": 0.77864,
"c": 0.11201,
"h": 312
},
"luminance": 0.45104
}Semantic roles & 50–950 ramp
primary
#CFA2EB
secondary
#E3F1DA
accent
#CC195E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184