#8A599D#8A599D

#8A599D is a mid, moderate purple. Relative luminance 0.150; OKLCH L 54.4% C 0.116 H 316.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A599D
RGBrgb(138, 89, 157)
HSLhsl(283, 28%, 48%)
HSVhsv(283, 43%, 62%)
CMYKcmyk(12.1%, 43.3%, 0%, 38.4%)
CIE-LABlab(45.61, 32.52, -29.09)
CIE-LCHlch(45.61, 43.63, 318.18°)
OKLaboklab(54.44% 0.0834 -0.0804)
OKLCHoklch(54.44% 0.116 316.1)
XYZxyz(20.1385, 14.9829, 33.7229)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A599D #6C9D59
analogous
#68599D #8A599D #9D598E
triadic
#8A599D #9D8A59 #599D8A
tetradic
#8A599D #9D6859 #6C9D59 #598E9D
square
#8A599D #9D6859 #6C9D59 #598E9D
split-complementary
#8A599D #8E9D59 #599D68
monochromatic
#452D4F #684376 #8A599D #A67EB6 #C1A5CC

Accessibility & contrast

On white

5.25
#8A599D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8A599D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A599D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A599D#FFFFFF#000000##FFFFFF
##8A599D1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D699F
Deuteranopia (green-blind)
#5A6D9B
Tritanopia (blue-blind)
#896273
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a599d;
/* rgb */ color: rgb(138, 89, 157);
/* oklch */ color: oklch(54.4% 0.116 316.1);
Tailwind
colors: {
  custom: {
    50: '#ad89ba',
    500: '#8a599d',
    950: '#000000',
  },
}
SCSS
$custom: #8a599d;
$custom-light: #ad89ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a599d",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 157
  },
  "hsl": {
    "h": 283.235,
    "s": 27.642,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.11584,
    "h": 316.1
  },
  "luminance": 0.14982
}

Semantic roles & 50–950 ramp

primary
#8A599D
secondary
#A2BA98
accent
#C4647F
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A599D

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

Preview Lab → · Contrast checker → · Palette generator →

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