#9873AF#9873AF
#9873AF is a mid, moderate violet. Relative luminance 0.220; OKLCH L 61.4% C 0.097 H 311.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9873AF |
|---|---|
| RGB | rgb(152, 115, 175) |
| HSL | hsl(277, 27%, 57%) |
| HSV | hsv(277, 34%, 69%) |
| CMYK | cmyk(13.1%, 34.3%, 0%, 31.4%) |
| CIE-LAB | lab(54.06, 25.95, -26.38) |
| CIE-LCH | lch(54.06, 37.00, 314.53°) |
| OKLab | oklab(61.43% 0.065 -0.0725) |
| OKLCH | oklch(61.43% 0.097 311.9) |
| XYZ | xyz(26.8162, 22.0324, 43.3891) |
| Luminance | 0.2203 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Lilac
#9C6DA5
ΔE00 3.26
Soft Purple
#A66FB5
ΔE00 3.59
Deep Lilac
#966EBD
ΔE00 4.15
Wisteria
#A87DC2
ΔE00 4.78
Faded Purple
#916E99
ΔE00 5.12
Dark Lavender
#856798
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9873AF #8AAF73
analogous
#7A73AF #9873AF #AF73A8
triadic
#9873AF #AF9873 #73AF98
tetradic
#9873AF #AF7A73 #8AAF73 #73A8AF
square
#9873AF #AF7A73 #8AAF73 #73A8AF
split-complementary
#9873AF #A8AF73 #73AF7A
monochromatic
#593D6B #7A5392 #9873AF #B59AC5 #D1C1DC
Accessibility & contrast
On white
3.88
#9873AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#9873AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9873AF
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9873AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9873AF | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#697FB1
Deuteranopia (green-blind)
#7182AD
Tritanopia (blue-blind)
#967B89
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9873af; /* rgb */ color: rgb(152, 115, 175); /* oklch */ color: oklch(61.4% 0.097 311.9);
Tailwind
colors: {
custom: {
50: '#b79bc7',
500: '#9873af',
950: '#000000',
},
}SCSS
$custom: #9873af; $custom-light: #b79bc7; $custom-dark: #000000;
JSON
{
"hex": "#9873af",
"rgb": {
"r": 152,
"g": 115,
"b": 175
},
"hsl": {
"h": 277,
"s": 27.273,
"l": 56.863
},
"oklch": {
"l": 0.61428,
"c": 0.09737,
"h": 311.9
},
"luminance": 0.22032
}Semantic roles & 50–950 ramp
primary
#9873AF
secondary
#BCCBB3
accent
#C46489
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82