#8A58BF#8A58BF
#8A58BF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.2% C 0.159 H 304.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8A58BF |
|---|---|
| RGB | rgb(138, 88, 191) |
| HSL | hsl(269, 45%, 55%) |
| HSV | hsv(269, 54%, 75%) |
| CMYK | cmyk(27.7%, 53.9%, 0%, 25.1%) |
| CIE-LAB | lab(47.16, 41.00, -46.59) |
| CIE-LCH | lch(47.16, 62.06, 311.35°) |
| OKLab | oklab(56.17% 0.0891 -0.1312) |
| OKLCH | oklch(56.17% 0.159 304.2) |
| XYZ | xyz(23.3729, 16.1444, 51.1650) |
| Luminance | 0.1614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.63
Amethyst
#9B5FC0
ΔE00 4.35
Royal Purple
#7851A9
ΔE00 5.06
Purpley
#8756E4
ΔE00 5.97
Purply
#983FB2
ΔE00 6.86
Light Indigo
#6D5ACF
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A58BF #8DBF58
analogous
#585ABF #8A58BF #BE58BF
triadic
#8A58BF #BF8A58 #58BF8A
tetradic
#8A58BF #BF585A #8DBF58 #58BFBE
square
#8A58BF #BF585A #8DBF58 #58BFBE
split-complementary
#8A58BF #BFBE58 #5ABF58
monochromatic
#4D2B71 #6B3C9D #8A58BF #A984D0 #C8B0E1
Accessibility & contrast
On white
4.97
#8A58BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#8A58BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A58BF
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A58BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A58BF | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346FC2
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#816B83
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8a58bf; /* rgb */ color: rgb(138, 88, 191); /* oklch */ color: oklch(56.2% 0.159 304.2);
Tailwind
colors: {
custom: {
50: '#af89d3',
500: '#8a58bf',
950: '#000000',
},
}SCSS
$custom: #8a58bf; $custom-light: #af89d3; $custom-dark: #000000;
JSON
{
"hex": "#8a58bf",
"rgb": {
"r": 138,
"g": 88,
"b": 191
},
"hsl": {
"h": 269.126,
"s": 44.589,
"l": 54.706
},
"oklch": {
"l": 0.56169,
"c": 0.15858,
"h": 304.2
},
"luminance": 0.16144
}Semantic roles & 50–950 ramp
primary
#8A58BF
secondary
#BACFA4
accent
#D45496
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83