#8A59BD#8A59BD

#8A59BD is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.155 H 304.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8A59BD
RGBrgb(138, 89, 189)
HSLhsl(269, 43%, 55%)
HSVhsv(269, 53%, 74%)
CMYKcmyk(27%, 52.9%, 0%, 25.9%)
CIE-LABlab(47.26, 39.95, -45.27)
CIE-LCHlch(47.26, 60.37, 311.43°)
OKLaboklab(56.21% 0.0876 -0.1273)
OKLCHoklch(56.21% 0.155 304.5)
XYZxyz(23.2369, 16.2223, 50.0413)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59BD #8CBD59
analogous
#595ABD #8A59BD #BC59BD
triadic
#8A59BD #BD8A59 #59BD8A
tetradic
#8A59BD #BD595A #8CBD59 #59BDBC
square
#8A59BD #BD595A #8CBD59 #59BDBC
split-complementary
#8A59BD #BDBC59 #5ABD59
monochromatic
#4D2C6F #6B3E9B #8A59BD #A985CE #C8B1E0

Accessibility & contrast

On white

4.95
#8A59BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8A59BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59BD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59BD#FFFFFF#000000##FFFFFF
##8A59BD1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386FC0
Deuteranopia (green-blind)
#4770BB
Tritanopia (blue-blind)
#816B82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a59bd;
/* rgb */ color: rgb(138, 89, 189);
/* oklch */ color: oklch(56.2% 0.155 304.5);
Tailwind
colors: {
  custom: {
    50: '#af89d1',
    500: '#8a59bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a59bd;
$custom-light: #af89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59bd",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 269.4,
    "s": 43.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56207,
    "c": 0.15455,
    "h": 304.5
  },
  "luminance": 0.16222
}

Semantic roles & 50–950 ramp

primary
#8A59BD
secondary
#B9CEA4
accent
#D35595
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A59BD

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

Preview Lab → · Contrast checker → · Palette generator →

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