#8A59CC#8A59CC

#8A59CC is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.1% C 0.173 H 300.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A59CC
RGBrgb(138, 89, 204)
HSLhsl(266, 53%, 57%)
HSVhsv(266, 56%, 80%)
CMYKcmyk(32.4%, 56.4%, 0%, 20%)
CIE-LABlab(48.14, 43.67, -52.52)
CIE-LCHlch(48.14, 68.30, 309.74°)
OKLaboklab(57.14% 0.0883 -0.1486)
OKLCHoklch(57.14% 0.173 300.7)
XYZxyz(24.9501, 16.9075, 59.0640)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59CC #9BCC59
analogous
#5962CC #8A59CC #C359CC
triadic
#8A59CC #CC8A59 #59CC8A
tetradic
#8A59CC #CC5962 #9BCC59 #59CCC3
square
#8A59CC #CC5962 #9BCC59 #59CCC3
split-complementary
#8A59CC #CCC359 #62CC59
monochromatic
#4F2883 #6B36B1 #8A59CC #AB88DA #CCB7E9

Accessibility & contrast

On white

4.79
#8A59CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8A59CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59CC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59CC#FFFFFF#000000##FFFFFF
##8A59CC1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2772D0
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#7D708A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a59cc;
/* rgb */ color: rgb(138, 89, 204);
/* oklch */ color: oklch(57.1% 0.173 300.7);
Tailwind
colors: {
  custom: {
    50: '#b08adc',
    500: '#8a59cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a59cc;
$custom-light: #b08adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59cc",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 265.565,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57138,
    "c": 0.17281,
    "h": 300.7
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

primary
#8A59CC
secondary
#C4D8A9
accent
#DC4B9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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