#8A59BC#8A59BC

#8A59BC is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.1% C 0.153 H 304.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8A59BC
RGBrgb(138, 89, 188)
HSLhsl(270, 42%, 54%)
HSVhsv(270, 53%, 74%)
CMYKcmyk(26.6%, 52.7%, 0%, 26.3%)
CIE-LABlab(47.21, 39.71, -44.77)
CIE-LCHlch(47.21, 59.85, 311.57°)
OKLaboklab(56.15% 0.0875 -0.1259)
OKLCHoklch(56.15% 0.153 304.8)
XYZxyz(23.1288, 16.1790, 49.4716)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59BC #8BBC59
analogous
#595ABC #8A59BC #BC59BC
triadic
#8A59BC #BC8A59 #59BC8A
tetradic
#8A59BC #BC595A #8BBC59 #59BCBC
square
#8A59BC #BC595A #8BBC59 #59BCBC
split-complementary
#8A59BC #BCBC59 #5ABC59
monochromatic
#4D2C6E #6B3E9A #8A59BC #A985CE #C7B0DF

Accessibility & contrast

On white

4.96
#8A59BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A59BC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59BC#FFFFFF#000000##FFFFFF
##8A59BC1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FBF
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#826B82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a59bc;
/* rgb */ color: rgb(138, 89, 188);
/* oklch */ color: oklch(56.1% 0.153 304.8);
Tailwind
colors: {
  custom: {
    50: '#af89d1',
    500: '#8a59bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a59bc;
$custom-light: #af89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59bc",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 269.697,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56147,
    "c": 0.15333,
    "h": 304.8
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#8A59BC
secondary
#B9CDA3
accent
#D25695
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A59BC

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

Preview Lab → · Contrast checker → · Palette generator →

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