#8B4E97#8B4E97

#8B4E97 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 52.4% C 0.129 H 320.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8B4E97
RGBrgb(139, 78, 151)
HSLhsl(290, 32%, 45%)
HSVhsv(290, 48%, 59%)
CMYKcmyk(7.9%, 48.3%, 0%, 40.8%)
CIE-LABlab(43.02, 37.73, -29.55)
CIE-LCHlch(43.02, 47.92, 321.93°)
OKLaboklab(52.44% 0.1002 -0.0816)
OKLCHoklch(52.44% 0.129 320.9)
XYZxyz(18.9571, 13.1729, 30.8162)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4E97 #5A974E
analogous
#674E97 #8B4E97 #974E7F
triadic
#8B4E97 #978B4E #4E978B
tetradic
#8B4E97 #97674E #5A974E #4E7F97
square
#8B4E97 #97674E #5A974E #4E7F97
split-complementary
#8B4E97 #7F974E #4E9767
monochromatic
#412446 #66396F #8B4E97 #A96EB4 #C196C9

Accessibility & contrast

On white

5.78
#8B4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8B4E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4E97
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4E97#FFFFFF#000000##FFFFFF
##8B4E971.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43619A
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#8C576B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b4e97;
/* rgb */ color: rgb(139, 78, 151);
/* oklch */ color: oklch(52.4% 0.129 320.9);
Tailwind
colors: {
  custom: {
    50: '#ae82b6',
    500: '#8b4e97',
    950: '#000000',
  },
}
SCSS
$custom: #8b4e97;
$custom-light: #ae82b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4e97",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 290.137,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52438,
    "c": 0.12922,
    "h": 320.9
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

primary
#8B4E97
secondary
#92B68B
accent
#C86071
background
#FAF8FB
surface
#F5EFF6
border
#CFCAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8B4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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