#9873C8#9873C8
#9873C8 is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.6% C 0.129 H 302.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9873C8 |
|---|---|
| RGB | rgb(152, 115, 200) |
| HSL | hsl(266, 44%, 62%) |
| HSV | hsv(266, 43%, 78%) |
| CMYK | cmyk(24%, 42.5%, 0%, 21.6%) |
| CIE-LAB | lab(55.18, 31.72, -38.97) |
| CIE-LCH | lch(55.18, 50.24, 309.15°) |
| OKLab | oklab(62.65% 0.0704 -0.1087) |
| OKLCH | oklch(62.65% 0.129 302.9) |
| XYZ | xyz(29.5027, 23.1070, 57.5382) |
| Luminance | 0.2311 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.42
Mediumpurple
#9370DB
ΔE00 4.12
Wisteria
#A87DC2
ΔE00 5.45
Amethyst
#9B5FC0
ΔE00 6.08
Soft Purple
#A66FB5
ΔE00 6.10
Deep Lavender
#8D5EB7
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9873C8 #A3C873
analogous
#7379C8 #9873C8 #C373C8
triadic
#9873C8 #C89873 #73C898
tetradic
#9873C8 #C87379 #A3C873 #73C8C3
square
#9873C8 #C87379 #A3C873 #73C8C3
split-complementary
#9873C8 #C8C373 #79C873
monochromatic
#5B368A #7848B6 #9873C8 #B89FD9 #D9CBEB
Accessibility & contrast
On white
3.74
#9873C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#9873C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9873C8
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9873C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9873C8 | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D83CB
Deuteranopia (green-blind)
#6584C6
Tritanopia (blue-blind)
#908194
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9873c8; /* rgb */ color: rgb(152, 115, 200); /* oklch */ color: oklch(62.6% 0.129 302.9);
Tailwind
colors: {
custom: {
50: '#b89cd9',
500: '#9873c8',
950: '#000000',
},
}SCSS
$custom: #9873c8; $custom-light: #b89cd9; $custom-dark: #000000;
JSON
{
"hex": "#9873c8",
"rgb": {
"r": 152,
"g": 115,
"b": 200
},
"hsl": {
"h": 266.118,
"s": 43.59,
"l": 61.765
},
"oklch": {
"l": 0.62645,
"c": 0.12948,
"h": 302.9
},
"luminance": 0.23107
}Semantic roles & 50–950 ramp
primary
#9873C8
secondary
#CDDBBC
accent
#B72F7C
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83