#8A5E91#8A5E91

#8A5E91 is a mid, moderate purple. Relative luminance 0.155; OKLCH L 54.7% C 0.093 H 321.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A5E91
RGBrgb(138, 94, 145)
HSLhsl(292, 21%, 47%)
HSVhsv(292, 35%, 57%)
CMYKcmyk(4.8%, 35.2%, 0%, 43.1%)
CIE-LABlab(46.25, 27.05, -20.96)
CIE-LCHlch(46.25, 34.22, 322.24°)
OKLaboklab(54.74% 0.0728 -0.0572)
OKLCHoklch(54.74% 0.093 321.9)
XYZxyz(19.5942, 15.4536, 28.7333)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5E91 #65915E
analogous
#715E91 #8A5E91 #915E7F
triadic
#8A5E91 #918A5E #5E918A
tetradic
#8A5E91 #91715E #65915E #5E7F91
square
#8A5E91 #91715E #65915E #5E7F91
split-complementary
#8A5E91 #7F915E #5E9171
monochromatic
#432E47 #67466C #8A5E91 #A680AC #C0A5C5

Accessibility & contrast

On white

5.13
#8A5E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8A5E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5E91
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5E91#FFFFFF#000000##FFFFFF
##8A5E911.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586A93
Deuteranopia (green-blind)
#636F8F
Tritanopia (blue-blind)
#8B6371
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a5e91;
/* rgb */ color: rgb(138, 94, 145);
/* oklch */ color: oklch(54.7% 0.093 321.9);
Tailwind
colors: {
  custom: {
    50: '#ad8cb1',
    500: '#8a5e91',
    950: '#000000',
  },
}
SCSS
$custom: #8a5e91;
$custom-light: #ad8cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5e91",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 145
  },
  "hsl": {
    "h": 291.765,
    "s": 21.339,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54744,
    "c": 0.0926,
    "h": 321.9
  },
  "luminance": 0.15453
}

Semantic roles & 50–950 ramp

primary
#8A5E91
secondary
#9CB398
accent
#BE6A75
background
#FAF8FA
surface
#F4F0F5
border
#CECBCF
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8A5E91

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

Preview Lab → · Contrast checker → · Palette generator →

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