#8A59F7#8A59F7
#8A59F7 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.1% C 0.224 H 292.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8A59F7 |
|---|---|
| RGB | rgb(138, 89, 247) |
| HSL | hsl(259, 91%, 66%) |
| HSV | hsv(259, 64%, 97%) |
| CMYK | cmyk(44.1%, 64%, 0%, 3.1%) |
| CIE-LAB | lab(50.99, 54.81, -72.24) |
| CIE-LCH | lch(50.99, 90.68, 307.19°) |
| OKLab | oklab(60.12% 0.0862 -0.2065) |
| OKLCH | oklch(60.12% 0.224 292.7) |
| XYZ | xyz(30.8375, 19.2625, 90.0709) |
| Luminance | 0.1926 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.90
Mediumslateblue
#7B68EE
ΔE00 4.70
Lighter Purple
#A55AF4
ΔE00 4.82
Lightish Purple
#A552E6
ΔE00 5.66
Light Indigo
#6D5ACF
ΔE00 7.40
Mediumpurple
#9370DB
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A59F7 #C6F759
analogous
#5977F7 #8A59F7 #D959F7
triadic
#8A59F7 #F78A59 #59F78A
tetradic
#8A59F7 #F75977 #C6F759 #59F7D9
square
#8A59F7 #F75977 #C6F759 #59F7D9
split-complementary
#8A59F7 #F7D959 #77F759
monochromatic
#460ACC #611FF4 #8A59F7 #B393FA #DCCEFD
Accessibility & contrast
On white
4.33
#8A59F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#8A59F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A59F7
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A59F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A59F7 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#0076F4
Tritanopia (blue-blind)
#6A7EA0
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8a59f7; /* rgb */ color: rgb(138, 89, 247); /* oklch */ color: oklch(60.1% 0.224 292.7);
Tailwind
colors: {
custom: {
50: '#b48afb',
500: '#8a59f7',
950: '#000000',
},
}SCSS
$custom: #8a59f7; $custom-light: #b48afb; $custom-dark: #000000;
JSON
{
"hex": "#8a59f7",
"rgb": {
"r": 138,
"g": 89,
"b": 247
},
"hsl": {
"h": 258.608,
"s": 90.805,
"l": 65.882
},
"oklch": {
"l": 0.60119,
"c": 0.22381,
"h": 292.7
},
"luminance": 0.19263
}Semantic roles & 50–950 ramp
primary
#8A59F7
secondary
#E0F0BC
accent
#E6009E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85