#8D58AF#8D58AF
#8D58AF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.6% C 0.140 H 310.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8D58AF |
|---|---|
| RGB | rgb(141, 88, 175) |
| HSL | hsl(277, 35%, 52%) |
| HSV | hsv(277, 50%, 69%) |
| CMYK | cmyk(19.4%, 49.7%, 0%, 31.4%) |
| CIE-LAB | lab(46.63, 38.02, -38.09) |
| CIE-LCH | lch(46.63, 53.82, 314.95°) |
| OKLab | oklab(55.57% 0.0915 -0.1063) |
| OKLCH | oklch(55.57% 0.14 310.7) |
| XYZ | xyz(22.2107, 15.7377, 42.4168) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.26
Amethyst
#9B5FC0
ΔE00 4.25
Royal Purple
#7851A9
ΔE00 4.95
Purply
#983FB2
ΔE00 6.08
Medium Purple
#9E43A2
ΔE00 6.67
Deep Lilac
#966EBD
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D58AF #7AAF58
analogous
#6258AF #8D58AF #AF58A6
triadic
#8D58AF #AF8D58 #58AF8D
tetradic
#8D58AF #AF6258 #7AAF58 #58A6AF
square
#8D58AF #AF6258 #7AAF58 #58A6AF
split-complementary
#8D58AF #A6AF58 #58AF62
monochromatic
#4C2E5F #6D4188 #8D58AF #A981C3 #C5ABD7
Accessibility & contrast
On white
5.06
#8D58AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#8D58AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D58AF
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D58AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D58AF | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#436CB2
Deuteranopia (green-blind)
#5270AD
Tritanopia (blue-blind)
#89667B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8d58af; /* rgb */ color: rgb(141, 88, 175); /* oklch */ color: oklch(55.6% 0.140 310.7);
Tailwind
colors: {
custom: {
50: '#b089c7',
500: '#8d58af',
950: '#000000',
},
}SCSS
$custom: #8d58af; $custom-light: #b089c7; $custom-dark: #000000;
JSON
{
"hex": "#8d58af",
"rgb": {
"r": 141,
"g": 88,
"b": 175
},
"hsl": {
"h": 276.552,
"s": 35.223,
"l": 51.569
},
"oklch": {
"l": 0.55565,
"c": 0.14026,
"h": 310.7
},
"luminance": 0.15737
}Semantic roles & 50–950 ramp
primary
#8D58AF
secondary
#ADC59E
accent
#CB5D88
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82