#C8A5F2#C8A5F2
#C8A5F2 is a light, moderate violet. Relative luminance 0.456; OKLCH L 78.0% C 0.113 H 304.7°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A5F2 |
|---|---|
| RGB | rgb(200, 165, 242) |
| HSL | hsl(267, 75%, 80%) |
| HSV | hsv(267, 32%, 95%) |
| CMYK | cmyk(17.4%, 31.8%, 0%, 5.1%) |
| CIE-LAB | lab(73.29, 27.46, -33.74) |
| CIE-LCH | lch(73.29, 43.51, 309.14°) |
| OKLab | oklab(78.05% 0.0645 -0.0929) |
| OKLCH | oklch(78.05% 0.113 304.7) |
| XYZ | xyz(53.2984, 45.6006, 89.9811) |
| Luminance | 0.4560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.59
Pale Violet
#CEAEFA
ΔE00 2.27
Lilac (survey)
#CEA2FD
ΔE00 2.53
Pastel Purple
#CAA0FF
ΔE00 3.14
Baby Purple
#CA9BF7
ΔE00 3.26
Light Violet
#D6B4FC
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A5F2 #CFF2A5
analogous
#A5A9F2 #C8A5F2 #EFA5F2
triadic
#C8A5F2 #F2C8A5 #A5F2C8
tetradic
#C8A5F2 #F2A5A9 #CFF2A5 #A5F2EF
square
#C8A5F2 #F2A5A9 #CFF2A5 #A5F2EF
split-complementary
#C8A5F2 #F2EFA5 #A9F2A5
monochromatic
#873AE3 #A770EA #C8A5F2 #E9DAFA #EFE4FB
Accessibility & contrast
On white
2.08
#C8A5F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#C8A5F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A5F2
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A5F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A5F2 | 1.00 | 2.08 | 10.12 | 10.12 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95B3F5
Deuteranopia (green-blind)
#9CB4F0
Tritanopia (blue-blind)
#C2B0C1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #c8a5f2; /* rgb */ color: rgb(200, 165, 242); /* oklch */ color: oklch(78.0% 0.113 304.7);
Tailwind
colors: {
custom: {
50: '#d9c0f6',
500: '#c8a5f2',
950: '#000000',
},
}SCSS
$custom: #c8a5f2; $custom-light: #d9c0f6; $custom-dark: #000000;
JSON
{
"hex": "#c8a5f2",
"rgb": {
"r": 200,
"g": 165,
"b": 242
},
"hsl": {
"h": 267.273,
"s": 74.757,
"l": 79.804
},
"oklch": {
"l": 0.7805,
"c": 0.11312,
"h": 304.7
},
"luminance": 0.456
}Semantic roles & 50–950 ramp
primary
#C8A5F2
secondary
#E7F3D8
accent
#D70F7C
background
#FDFBFF
surface
#FBF7FE
border
#D4D0D6
text
#151217
muted
#838185