#8A59CE#8A59CE

#8A59CE is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.175 H 300.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8A59CE
RGBrgb(138, 89, 206)
HSLhsl(265, 54%, 58%)
HSVhsv(265, 57%, 81%)
CMYKcmyk(33%, 56.8%, 0%, 19.2%)
CIE-LABlab(48.27, 44.17, -53.47)
CIE-LCHlch(48.27, 69.36, 309.56°)
OKLaboklab(57.27% 0.0883 -0.1514)
OKLCHoklch(57.27% 0.175 300.3)
XYZxyz(25.1915, 17.0041, 60.3355)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59CE #9DCE59
analogous
#5962CE #8A59CE #C459CE
triadic
#8A59CE #CE8A59 #59CE8A
tetradic
#8A59CE #CE5962 #9DCE59 #59CEC4
square
#8A59CE #CE5962 #9DCE59 #59CEC4
split-complementary
#8A59CE #CEC459 #62CE59
monochromatic
#4F2785 #6B35B5 #8A59CE #AB88DC #CDB8EA

Accessibility & contrast

On white

4.77
#8A59CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8A59CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59CE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59CE#FFFFFF#000000##FFFFFF
##8A59CE1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2472D2
Deuteranopia (green-blind)
#3772CB
Tritanopia (blue-blind)
#7C718B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a59ce;
/* rgb */ color: rgb(138, 89, 206);
/* oklch */ color: oklch(57.3% 0.175 300.3);
Tailwind
colors: {
  custom: {
    50: '#b08ade',
    500: '#8a59ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a59ce;
$custom-light: #b08ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59ce",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 265.128,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57266,
    "c": 0.17523,
    "h": 300.3
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#8A59CE
secondary
#C5D9AA
accent
#DE4AA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A59CE

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

Preview Lab → · Contrast checker → · Palette generator →

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