#C8A2FD#C8A2FD
#C8A2FD is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.0% C 0.132 H 302.7°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A2FD |
|---|---|
| RGB | rgb(200, 162, 253) |
| HSL | hsl(265, 96%, 81%) |
| HSV | hsv(265, 36%, 99%) |
| CMYK | cmyk(20.9%, 36%, 0%, 0.8%) |
| CIE-LAB | lab(73.03, 31.55, -40.10) |
| CIE-LCH | lch(73.03, 51.02, 308.19°) |
| OKLab | oklab(78% 0.0712 -0.1111) |
| OKLCH | oklch(78% 0.132 302.7) |
| XYZ | xyz(54.4656, 45.2119, 98.7668) |
| Luminance | 0.4521 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 0.83
Lilac (survey)
#CEA2FD
ΔE00 1.32
Baby Purple
#CA9BF7
ΔE00 2.21
Lavender (survey)
#C79FEF
ΔE00 2.58
Pale Violet
#CEAEFA
ΔE00 3.63
Liliac
#C48EFD
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A2FD #D7FDA2
analogous
#A2AAFD #C8A2FD #F6A2FD
triadic
#C8A2FD #FDC8A2 #A2FDC8
tetradic
#C8A2FD #FDA2AA #D7FDA2 #A2FDF6
square
#C8A2FD #FDA2AA #D7FDA2 #A2FDF6
split-complementary
#C8A2FD #FDF6A2 #AAFDA2
monochromatic
#812AFA #A566FC #C8A2FD #EBDEFE #EDE1FE
Accessibility & contrast
On white
2.09
#C8A2FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.04
#C8A2FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A2FD
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A2FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A2FD | 1.00 | 2.09 | 10.04 | 10.04 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DB2FF
Deuteranopia (green-blind)
#95B3FB
Tritanopia (blue-blind)
#BFB0C4
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c8a2fd; /* rgb */ color: rgb(200, 162, 253); /* oklch */ color: oklch(78.0% 0.132 302.7);
Tailwind
colors: {
custom: {
50: '#dabefe',
500: '#c8a2fd',
950: '#000000',
},
}SCSS
$custom: #c8a2fd; $custom-light: #dabefe; $custom-dark: #000000;
JSON
{
"hex": "#c8a2fd",
"rgb": {
"r": 200,
"g": 162,
"b": 253
},
"hsl": {
"h": 265.055,
"s": 95.789,
"l": 81.373
},
"oklch": {
"l": 0.78002,
"c": 0.13203,
"h": 302.7
},
"luminance": 0.45212
}Semantic roles & 50–950 ramp
primary
#C8A2FD
secondary
#E8F7D4
accent
#E60086
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186