#CFA2FD#CFA2FD
#CFA2FD is a light, vivid violet. Relative luminance 0.462; OKLCH L 78.6% C 0.134 H 306.3°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA2FD |
|---|---|
| RGB | rgb(207, 162, 253) |
| HSL | hsl(270, 96%, 81%) |
| HSV | hsv(270, 36%, 99%) |
| CMYK | cmyk(18.2%, 36%, 0%, 0.8%) |
| CIE-LAB | lab(73.67, 33.58, -39.05) |
| CIE-LCH | lch(73.67, 51.51, 310.69°) |
| OKLab | oklab(78.64% 0.0792 -0.108) |
| OKLCH | oklch(78.64% 0.134 306.3) |
| XYZ | xyz(56.3786, 46.1983, 98.8565) |
| Luminance | 0.4620 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.22
Pastel Purple
#CAA0FF
ΔE00 1.34
Baby Purple
#CA9BF7
ΔE00 1.79
Lavender (survey)
#C79FEF
ΔE00 2.37
Pale Violet
#CEAEFA
ΔE00 3.61
Mauve
#E0B0FF
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA2FD #D0FDA2
analogous
#A2A3FD #CFA2FD #FCA2FD
triadic
#CFA2FD #FDCFA2 #A2FDCF
tetradic
#CFA2FD #FDA2A3 #D0FDA2 #A2FDFC
square
#CFA2FD #FDA2A3 #D0FDA2 #A2FDFC
split-complementary
#CFA2FD #FDFCA2 #A3FDA2
monochromatic
#912AFA #B066FC #CFA2FD #EEDEFE #F0E1FE
Accessibility & contrast
On white
2.05
#CFA2FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.24
#CFA2FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA2FD
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA2FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA2FD | 1.00 | 2.05 | 10.24 | 10.24 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#98B5FA
Tritanopia (blue-blind)
#C8B0C4
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cfa2fd; /* rgb */ color: rgb(207, 162, 253); /* oklch */ color: oklch(78.6% 0.134 306.3);
Tailwind
colors: {
custom: {
50: '#dfbefe',
500: '#cfa2fd',
950: '#000000',
},
}SCSS
$custom: #cfa2fd; $custom-light: #dfbefe; $custom-dark: #000000;
JSON
{
"hex": "#cfa2fd",
"rgb": {
"r": 207,
"g": 162,
"b": 253
},
"hsl": {
"h": 269.67,
"s": 95.789,
"l": 81.373
},
"oklch": {
"l": 0.78642,
"c": 0.13393,
"h": 306.3
},
"luminance": 0.46198
}Semantic roles & 50–950 ramp
primary
#CFA2FD
secondary
#E6F7D4
accent
#E60074
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186