#8B1E96#8B1E96

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

Color values

HEX#8B1E96
RGBrgb(139, 30, 150)
HSLhsl(295, 67%, 35%)
HSVhsv(295, 80%, 59%)
CMYKcmyk(7.3%, 80%, 0%, 41.2%)
CIE-LABlab(35.24, 58.70, -41.26)
CIE-LCHlch(35.24, 71.75, 324.89°)
OKLaboklab(46.77% 0.1579 -0.1152)
OKLCHoklch(46.77% 0.195 323.9)
XYZxyz(16.6163, 8.6206, 29.6370)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E96 #29961E
analogous
#4F1E96 #8B1E96 #961E65
triadic
#8B1E96 #968B1E #1E968B
tetradic
#8B1E96 #964F1E #29961E #1E6596
square
#8B1E96 #964F1E #29961E #1E6596
split-complementary
#8B1E96 #65961E #1E964F
monochromatic
#2C0A30 #5C1463 #8B1E96 #BA28C9 #D052DC

Accessibility & contrast

On white

7.71
#8B1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8B1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E96
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E96#FFFFFF#000000##FFFFFF
##8B1E961.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1e96;
/* rgb */ color: rgb(139, 30, 150);
/* oklch */ color: oklch(46.8% 0.195 323.9);
Tailwind
colors: {
  custom: {
    50: '#b168b5',
    500: '#8b1e96',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e96;
$custom-light: #b168b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e96",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 294.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46767,
    "c": 0.19549,
    "h": 323.9
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#8B1E96
secondary
#5BBF50
accent
#EA3E4E
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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