#8A59BE#8A59BE

#8A59BE is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.3% C 0.156 H 304.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8A59BE
RGBrgb(138, 89, 190)
HSLhsl(269, 44%, 55%)
HSVhsv(269, 53%, 75%)
CMYKcmyk(27.4%, 53.2%, 0%, 25.5%)
CIE-LABlab(47.32, 40.20, -45.76)
CIE-LCHlch(47.32, 60.90, 311.30°)
OKLaboklab(56.27% 0.0877 -0.1288)
OKLCHoklch(56.27% 0.156 304.3)
XYZxyz(23.3459, 16.2658, 50.6149)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59BE #8DBE59
analogous
#595BBE #8A59BE #BD59BE
triadic
#8A59BE #BE8A59 #59BE8A
tetradic
#8A59BE #BE595B #8DBE59 #59BEBD
square
#8A59BE #BE595B #8DBE59 #59BEBD
split-complementary
#8A59BE #BEBD59 #5BBE59
monochromatic
#4D2C71 #6B3D9D #8A59BE #A985CF #C8B1E0

Accessibility & contrast

On white

4.94
#8A59BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8A59BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59BE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59BE#FFFFFF#000000##FFFFFF
##8A59BE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376FC1
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#816C83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a59be;
/* rgb */ color: rgb(138, 89, 190);
/* oklch */ color: oklch(56.3% 0.156 304.3);
Tailwind
colors: {
  custom: {
    50: '#af89d2',
    500: '#8a59be',
    950: '#000000',
  },
}
SCSS
$custom: #8a59be;
$custom-light: #af89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59be",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 269.109,
    "s": 43.723,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56267,
    "c": 0.15578,
    "h": 304.3
  },
  "luminance": 0.16266
}

Semantic roles & 50–950 ramp

primary
#8A59BE
secondary
#BACFA4
accent
#D35496
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A59BE

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

Preview Lab → · Contrast checker → · Palette generator →

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