#9C58AF#9C58AF
#9C58AF is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.3% C 0.147 H 318.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9C58AF |
|---|---|
| RGB | rgb(156, 88, 175) |
| HSL | hsl(287, 35%, 52%) |
| HSV | hsv(287, 50%, 69%) |
| CMYK | cmyk(10.9%, 49.7%, 0%, 31.4%) |
| CIE-LAB | lab(48.44, 42.33, -35.11) |
| CIE-LCH | lch(48.44, 55.00, 320.33°) |
| OKLab | oklab(57.31% 0.1102 -0.0973) |
| OKLCH | oklch(57.31% 0.147 318.6) |
| XYZ | xyz(24.9369, 17.1434, 42.5446) |
| Luminance | 0.1714 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.77
Deep Lavender
#8D5EB7
ΔE00 4.37
Medium Purple
#9E43A2
ΔE00 5.42
Ugly Purple
#A442A0
ΔE00 5.86
Purply
#983FB2
ΔE00 6.29
Deep Lilac
#966EBD
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C58AF #6BAF58
analogous
#7158AF #9C58AF #AF5897
triadic
#9C58AF #AF9C58 #58AF9C
tetradic
#9C58AF #AF7158 #6BAF58 #5897AF
square
#9C58AF #AF7158 #6BAF58 #5897AF
split-complementary
#9C58AF #97AF58 #58AF71
monochromatic
#542E5F #794188 #9C58AF #B581C3 #CDABD7
Accessibility & contrast
On white
4.74
#9C58AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#9C58AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C58AF
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C58AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C58AF | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486EB2
Deuteranopia (green-blind)
#5D75AD
Tritanopia (blue-blind)
#9C647B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9c58af; /* rgb */ color: rgb(156, 88, 175); /* oklch */ color: oklch(57.3% 0.147 318.6);
Tailwind
colors: {
custom: {
50: '#bb89c7',
500: '#9c58af',
950: '#000000',
},
}SCSS
$custom: #9c58af; $custom-light: #bb89c7; $custom-dark: #000000;
JSON
{
"hex": "#9c58af",
"rgb": {
"r": 156,
"g": 88,
"b": 175
},
"hsl": {
"h": 286.897,
"s": 35.223,
"l": 51.569
},
"oklch": {
"l": 0.57307,
"c": 0.14701,
"h": 318.6
},
"luminance": 0.17143
}Semantic roles & 50–950 ramp
primary
#9C58AF
secondary
#A7C59E
accent
#CB5D75
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82