#8A5E99#8A5E99

#8A5E99 is a mid, moderate purple. Relative luminance 0.157; OKLCH L 55.1% C 0.102 H 317.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8A5E99
RGBrgb(138, 94, 153)
HSLhsl(285, 24%, 48%)
HSVhsv(285, 39%, 60%)
CMYKcmyk(9.8%, 38.6%, 0%, 40%)
CIE-LABlab(46.59, 28.76, -25.19)
CIE-LCHlch(46.59, 38.23, 318.78°)
OKLaboklab(55.11% 0.0748 -0.0692)
OKLCHoklch(55.11% 0.102 317.2)
XYZxyz(20.2329, 15.7091, 32.0972)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5E99 #6D995E
analogous
#6C5E99 #8A5E99 #995E8A
triadic
#8A5E99 #998A5E #5E998A
tetradic
#8A5E99 #996C5E #6D995E #5E8A99
square
#8A5E99 #996C5E #6D995E #5E8A99
split-complementary
#8A5E99 #8A995E #5E996C
monochromatic
#462F4D #684773 #8A5E99 #A682B2 #C1A8C9

Accessibility & contrast

On white

5.07
#8A5E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8A5E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5E99
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5E99#FFFFFF#000000##FFFFFF
##8A5E991.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556C9B
Deuteranopia (green-blind)
#607097
Tritanopia (blue-blind)
#8A6574
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a5e99;
/* rgb */ color: rgb(138, 94, 153);
/* oklch */ color: oklch(55.1% 0.102 317.2);
Tailwind
colors: {
  custom: {
    50: '#ad8cb7',
    500: '#8a5e99',
    950: '#000000',
  },
}
SCSS
$custom: #8a5e99;
$custom-light: #ad8cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5e99",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 153
  },
  "hsl": {
    "h": 284.746,
    "s": 23.887,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55114,
    "c": 0.10195,
    "h": 317.2
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#8A5E99
secondary
#A2B89B
accent
#C0677E
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #8A5E99

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

Preview Lab → · Contrast checker → · Palette generator →

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