#C2ABE7#C2ABE7
#C2ABE7 is a light, moderate violet. Relative luminance 0.464; OKLCH L 78.2% C 0.087 H 302.0°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C2ABE7 |
|---|---|
| RGB | rgb(194, 171, 231) |
| HSL | hsl(263, 56%, 79%) |
| HSV | hsv(263, 26%, 91%) |
| CMYK | cmyk(16%, 26%, 0%, 9.4%) |
| CIE-LAB | lab(73.78, 19.93, -27.05) |
| CIE-LCH | lch(73.78, 33.59, 306.38°) |
| OKLab | oklab(78.17% 0.0462 -0.0741) |
| OKLCH | oklch(78.17% 0.087 302) |
| XYZ | xyz(51.2319, 46.3647, 81.8361) |
| Luminance | 0.4637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 3.68
Lavender
#B39DDB
ΔE00 4.01
Light Violet
#D6B4FC
ΔE00 4.33
Lavender (survey)
#C79FEF
ΔE00 4.80
Lilac (survey)
#CEA2FD
ΔE00 6.13
Mauve
#E0B0FF
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2ABE7 #D0E7AB
analogous
#ABB2E7 #C2ABE7 #E0ABE7
triadic
#C2ABE7 #E7C2AB #ABE7C2
tetradic
#C2ABE7 #E7ABB2 #D0E7AB #ABE7E0
square
#C2ABE7 #E7ABB2 #D0E7AB #ABE7E0
split-complementary
#C2ABE7 #E7E0AB #B2E7AB
monochromatic
#7D4CCC #9F7BD9 #C2ABE7 #E5DBF5 #EEE7F8
Accessibility & contrast
On white
2.04
#C2ABE7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.27
#C2ABE7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2ABE7
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2ABE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2ABE7 | 1.00 | 2.04 | 10.27 | 10.27 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9FB5EA
Deuteranopia (green-blind)
#A3B5E5
Tritanopia (blue-blind)
#BCB4C0
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #c2abe7; /* rgb */ color: rgb(194, 171, 231); /* oklch */ color: oklch(78.2% 0.087 302.0);
Tailwind
colors: {
custom: {
50: '#d5c4ee',
500: '#c2abe7',
950: '#000000',
},
}SCSS
$custom: #c2abe7; $custom-light: #d5c4ee; $custom-dark: #000000;
JSON
{
"hex": "#c2abe7",
"rgb": {
"r": 194,
"g": 171,
"b": 231
},
"hsl": {
"h": 263,
"s": 55.556,
"l": 78.824
},
"oklch": {
"l": 0.78168,
"c": 0.0873,
"h": 302
},
"luminance": 0.46365
}Semantic roles & 50–950 ramp
primary
#C2ABE7
secondary
#E8EFDC
accent
#C32285
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141216
muted
#838184