#8A59F4#8A59F4
#8A59F4 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.9% C 0.220 H 293.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8A59F4 |
|---|---|
| RGB | rgb(138, 89, 244) |
| HSL | hsl(259, 88%, 65%) |
| HSV | hsv(259, 64%, 96%) |
| CMYK | cmyk(43.4%, 63.5%, 0%, 4.3%) |
| CIE-LAB | lab(50.78, 54.02, -70.91) |
| CIE-LCH | lch(50.78, 89.14, 307.30°) |
| OKLab | oklab(59.9% 0.0865 -0.2026) |
| OKLCH | oklch(59.9% 0.22 293.1) |
| XYZ | xyz(30.3783, 19.0788, 87.6524) |
| Luminance | 0.1908 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.52
Mediumslateblue
#7B68EE
ΔE00 4.71
Lighter Purple
#A55AF4
ΔE00 4.81
Lightish Purple
#A552E6
ΔE00 5.49
Light Indigo
#6D5ACF
ΔE00 7.13
Mediumpurple
#9370DB
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A59F4 #C3F459
analogous
#5975F4 #8A59F4 #D859F4
triadic
#8A59F4 #F48A59 #59F48A
tetradic
#8A59F4 #F45975 #C3F459 #59F4D8
square
#8A59F4 #F45975 #C3F459 #59F4D8
split-complementary
#8A59F4 #F4D859 #75F459
monochromatic
#470DC6 #6220F0 #8A59F4 #B292F8 #DBCCFC
Accessibility & contrast
On white
4.36
#8A59F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#8A59F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A59F4
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A59F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A59F4 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#0076F1
Tritanopia (blue-blind)
#6C7D9F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8a59f4; /* rgb */ color: rgb(138, 89, 244); /* oklch */ color: oklch(59.9% 0.220 293.1);
Tailwind
colors: {
custom: {
50: '#b38af9',
500: '#8a59f4',
950: '#000000',
},
}SCSS
$custom: #8a59f4; $custom-light: #b38af9; $custom-dark: #000000;
JSON
{
"hex": "#8a59f4",
"rgb": {
"r": 138,
"g": 89,
"b": 244
},
"hsl": {
"h": 258.968,
"s": 87.571,
"l": 65.294
},
"oklch": {
"l": 0.59897,
"c": 0.22033,
"h": 293.1
},
"luminance": 0.1908
}Semantic roles & 50–950 ramp
primary
#8A59F4
secondary
#DEEFBA
accent
#E4019C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85