#9875C8#9875C8
#9875C8 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.0% C 0.126 H 302.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9875C8 |
|---|---|
| RGB | rgb(152, 117, 200) |
| HSL | hsl(265, 43%, 62%) |
| HSV | hsv(265, 42%, 78%) |
| CMYK | cmyk(24%, 41.5%, 0%, 21.6%) |
| CIE-LAB | lab(55.65, 30.57, -38.23) |
| CIE-LCH | lch(55.65, 48.95, 308.65°) |
| OKLab | oklab(63% 0.0675 -0.1066) |
| OKLCH | oklch(63% 0.126 302.4) |
| XYZ | xyz(29.7332, 23.5681, 57.6151) |
| Luminance | 0.2357 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.79
Mediumpurple
#9370DB
ΔE00 4.36
Wisteria
#A87DC2
ΔE00 5.13
Soft Purple
#A66FB5
ΔE00 6.22
Amethyst
#9B5FC0
ΔE00 6.69
Deep Lavender
#8D5EB7
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9875C8 #A5C875
analogous
#757CC8 #9875C8 #C175C8
triadic
#9875C8 #C89875 #75C898
tetradic
#9875C8 #C8757C #A5C875 #75C8C1
square
#9875C8 #C8757C #A5C875 #75C8C1
split-complementary
#9875C8 #C8C175 #7CC875
monochromatic
#5B378B #7749B7 #9875C8 #B9A1D9 #D9CDEB
Accessibility & contrast
On white
3.68
#9875C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#9875C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9875C8
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9875C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9875C8 | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6085CB
Deuteranopia (green-blind)
#6785C6
Tritanopia (blue-blind)
#908395
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9875c8; /* rgb */ color: rgb(152, 117, 200); /* oklch */ color: oklch(63.0% 0.126 302.4);
Tailwind
colors: {
custom: {
50: '#b89dd9',
500: '#9875c8',
950: '#000000',
},
}SCSS
$custom: #9875c8; $custom-light: #b89dd9; $custom-dark: #000000;
JSON
{
"hex": "#9875c8",
"rgb": {
"r": 152,
"g": 117,
"b": 200
},
"hsl": {
"h": 265.301,
"s": 43.005,
"l": 62.157
},
"oklch": {
"l": 0.62999,
"c": 0.12616,
"h": 302.4
},
"luminance": 0.23568
}Semantic roles & 50–950 ramp
primary
#9875C8
secondary
#CFDCBD
accent
#B62F7D
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83