#CFA2FE#CFA2FE
#CFA2FE is a light, vivid violet. Relative luminance 0.463; OKLCH L 78.7% C 0.135 H 306.0°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA2FE |
|---|---|
| RGB | rgb(207, 162, 254) |
| HSL | hsl(269, 98%, 82%) |
| HSV | hsv(269, 36%, 100%) |
| CMYK | cmyk(18.5%, 36.2%, 0%, 0.4%) |
| CIE-LAB | lab(73.72, 33.80, -39.53) |
| CIE-LCH | lch(73.72, 52.01, 310.53°) |
| OKLab | oklab(78.69% 0.0794 -0.1094) |
| OKLCH | oklch(78.69% 0.135 306) |
| XYZ | xyz(56.5383, 46.2622, 99.6977) |
| Luminance | 0.4626 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.22
Pastel Purple
#CAA0FF
ΔE00 1.21
Baby Purple
#CA9BF7
ΔE00 1.82
Lavender (survey)
#C79FEF
ΔE00 2.52
Pale Violet
#CEAEFA
ΔE00 3.68
Mauve
#E0B0FF
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA2FE #D1FEA2
analogous
#A2A3FE #CFA2FE #FDA2FE
triadic
#CFA2FE #FECFA2 #A2FECF
tetradic
#CFA2FE #FEA2A3 #D1FEA2 #A2FEFD
square
#CFA2FE #FEA2A3 #D1FEA2 #A2FEFD
split-complementary
#CFA2FE #FEFDA2 #A3FEA2
monochromatic
#9029FD #B065FD #CFA2FE #EEDFFF #EFE1FF
Accessibility & contrast
On white
2.05
#CFA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.25
#CFA2FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA2FE
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA2FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA2FE | 1.00 | 2.05 | 10.25 | 10.25 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EB4FF
Deuteranopia (green-blind)
#98B5FB
Tritanopia (blue-blind)
#C8B0C4
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cfa2fe; /* rgb */ color: rgb(207, 162, 254); /* oklch */ color: oklch(78.7% 0.135 306.0);
Tailwind
colors: {
custom: {
50: '#dfbeff',
500: '#cfa2fe',
950: '#000000',
},
}SCSS
$custom: #cfa2fe; $custom-light: #dfbeff; $custom-dark: #000000;
JSON
{
"hex": "#cfa2fe",
"rgb": {
"r": 207,
"g": 162,
"b": 254
},
"hsl": {
"h": 269.348,
"s": 97.872,
"l": 81.569
},
"oklch": {
"l": 0.78687,
"c": 0.13517,
"h": 306
},
"luminance": 0.46262
}Semantic roles & 50–950 ramp
primary
#CFA2FE
secondary
#E6F7D4
accent
#E60075
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186