#C8A2FE#C8A2FE
#C8A2FE is a light, vivid violet. Relative luminance 0.453; OKLCH L 78.0% C 0.133 H 302.4°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A2FE |
|---|---|
| RGB | rgb(200, 162, 254) |
| HSL | hsl(265, 98%, 82%) |
| HSV | hsv(265, 36%, 100%) |
| CMYK | cmyk(21.3%, 36.2%, 0%, 0.4%) |
| CIE-LAB | lab(73.07, 31.77, -40.58) |
| CIE-LCH | lch(73.07, 51.54, 308.06°) |
| OKLab | oklab(78.05% 0.0715 -0.1125) |
| OKLCH | oklch(78.05% 0.133 302.4) |
| XYZ | xyz(54.6253, 45.2758, 99.6080) |
| Luminance | 0.4528 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 0.78
Lilac (survey)
#CEA2FD
ΔE00 1.40
Baby Purple
#CA9BF7
ΔE00 2.29
Lavender (survey)
#C79FEF
ΔE00 2.76
Pale Violet
#CEAEFA
ΔE00 3.74
Liliac
#C48EFD
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A2FE #D8FEA2
analogous
#A2AAFE #C8A2FE #F6A2FE
triadic
#C8A2FE #FEC8A2 #A2FEC8
tetradic
#C8A2FE #FEA2AA #D8FEA2 #A2FEF6
square
#C8A2FE #FEA2AA #D8FEA2 #A2FEF6
split-complementary
#C8A2FE #FEF6A2 #AAFEA2
monochromatic
#8029FD #A465FD #C8A2FE #ECDFFF #EDE1FF
Accessibility & contrast
On white
2.09
#C8A2FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.06
#C8A2FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A2FE
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A2FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A2FE | 1.00 | 2.09 | 10.06 | 10.06 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#94B3FB
Tritanopia (blue-blind)
#BFB1C4
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c8a2fe; /* rgb */ color: rgb(200, 162, 254); /* oklch */ color: oklch(78.0% 0.133 302.4);
Tailwind
colors: {
custom: {
50: '#dabeff',
500: '#c8a2fe',
950: '#000000',
},
}SCSS
$custom: #c8a2fe; $custom-light: #dabeff; $custom-dark: #000000;
JSON
{
"hex": "#c8a2fe",
"rgb": {
"r": 200,
"g": 162,
"b": 254
},
"hsl": {
"h": 264.783,
"s": 97.872,
"l": 81.569
},
"oklch": {
"l": 0.78048,
"c": 0.1333,
"h": 302.4
},
"luminance": 0.45276
}Semantic roles & 50–950 ramp
primary
#C8A2FE
secondary
#E9F7D4
accent
#E60087
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186