#C8A2F2#C8A2F2
#C8A2F2 is a light, moderate violet. Relative luminance 0.445; OKLCH L 77.5% C 0.118 H 305.6°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A2F2 |
|---|---|
| RGB | rgb(200, 162, 242) |
| HSL | hsl(269, 75%, 79%) |
| HSV | hsv(269, 33%, 95%) |
| CMYK | cmyk(17.4%, 33.1%, 0%, 5.1%) |
| CIE-LAB | lab(72.58, 29.11, -34.83) |
| CIE-LCH | lch(72.58, 45.40, 309.89°) |
| OKLab | oklab(77.51% 0.0687 -0.096) |
| OKLCH | oklch(77.51% 0.118 305.6) |
| XYZ | xyz(52.7636, 44.5311, 89.8029) |
| Luminance | 0.4453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 0.82
Lilac (survey)
#CEA2FD
ΔE00 2.02
Baby Purple
#CA9BF7
ΔE00 2.43
Pastel Purple
#CAA0FF
ΔE00 2.61
Pale Violet
#CEAEFA
ΔE00 3.00
Light Violet
#D6B4FC
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A2F2 #CCF2A2
analogous
#A2A4F2 #C8A2F2 #F0A2F2
triadic
#C8A2F2 #F2C8A2 #A2F2C8
tetradic
#C8A2F2 #F2A2A4 #CCF2A2 #A2F2F0
square
#C8A2F2 #F2A2A4 #CCF2A2 #A2F2F0
split-complementary
#C8A2F2 #F2F0A2 #A4F2A2
monochromatic
#8837E3 #A86CEA #C8A2F2 #E8D8FA #EFE4FB
Accessibility & contrast
On white
2.12
#C8A2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#C8A2F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A2F2
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A2F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A2F2 | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92B1F5
Deuteranopia (green-blind)
#99B2F0
Tritanopia (blue-blind)
#C2AEBF
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c8a2f2; /* rgb */ color: rgb(200, 162, 242); /* oklch */ color: oklch(77.5% 0.118 305.6);
Tailwind
colors: {
custom: {
50: '#d9bef6',
500: '#c8a2f2',
950: '#000000',
},
}SCSS
$custom: #c8a2f2; $custom-light: #d9bef6; $custom-dark: #000000;
JSON
{
"hex": "#c8a2f2",
"rgb": {
"r": 200,
"g": 162,
"b": 242
},
"hsl": {
"h": 268.5,
"s": 75.472,
"l": 79.216
},
"oklch": {
"l": 0.77513,
"c": 0.1181,
"h": 305.6
},
"luminance": 0.44531
}Semantic roles & 50–950 ramp
primary
#C8A2F2
secondary
#E6F3D8
accent
#D80E78
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185