#8B1D96#8B1D96

#8B1D96 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.196 H 323.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8B1D96
RGBrgb(139, 29, 150)
HSLhsl(295, 68%, 35%)
HSVhsv(295, 81%, 59%)
CMYKcmyk(7.3%, 80.7%, 0%, 41.2%)
CIE-LABlab(35.14, 58.99, -41.42)
CIE-LCHlch(35.14, 72.08, 324.92°)
OKLaboklab(46.7% 0.1587 -0.1157)
OKLCHoklch(46.7% 0.196 323.9)
XYZxyz(16.5914, 8.5708, 29.6287)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D96 #28961D
analogous
#4E1D96 #8B1D96 #961D65
triadic
#8B1D96 #968B1D #1D968B
tetradic
#8B1D96 #964E1D #28961D #1D6596
square
#8B1D96 #964E1D #28961D #1D6596
split-complementary
#8B1D96 #65961D #1D964E
monochromatic
#2C092F #5B1363 #8B1D96 #BB27C9 #D050DD

Accessibility & contrast

On white

7.74
#8B1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8B1D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D96
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D96#FFFFFF#000000##FFFFFF
##8B1D961.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#355793
Tritanopia (blue-blind)
#8E355A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b1d96;
/* rgb */ color: rgb(139, 29, 150);
/* oklch */ color: oklch(46.7% 0.196 323.9);
Tailwind
colors: {
  custom: {
    50: '#b168b5',
    500: '#8b1d96',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d96;
$custom-light: #b168b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d96",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 294.545,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46697,
    "c": 0.19639,
    "h": 323.9
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#8B1D96
secondary
#59C04F
accent
#EA3D4D
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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