#8A559D#8A559D

#8A559D is a mid, vivid purple. Relative luminance 0.143; OKLCH L 53.8% C 0.123 H 316.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A559D
RGBrgb(138, 85, 157)
HSLhsl(284, 30%, 47%)
HSVhsv(284, 46%, 62%)
CMYKcmyk(12.1%, 45.9%, 0%, 38.4%)
CIE-LABlab(44.71, 34.79, -30.50)
CIE-LCHlch(44.71, 46.27, 318.76°)
OKLaboklab(53.76% 0.0895 -0.0844)
OKLCHoklch(53.76% 0.123 316.7)
XYZxyz(19.8146, 14.3352, 33.6149)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A559D #689D55
analogous
#66559D #8A559D #9D558C
triadic
#8A559D #9D8A55 #559D8A
tetradic
#8A559D #9D6655 #689D55 #558C9D
square
#8A559D #9D6655 #689D55 #558C9D
split-complementary
#8A559D #8C9D55 #559D66
monochromatic
#442A4E #674075 #8A559D #A679B6 #C0A1CC

Accessibility & contrast

On white

5.43
#8A559D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8A559D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A559D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A559D#FFFFFF#000000##FFFFFF
##8A559D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4866A0
Deuteranopia (green-blind)
#576B9B
Tritanopia (blue-blind)
#895F71
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a559d;
/* rgb */ color: rgb(138, 85, 157);
/* oklch */ color: oklch(53.8% 0.123 316.7);
Tailwind
colors: {
  custom: {
    50: '#ad86ba',
    500: '#8a559d',
    950: '#000000',
  },
}
SCSS
$custom: #8a559d;
$custom-light: #ad86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a559d",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 284.167,
    "s": 29.752,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53762,
    "c": 0.123,
    "h": 316.7
  },
  "luminance": 0.14335
}

Semantic roles & 50–950 ramp

primary
#8A559D
secondary
#9EB995
accent
#C6627C
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A559D

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

Preview Lab → · Contrast checker → · Palette generator →

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