#8A59EE#8A59EE

#8A59EE is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.5% C 0.213 H 294.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A59EE
RGBrgb(138, 89, 238)
HSLhsl(260, 81%, 64%)
HSVhsv(260, 63%, 93%)
CMYKcmyk(42%, 62.6%, 0%, 6.7%)
CIE-LABlab(50.36, 52.43, -68.24)
CIE-LCHlch(50.36, 86.06, 307.54°)
OKLaboklab(59.46% 0.0871 -0.1948)
OKLCHoklch(59.46% 0.213 294.1)
XYZxyz(29.4821, 18.7203, 82.9324)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59EE #BDEE59
analogous
#5973EE #8A59EE #D559EE
triadic
#8A59EE #EE8A59 #59EE8A
tetradic
#8A59EE #EE5973 #BDEE59 #59EED5
square
#8A59EE #EE5973 #BDEE59 #59EED5
split-complementary
#8A59EE #EED559 #73EE59
monochromatic
#4A13BA #6321E8 #8A59EE #B191F4 #D8C8F9

Accessibility & contrast

On white

4.43
#8A59EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8A59EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A59EE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59EE#FFFFFF#000000##000000
##8A59EE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#6F7B9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a59ee;
/* rgb */ color: rgb(138, 89, 238);
/* oklch */ color: oklch(59.5% 0.213 294.1);
Tailwind
colors: {
  custom: {
    50: '#b38af4',
    500: '#8a59ee',
    950: '#000000',
  },
}
SCSS
$custom: #8a59ee;
$custom-light: #b38af4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59ee",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 259.732,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5946,
    "c": 0.21334,
    "h": 294.1
  },
  "luminance": 0.18721
}

Semantic roles & 50–950 ramp

primary
#8A59EE
secondary
#DAEBB7
accent
#DE0897
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A59EE

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

Preview Lab → · Contrast checker → · Palette generator →

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