#C4A2FF#C4A2FF
#C4A2FF is a light, vivid violet. Relative luminance 0.448; OKLCH L 77.7% C 0.134 H 300.1°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A2FF |
|---|---|
| RGB | rgb(196, 162, 255) |
| HSL | hsl(262, 100%, 82%) |
| HSV | hsv(262, 36%, 100%) |
| CMYK | cmyk(23.1%, 36.5%, 0%, 0%) |
| CIE-LAB | lab(72.76, 30.85, -41.64) |
| CIE-LCH | lch(72.76, 51.82, 306.54°) |
| OKLab | oklab(77.74% 0.0671 -0.1156) |
| OKLCH | oklch(77.74% 0.134 300.1) |
| XYZ | xyz(53.7313, 44.7962, 100.4042) |
| Luminance | 0.4480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 1.54
Lilac (survey)
#CEA2FD
ΔE00 2.38
Baby Purple
#CA9BF7
ΔE00 3.01
Lavender (survey)
#C79FEF
ΔE00 3.42
Pale Violet
#CEAEFA
ΔE00 4.15
Liliac
#C48EFD
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A2FF #DDFFA2
analogous
#A2AFFF #C4A2FF #F2A2FF
triadic
#C4A2FF #FFC4A2 #A2FFC4
tetradic
#C4A2FF #FFA2AF #DDFFA2 #A2FFF2
square
#C4A2FF #FFA2AF #DDFFA2 #A2FFF2
split-complementary
#C4A2FF #FFF2A2 #AFFFA2
monochromatic
#7628FF #9D65FF #C4A2FF #EBDFFF #ECE0FF
Accessibility & contrast
On white
2.11
#C4A2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#C4A2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A2FF
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A2FF | 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)
#8BB2FF
Deuteranopia (green-blind)
#92B2FD
Tritanopia (blue-blind)
#B9B1C5
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c4a2ff; /* rgb */ color: rgb(196, 162, 255); /* oklch */ color: oklch(77.7% 0.134 300.1);
Tailwind
colors: {
custom: {
50: '#d7beff',
500: '#c4a2ff',
950: '#000000',
},
}SCSS
$custom: #c4a2ff; $custom-light: #d7beff; $custom-dark: #000000;
JSON
{
"hex": "#c4a2ff",
"rgb": {
"r": 196,
"g": 162,
"b": 255
},
"hsl": {
"h": 261.935,
"s": 100,
"l": 81.765
},
"oklch": {
"l": 0.77737,
"c": 0.13372,
"h": 300.1
},
"luminance": 0.44796
}Semantic roles & 50–950 ramp
primary
#C4A2FF
secondary
#EAF7D4
accent
#E60092
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141218
muted
#838186