#8A59EA#8A59EA

#8A59EA is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.209 H 294.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A59EA
RGBrgb(138, 89, 234)
HSLhsl(260, 78%, 63%)
HSVhsv(260, 62%, 92%)
CMYKcmyk(41%, 62%, 0%, 8.2%)
CIE-LABlab(50.08, 51.38, -66.44)
CIE-LCHlch(50.08, 83.99, 307.72°)
OKLaboklab(59.17% 0.0874 -0.1895)
OKLCHoklch(59.17% 0.209 294.8)
XYZxyz(28.9009, 18.4879, 79.8718)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59EA #B9EA59
analogous
#5970EA #8A59EA #D259EA
triadic
#8A59EA #EA8A59 #59EA8A
tetradic
#8A59EA #EA5970 #B9EA59 #59EAD2
square
#8A59EA #EA5970 #B9EA59 #59EAD2
split-complementary
#8A59EA #EAD259 #70EA59
monochromatic
#4B17B2 #6423E3 #8A59EA #B08FF1 #D7C6F8

Accessibility & contrast

On white

4.47
#8A59EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8A59EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A59EA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59EA#FFFFFF#000000##000000
##8A59EA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#717A99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a59ea;
/* rgb */ color: rgb(138, 89, 234);
/* oklch */ color: oklch(59.2% 0.209 294.8);
Tailwind
colors: {
  custom: {
    50: '#b28af2',
    500: '#8a59ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a59ea;
$custom-light: #b28af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59ea",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 260.276,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59172,
    "c": 0.20865,
    "h": 294.8
  },
  "luminance": 0.18489
}

Semantic roles & 50–950 ramp

primary
#8A59EA
secondary
#D8E9B6
accent
#DA0C94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A59EA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8A59EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva