#8A59C8#8A59C8

#8A59C8 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.9% C 0.168 H 301.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8A59C8
RGBrgb(138, 89, 200)
HSLhsl(266, 50%, 57%)
HSVhsv(266, 56%, 78%)
CMYKcmyk(31%, 55.5%, 0%, 21.6%)
CIE-LABlab(47.90, 42.66, -50.60)
CIE-LCHlch(47.90, 66.19, 310.13°)
OKLaboklab(56.88% 0.0882 -0.143)
OKLCHoklch(56.88% 0.168 301.7)
XYZxyz(24.4765, 16.7181, 56.5698)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59C8 #97C859
analogous
#5960C8 #8A59C8 #C159C8
triadic
#8A59C8 #C88A59 #59C88A
tetradic
#8A59C8 #C85960 #97C859 #59C8C1
square
#8A59C8 #C85960 #97C859 #59C8C1
split-complementary
#8A59C8 #C8C159 #60C859
monochromatic
#4E297D #6B39AB #8A59C8 #AA87D7 #CBB5E6

Accessibility & contrast

On white

4.83
#8A59C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8A59C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59C8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59C8#FFFFFF#000000##FFFFFF
##8A59C81.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C71CC
Deuteranopia (green-blind)
#3E71C5
Tritanopia (blue-blind)
#7E6F88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a59c8;
/* rgb */ color: rgb(138, 89, 200);
/* oklch */ color: oklch(56.9% 0.168 301.7);
Tailwind
colors: {
  custom: {
    50: '#af8ad9',
    500: '#8a59c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a59c8;
$custom-light: #af8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59c8",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 266.486,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56884,
    "c": 0.16796,
    "h": 301.7
  },
  "luminance": 0.16718
}

Semantic roles & 50–950 ramp

primary
#8A59C8
secondary
#C1D5A8
accent
#DA4E9C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A59C8

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

Preview Lab → · Contrast checker → · Palette generator →

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