#8A59B5#8A59B5

#8A59B5 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.7% C 0.145 H 306.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8A59B5
RGBrgb(138, 89, 181)
HSLhsl(272, 38%, 53%)
HSVhsv(272, 51%, 71%)
CMYKcmyk(23.8%, 50.8%, 0%, 29%)
CIE-LABlab(46.82, 38.02, -41.31)
CIE-LCHlch(46.82, 56.15, 312.63°)
OKLaboklab(55.74% 0.0869 -0.1158)
OKLCHoklch(55.74% 0.145 306.9)
XYZxyz(22.3924, 15.8844, 45.5935)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59B5 #84B559
analogous
#5C59B5 #8A59B5 #B559B2
triadic
#8A59B5 #B58A59 #59B58A
tetradic
#8A59B5 #B55C59 #84B559 #59B2B5
square
#8A59B5 #B55C59 #84B559 #59B2B5
split-complementary
#8A59B5 #B2B559 #59B55C
monochromatic
#4C2E66 #6B4090 #8A59B5 #A883C8 #C6AEDB

Accessibility & contrast

On white

5.03
#8A59B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8A59B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59B5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59B5#FFFFFF#000000##FFFFFF
##8A59B51.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB8
Deuteranopia (green-blind)
#4D6FB3
Tritanopia (blue-blind)
#83697F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a59b5;
/* rgb */ color: rgb(138, 89, 181);
/* oklch */ color: oklch(55.7% 0.145 306.9);
Tailwind
colors: {
  custom: {
    50: '#ae89cb',
    500: '#8a59b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a59b5;
$custom-light: #ae89cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59b5",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 181
  },
  "hsl": {
    "h": 271.957,
    "s": 38.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55736,
    "c": 0.14479,
    "h": 306.9
  },
  "luminance": 0.15884
}

Semantic roles & 50–950 ramp

primary
#8A59B5
secondary
#B4C9A1
accent
#CE5A90
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C13
muted
#807D82

Preview Lab

Preview with #8A59B5

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

Preview Lab → · Contrast checker → · Palette generator →

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