#8A59EC#8A59EC

#8A59EC is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.211 H 294.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8A59EC
RGBrgb(138, 89, 236)
HSLhsl(260, 79%, 64%)
HSVhsv(260, 62%, 93%)
CMYKcmyk(41.5%, 62.3%, 0%, 7.5%)
CIE-LABlab(50.22, 51.91, -67.34)
CIE-LCHlch(50.22, 85.03, 307.63°)
OKLaboklab(59.32% 0.0872 -0.1921)
OKLCHoklch(59.32% 0.211 294.4)
XYZxyz(29.1899, 18.6034, 81.3935)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59EC #BBEC59
analogous
#5971EC #8A59EC #D359EC
triadic
#8A59EC #EC8A59 #59EC8A
tetradic
#8A59EC #EC5971 #BBEC59 #59ECD3
square
#8A59EC #EC5971 #BBEC59 #59ECD3
split-complementary
#8A59EC #ECD359 #71EC59
monochromatic
#4A15B6 #6322E6 #8A59EC #B190F2 #D7C7F9

Accessibility & contrast

On white

4.45
#8A59EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8A59EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A59EC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59EC#FFFFFF#000000##000000
##8A59EC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#707B9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a59ec;
/* rgb */ color: rgb(138, 89, 236);
/* oklch */ color: oklch(59.3% 0.211 294.4);
Tailwind
colors: {
  custom: {
    50: '#b38af3',
    500: '#8a59ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a59ec;
$custom-light: #b38af3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59ec",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 260,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59316,
    "c": 0.211,
    "h": 294.4
  },
  "luminance": 0.18604
}

Semantic roles & 50–950 ramp

primary
#8A59EC
secondary
#D9EAB6
accent
#DC0A96
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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