#C2AAFF#C2AAFF
#C2AAFF is a light, vivid violet. Relative luminance 0.474; OKLCH L 79.0% C 0.121 H 296.5°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AAFF |
|---|---|
| RGB | rgb(194, 170, 255) |
| HSL | hsl(257, 100%, 83%) |
| HSV | hsv(257, 33%, 100%) |
| CMYK | cmyk(23.9%, 33.3%, 0%, 0%) |
| CIE-LAB | lab(74.47, 25.86, -38.98) |
| CIE-LCH | lch(74.47, 46.78, 303.56°) |
| OKLab | oklab(79% 0.0539 -0.1081) |
| OKLCH | oklch(79% 0.121 296.5) |
| XYZ | xyz(54.6687, 47.4383, 100.8647) |
| Luminance | 0.4744 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 3.38
Pastel Purple
#CAA0FF
ΔE00 3.71
Lilac (survey)
#CEA2FD
ΔE00 4.03
Lavender (survey)
#C79FEF
ΔE00 4.63
Baby Purple
#CA9BF7
ΔE00 5.13
Light Violet
#D6B4FC
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AAFF #E7FFAA
analogous
#AABCFF #C2AAFF #ECAAFF
triadic
#C2AAFF #FFC2AA #AAFFC2
tetradic
#C2AAFF #FFAABC #E7FFAA #AAFFEC
square
#C2AAFF #FFAABC #E7FFAA #AAFFEC
split-complementary
#C2AAFF #FFECAA #BCFFAA
monochromatic
#6A30FF #966DFF #C2AAFF #E9E0FF #E9E0FF
Accessibility & contrast
On white
2.00
#C2AAFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.49
#C2AAFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AAFF
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AAFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AAFF | 1.00 | 2.00 | 10.49 | 10.49 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95B8FF
Deuteranopia (green-blind)
#98B6FD
Tritanopia (blue-blind)
#B6B8C9
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #c2aaff; /* rgb */ color: rgb(194, 170, 255); /* oklch */ color: oklch(79.0% 0.121 296.5);
Tailwind
colors: {
custom: {
50: '#d6c3ff',
500: '#c2aaff',
950: '#000000',
},
}SCSS
$custom: #c2aaff; $custom-light: #d6c3ff; $custom-dark: #000000;
JSON
{
"hex": "#c2aaff",
"rgb": {
"r": 194,
"g": 170,
"b": 255
},
"hsl": {
"h": 256.941,
"s": 100,
"l": 83.333
},
"oklch": {
"l": 0.79002,
"c": 0.12077,
"h": 296.5
},
"luminance": 0.47439
}Semantic roles & 50–950 ramp
primary
#C2AAFF
secondary
#EDF7D4
accent
#E600A5
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141218
muted
#838186