#8B4E95#8B4E95

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

Color values

HEX#8B4E95
RGBrgb(139, 78, 149)
HSLhsl(292, 31%, 45%)
HSVhsv(292, 48%, 58%)
CMYKcmyk(6.7%, 47.7%, 0%, 41.6%)
CIE-LABlab(42.93, 37.31, -28.50)
CIE-LCHlch(42.93, 46.95, 322.63°)
OKLaboklab(52.34% 0.0999 -0.0786)
OKLCHoklch(52.34% 0.127 321.8)
XYZxyz(18.7961, 13.1084, 29.9680)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4E95 #58954E
analogous
#674E95 #8B4E95 #954E7C
triadic
#8B4E95 #958B4E #4E958B
tetradic
#8B4E95 #95674E #58954E #4E7C95
square
#8B4E95 #95674E #58954E #4E7C95
split-complementary
#8B4E95 #7C954E #4E9567
monochromatic
#402445 #66396D #8B4E95 #A96DB3 #C196C8

Accessibility & contrast

On white

5.80
#8B4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8B4E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4E95
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4E95#FFFFFF#000000##FFFFFF
##8B4E951.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446197
Deuteranopia (green-blind)
#556893
Tritanopia (blue-blind)
#8D576A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b4e95;
/* rgb */ color: rgb(139, 78, 149);
/* oklch */ color: oklch(52.3% 0.127 321.8);
Tailwind
colors: {
  custom: {
    50: '#ae82b4',
    500: '#8b4e95',
    950: '#000000',
  },
}
SCSS
$custom: #8b4e95;
$custom-light: #ae82b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4e95",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 291.549,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.12707,
    "h": 321.8
  },
  "luminance": 0.13108
}

Semantic roles & 50–950 ramp

primary
#8B4E95
secondary
#90B48A
accent
#C7606F
background
#FAF8FB
surface
#F5EFF6
border
#CFCAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8B4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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