#C8A1FD#C8A1FD
#C8A1FD is a light, vivid violet. Relative luminance 0.449; OKLCH L 77.8% C 0.134 H 302.9°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A1FD |
|---|---|
| RGB | rgb(200, 161, 253) |
| HSL | hsl(265, 96%, 81%) |
| HSV | hsv(265, 36%, 99%) |
| CMYK | cmyk(20.9%, 36.4%, 0%, 0.8%) |
| CIE-LAB | lab(72.80, 32.10, -40.46) |
| CIE-LCH | lch(72.80, 51.65, 308.42°) |
| OKLab | oklab(77.83% 0.0726 -0.1122) |
| OKLCH | oklch(77.83% 0.134 302.9) |
| XYZ | xyz(54.2902, 44.8610, 98.7084) |
| Luminance | 0.4486 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 0.60
Lilac (survey)
#CEA2FD
ΔE00 1.28
Baby Purple
#CA9BF7
ΔE00 2.00
Lavender (survey)
#C79FEF
ΔE00 2.58
Pale Violet
#CEAEFA
ΔE00 3.87
Liliac
#C48EFD
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A1FD #D6FDA1
analogous
#A1A8FD #C8A1FD #F6A1FD
triadic
#C8A1FD #FDC8A1 #A1FDC8
tetradic
#C8A1FD #FDA1A8 #D6FDA1 #A1FDF6
square
#C8A1FD #FDA1A8 #D6FDA1 #A1FDF6
split-complementary
#C8A1FD #FDF6A1 #A8FDA1
monochromatic
#8229FA #A565FC #C8A1FD #EBDDFE #EDE1FE
Accessibility & contrast
On white
2.11
#C8A1FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#C8A1FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A1FD
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A1FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A1FD | 1.00 | 2.11 | 9.97 | 9.97 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#94B3FA
Tritanopia (blue-blind)
#BFB0C3
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c8a1fd; /* rgb */ color: rgb(200, 161, 253); /* oklch */ color: oklch(77.8% 0.134 302.9);
Tailwind
colors: {
custom: {
50: '#dabdfe',
500: '#c8a1fd',
950: '#000000',
},
}SCSS
$custom: #c8a1fd; $custom-light: #dabdfe; $custom-dark: #000000;
JSON
{
"hex": "#c8a1fd",
"rgb": {
"r": 200,
"g": 161,
"b": 253
},
"hsl": {
"h": 265.435,
"s": 95.833,
"l": 81.176
},
"oklch": {
"l": 0.77827,
"c": 0.13364,
"h": 302.9
},
"luminance": 0.44861
}Semantic roles & 50–950 ramp
primary
#C8A1FD
secondary
#E8F7D4
accent
#E60084
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186