#C2A2FF#C2A2FF
#C2A2FF is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.6% C 0.133 H 299.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A2FF |
|---|---|
| RGB | rgb(194, 162, 255) |
| HSL | hsl(261, 100%, 82%) |
| HSV | hsv(261, 36%, 100%) |
| CMYK | cmyk(23.9%, 36.5%, 0%, 0%) |
| CIE-LAB | lab(72.58, 30.28, -41.93) |
| CIE-LCH | lch(72.58, 51.72, 305.84°) |
| OKLab | oklab(77.56% 0.0649 -0.1165) |
| OKLCH | oklch(77.56% 0.133 299.1) |
| XYZ | xyz(53.2144, 44.5297, 100.3799) |
| Luminance | 0.4453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 1.96
Lilac (survey)
#CEA2FD
ΔE00 2.82
Baby Purple
#CA9BF7
ΔE00 3.38
Lavender (survey)
#C79FEF
ΔE00 3.72
Pale Violet
#CEAEFA
ΔE00 4.37
Liliac
#C48EFD
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A2FF #DFFFA2
analogous
#A2B1FF #C2A2FF #F0A2FF
triadic
#C2A2FF #FFC2A2 #A2FFC2
tetradic
#C2A2FF #FFA2B1 #DFFFA2 #A2FFF0
square
#C2A2FF #FFA2B1 #DFFFA2 #A2FFF0
split-complementary
#C2A2FF #FFF0A2 #B1FFA2
monochromatic
#7228FF #9A65FF #C2A2FF #EADFFF #EBE0FF
Accessibility & contrast
On white
2.12
#C2A2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#C2A2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A2FF
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A2FF | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8BB2FF
Deuteranopia (green-blind)
#91B1FD
Tritanopia (blue-blind)
#B7B1C5
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c2a2ff; /* rgb */ color: rgb(194, 162, 255); /* oklch */ color: oklch(77.6% 0.133 299.1);
Tailwind
colors: {
custom: {
50: '#d6bdff',
500: '#c2a2ff',
950: '#000000',
},
}SCSS
$custom: #c2a2ff; $custom-light: #d6bdff; $custom-dark: #000000;
JSON
{
"hex": "#c2a2ff",
"rgb": {
"r": 194,
"g": 162,
"b": 255
},
"hsl": {
"h": 260.645,
"s": 100,
"l": 81.765
},
"oklch": {
"l": 0.77561,
"c": 0.13335,
"h": 299.1
},
"luminance": 0.4453
}Semantic roles & 50–950 ramp
primary
#C2A2FF
secondary
#EBF7D4
accent
#E60097
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141218
muted
#838186