#C8ABF5#C8ABF5
#C8ABF5 is a light, moderate violet. Relative luminance 0.480; OKLCH L 79.3% C 0.107 H 302.0°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C8ABF5 |
|---|---|
| RGB | rgb(200, 171, 245) |
| HSL | hsl(264, 79%, 82%) |
| HSV | hsv(264, 30%, 96%) |
| CMYK | cmyk(18.4%, 30.2%, 0%, 3.9%) |
| CIE-LAB | lab(74.82, 24.82, -32.99) |
| CIE-LCH | lch(74.82, 41.29, 306.96°) |
| OKLab | oklab(79.27% 0.0568 -0.0908) |
| OKLCH | oklch(79.27% 0.107 302) |
| XYZ | xyz(54.8603, 47.9977, 92.7428) |
| Luminance | 0.4800 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 1.19
Light Violet
#D6B4FC
ΔE00 2.96
Lavender (survey)
#C79FEF
ΔE00 3.28
Lilac (survey)
#CEA2FD
ΔE00 3.62
Pastel Purple
#CAA0FF
ΔE00 4.12
Mauve
#E0B0FF
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8ABF5 #D8F5AB
analogous
#ABB3F5 #C8ABF5 #EDABF5
triadic
#C8ABF5 #F5C8AB #ABF5C8
tetradic
#C8ABF5 #F5ABB3 #D8F5AB #ABF5ED
square
#C8ABF5 #F5ABB3 #D8F5AB #ABF5ED
split-complementary
#C8ABF5 #F5EDAB #B3F5AB
monochromatic
#803EE8 #A474EE #C8ABF5 #ECE2FC #EDE4FC
Accessibility & contrast
On white
1.98
#C8ABF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.60
#C8ABF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8ABF5
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8ABF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8ABF5 | 1.00 | 1.98 | 10.60 | 10.60 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9BB8F8
Deuteranopia (green-blind)
#A1B8F3
Tritanopia (blue-blind)
#C1B6C6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #c8abf5; /* rgb */ color: rgb(200, 171, 245); /* oklch */ color: oklch(79.3% 0.107 302.0);
Tailwind
colors: {
custom: {
50: '#d9c4f8',
500: '#c8abf5',
950: '#000000',
},
}SCSS
$custom: #c8abf5; $custom-light: #d9c4f8; $custom-dark: #000000;
JSON
{
"hex": "#c8abf5",
"rgb": {
"r": 200,
"g": 171,
"b": 245
},
"hsl": {
"h": 263.514,
"s": 78.723,
"l": 81.569
},
"oklch": {
"l": 0.79265,
"c": 0.10711,
"h": 302
},
"luminance": 0.47998
}Semantic roles & 50–950 ramp
primary
#C8ABF5
secondary
#E9F4D7
accent
#DB0A89
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#151217
muted
#838185