#8A4E96#8A4E96

#8A4E96 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.3% C 0.128 H 320.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8A4E96
RGBrgb(138, 78, 150)
HSLhsl(290, 32%, 45%)
HSVhsv(290, 48%, 59%)
CMYKcmyk(8%, 48%, 0%, 41.2%)
CIE-LABlab(42.85, 37.21, -29.23)
CIE-LCHlch(42.85, 47.32, 321.85°)
OKLaboklab(52.26% 0.0988 -0.0807)
OKLCHoklch(52.26% 0.128 320.8)
XYZxyz(18.7100, 13.0548, 30.3825)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E96 #5A964E
analogous
#664E96 #8A4E96 #964E7E
triadic
#8A4E96 #968A4E #4E968A
tetradic
#8A4E96 #96664E #5A964E #4E7E96
square
#8A4E96 #96664E #5A964E #4E7E96
split-complementary
#8A4E96 #7E964E #4E9666
monochromatic
#402445 #65396E #8A4E96 #A86EB3 #C096C8

Accessibility & contrast

On white

5.82
#8A4E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8A4E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E96
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E96#FFFFFF#000000##FFFFFF
##8A4E961.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436198
Deuteranopia (green-blind)
#546794
Tritanopia (blue-blind)
#8B576B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a4e96;
/* rgb */ color: rgb(138, 78, 150);
/* oklch */ color: oklch(52.3% 0.128 320.8);
Tailwind
colors: {
  custom: {
    50: '#ae81b5',
    500: '#8a4e96',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e96;
$custom-light: #ae81b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e96",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 150
  },
  "hsl": {
    "h": 290,
    "s": 31.579,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52263,
    "c": 0.12757,
    "h": 320.8
  },
  "luminance": 0.13054
}

Semantic roles & 50–950 ramp

primary
#8A4E96
secondary
#92B58B
accent
#C86071
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4E96

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

Preview Lab → · Contrast checker → · Palette generator →

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