#8A59BF#8A59BF
#8A59BF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.3% C 0.157 H 304.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8A59BF |
|---|---|
| RGB | rgb(138, 89, 191) |
| HSL | hsl(269, 44%, 55%) |
| HSV | hsv(269, 53%, 75%) |
| CMYK | cmyk(27.7%, 53.4%, 0%, 25.1%) |
| CIE-LAB | lab(47.38, 40.44, -46.24) |
| CIE-LCH | lch(47.38, 61.43, 311.17°) |
| OKLab | oklab(56.33% 0.0878 -0.1302) |
| OKLCH | oklch(56.33% 0.157 304) |
| XYZ | xyz(23.4555, 16.3097, 51.1925) |
| Luminance | 0.1631 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.44
Amethyst
#9B5FC0
ΔE00 4.21
Royal Purple
#7851A9
ΔE00 5.17
Purpley
#8756E4
ΔE00 5.99
Light Indigo
#6D5ACF
ΔE00 6.97
Purply
#983FB2
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A59BF #8EBF59
analogous
#595BBF #8A59BF #BD59BF
triadic
#8A59BF #BF8A59 #59BF8A
tetradic
#8A59BF #BF595B #8EBF59 #59BFBD
square
#8A59BF #BF595B #8EBF59 #59BFBD
split-complementary
#8A59BF #BFBD59 #5BBF59
monochromatic
#4D2C72 #6B3D9E #8A59BF #A985D0 #C8B1E1
Accessibility & contrast
On white
4.93
#8A59BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#8A59BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A59BF
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A59BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A59BF | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366FC2
Deuteranopia (green-blind)
#4670BD
Tritanopia (blue-blind)
#816C83
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8a59bf; /* rgb */ color: rgb(138, 89, 191); /* oklch */ color: oklch(56.3% 0.157 304.0);
Tailwind
colors: {
custom: {
50: '#af89d3',
500: '#8a59bf',
950: '#000000',
},
}SCSS
$custom: #8a59bf; $custom-light: #af89d3; $custom-dark: #000000;
JSON
{
"hex": "#8a59bf",
"rgb": {
"r": 138,
"g": 89,
"b": 191
},
"hsl": {
"h": 268.824,
"s": 44.348,
"l": 54.902
},
"oklch": {
"l": 0.56327,
"c": 0.157,
"h": 304
},
"luminance": 0.1631
}Semantic roles & 50–950 ramp
primary
#8A59BF
secondary
#BBCFA4
accent
#D45496
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83