#8A5E95#8A5E95

#8A5E95 is a mid, moderate purple. Relative luminance 0.156; OKLCH L 54.9% C 0.097 H 319.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8A5E95
RGBrgb(138, 94, 149)
HSLhsl(288, 23%, 48%)
HSVhsv(288, 37%, 58%)
CMYKcmyk(7.4%, 36.9%, 0%, 41.6%)
CIE-LABlab(46.42, 27.90, -23.08)
CIE-LCHlch(46.42, 36.21, 320.40°)
OKLaboklab(54.93% 0.0739 -0.0632)
OKLCHoklch(54.93% 0.097 319.4)
XYZxyz(19.9080, 15.5792, 30.3863)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5E95 #69955E
analogous
#6E5E95 #8A5E95 #955E84
triadic
#8A5E95 #958A5E #5E958A
tetradic
#8A5E95 #956E5E #69955E #5E8495
square
#8A5E95 #956E5E #69955E #5E8495
split-complementary
#8A5E95 #84955E #5E956E
monochromatic
#442F4A #67466F #8A5E95 #A681AF #C1A6C7

Accessibility & contrast

On white

5.10
#8A5E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8A5E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5E95
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5E95#FFFFFF#000000##FFFFFF
##8A5E951.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576B97
Deuteranopia (green-blind)
#627093
Tritanopia (blue-blind)
#8B6473
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a5e95;
/* rgb */ color: rgb(138, 94, 149);
/* oklch */ color: oklch(54.9% 0.097 319.4);
Tailwind
colors: {
  custom: {
    50: '#ad8cb4',
    500: '#8a5e95',
    950: '#000000',
  },
}
SCSS
$custom: #8a5e95;
$custom-light: #ad8cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5e95",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 149
  },
  "hsl": {
    "h": 288,
    "s": 22.634,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54926,
    "c": 0.09722,
    "h": 319.4
  },
  "luminance": 0.15579
}

Semantic roles & 50–950 ramp

primary
#8A5E95
secondary
#9FB59A
accent
#BF697A
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #8A5E95

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

Preview Lab → · Contrast checker → · Palette generator →

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