#C8A2FF#C8A2FF
#C8A2FF is a light, vivid violet. Relative luminance 0.453; OKLCH L 78.1% C 0.135 H 302.2°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A2FF |
|---|---|
| RGB | rgb(200, 162, 255) |
| HSL | hsl(265, 100%, 82%) |
| HSV | hsv(265, 36%, 100%) |
| CMYK | cmyk(21.6%, 36.5%, 0%, 0%) |
| CIE-LAB | lab(73.12, 32.00, -41.05) |
| CIE-LCH | lch(73.12, 52.05, 307.93°) |
| OKLab | oklab(78.09% 0.0717 -0.1139) |
| OKLCH | oklch(78.09% 0.135 302.2) |
| XYZ | xyz(54.7859, 45.3400, 100.4536) |
| Luminance | 0.4534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 0.77
Lilac (survey)
#CEA2FD
ΔE00 1.51
Baby Purple
#CA9BF7
ΔE00 2.38
Lavender (survey)
#C79FEF
ΔE00 2.94
Pale Violet
#CEAEFA
ΔE00 3.85
Liliac
#C48EFD
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A2FF #D9FFA2
analogous
#A2ABFF #C8A2FF #F6A2FF
triadic
#C8A2FF #FFC8A2 #A2FFC8
tetradic
#C8A2FF #FFA2AB #D9FFA2 #A2FFF6
square
#C8A2FF #FFA2AB #D9FFA2 #A2FFF6
split-complementary
#C8A2FF #FFF6A2 #ABFFA2
monochromatic
#8028FF #A465FF #C8A2FF #ECDFFF #EDE0FF
Accessibility & contrast
On white
2.09
#C8A2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.07
#C8A2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A2FF
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A2FF | 1.00 | 2.09 | 10.07 | 10.07 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CB3FF
Deuteranopia (green-blind)
#94B3FC
Tritanopia (blue-blind)
#BFB1C5
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c8a2ff; /* rgb */ color: rgb(200, 162, 255); /* oklch */ color: oklch(78.1% 0.135 302.2);
Tailwind
colors: {
custom: {
50: '#dabeff',
500: '#c8a2ff',
950: '#000000',
},
}SCSS
$custom: #c8a2ff; $custom-light: #dabeff; $custom-dark: #000000;
JSON
{
"hex": "#c8a2ff",
"rgb": {
"r": 200,
"g": 162,
"b": 255
},
"hsl": {
"h": 264.516,
"s": 100,
"l": 81.765
},
"oklch": {
"l": 0.78094,
"c": 0.13456,
"h": 302.2
},
"luminance": 0.4534
}Semantic roles & 50–950 ramp
primary
#C8A2FF
secondary
#E9F7D4
accent
#E60088
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186