#CFA0FF#CFA0FF
#CFA0FF is a light, vivid violet. Relative luminance 0.456; OKLCH L 78.4% C 0.140 H 306.2°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA0FF |
|---|---|
| RGB | rgb(207, 160, 255) |
| HSL | hsl(270, 100%, 81%) |
| HSV | hsv(270, 37%, 100%) |
| CMYK | cmyk(18.8%, 37.3%, 0%, 0%) |
| CIE-LAB | lab(73.30, 35.11, -40.71) |
| CIE-LCH | lch(73.30, 53.76, 310.77°) |
| OKLab | oklab(78.39% 0.0824 -0.1128) |
| OKLCH | oklch(78.39% 0.14 306.2) |
| XYZ | xyz(56.3494, 45.6274, 100.4268) |
| Luminance | 0.4563 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.73
Pastel Purple
#CAA0FF
ΔE00 1.07
Baby Purple
#CA9BF7
ΔE00 1.55
Lavender (survey)
#C79FEF
ΔE00 2.78
Pale Violet
#CEAEFA
ΔE00 4.28
Liliac
#C48EFD
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA0FF #D0FFA0
analogous
#A0A1FF #CFA0FF #FEA0FF
triadic
#CFA0FF #FFCFA0 #A0FFCF
tetradic
#CFA0FF #FFA0A1 #D0FFA0 #A0FFFE
square
#CFA0FF #FFA0A1 #D0FFA0 #A0FFFE
split-complementary
#CFA0FF #FFFEA0 #A1FFA0
monochromatic
#9126FF #B063FF #CFA0FF #EEDDFF #F0E0FF
Accessibility & contrast
On white
2.07
#CFA0FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.13
#CFA0FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA0FF
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA0FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA0FF | 1.00 | 2.07 | 10.13 | 10.13 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8BB2FF
Deuteranopia (green-blind)
#96B4FC
Tritanopia (blue-blind)
#C8AEC4
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfa0ff; /* rgb */ color: rgb(207, 160, 255); /* oklch */ color: oklch(78.4% 0.140 306.2);
Tailwind
colors: {
custom: {
50: '#dfbcff',
500: '#cfa0ff',
950: '#000000',
},
}SCSS
$custom: #cfa0ff; $custom-light: #dfbcff; $custom-dark: #000000;
JSON
{
"hex": "#cfa0ff",
"rgb": {
"r": 207,
"g": 160,
"b": 255
},
"hsl": {
"h": 269.684,
"s": 100,
"l": 81.373
},
"oklch": {
"l": 0.78388,
"c": 0.13968,
"h": 306.2
},
"luminance": 0.45627
}Semantic roles & 50–950 ramp
primary
#CFA0FF
secondary
#E6F7D4
accent
#E60074
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186