#8A59F2#8A59F2
#8A59F2 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.8% C 0.218 H 293.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A59F2 |
|---|---|
| RGB | rgb(138, 89, 242) |
| HSL | hsl(259, 85%, 65%) |
| HSV | hsv(259, 63%, 95%) |
| CMYK | cmyk(43%, 63.2%, 0%, 5.1%) |
| CIE-LAB | lab(50.64, 53.49, -70.03) |
| CIE-LCH | lch(50.64, 88.12, 307.37°) |
| OKLab | oklab(59.75% 0.0867 -0.2) |
| OKLCH | oklch(59.75% 0.218 293.4) |
| XYZ | xyz(30.0763, 18.9580, 86.0618) |
| Luminance | 0.1896 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.27
Mediumslateblue
#7B68EE
ΔE00 4.74
Lighter Purple
#A55AF4
ΔE00 4.82
Lightish Purple
#A552E6
ΔE00 5.38
Light Indigo
#6D5ACF
ΔE00 6.95
Mediumpurple
#9370DB
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A59F2 #C1F259
analogous
#5974F2 #8A59F2 #D759F2
triadic
#8A59F2 #F28A59 #59F28A
tetradic
#8A59F2 #F25974 #C1F259 #59F2D7
square
#8A59F2 #F25974 #C1F259 #59F2D7
split-complementary
#8A59F2 #F2D759 #74F259
monochromatic
#480FC1 #6220EE #8A59F2 #B292F6 #DACBFB
Accessibility & contrast
On white
4.38
#8A59F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#8A59F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A59F2
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A59F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A59F2 | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#6D7D9E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8a59f2; /* rgb */ color: rgb(138, 89, 242); /* oklch */ color: oklch(59.8% 0.218 293.4);
Tailwind
colors: {
custom: {
50: '#b38af7',
500: '#8a59f2',
950: '#000000',
},
}SCSS
$custom: #8a59f2; $custom-light: #b38af7; $custom-dark: #000000;
JSON
{
"hex": "#8a59f2",
"rgb": {
"r": 138,
"g": 89,
"b": 242
},
"hsl": {
"h": 259.216,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.5975,
"c": 0.218,
"h": 293.4
},
"luminance": 0.18959
}Semantic roles & 50–950 ramp
primary
#8A59F2
secondary
#DDEDB9
accent
#E2049B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85