#8B1E9D#8B1E9D

#8B1E9D is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.2% C 0.201 H 321.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8B1E9D
RGBrgb(139, 30, 157)
HSLhsl(291, 68%, 37%)
HSVhsv(291, 81%, 62%)
CMYKcmyk(11.5%, 80.9%, 0%, 38.4%)
CIE-LABlab(35.70, 59.95, -44.79)
CIE-LCHlch(35.70, 74.84, 323.24°)
OKLaboklab(47.24% 0.1571 -0.1256)
OKLCHoklch(47.24% 0.201 321.4)
XYZxyz(17.1969, 8.8528, 32.6947)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E9D #309D1E
analogous
#4C1E9D #8B1E9D #9D1E70
triadic
#8B1E9D #9D8B1E #1E9D8B
tetradic
#8B1E9D #9D4C1E #309D1E #1E709D
square
#8B1E9D #9D4C1E #309D1E #1E709D
split-complementary
#8B1E9D #709D1E #1E9D4C
monochromatic
#300A36 #5E146A #8B1E9D #B828D0 #CC57DF

Accessibility & contrast

On white

7.58
#8B1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8B1E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E9D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E9D#FFFFFF#000000##FFFFFF
##8B1E9D1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#30589A
Tritanopia (blue-blind)
#8C395E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b1e9d;
/* rgb */ color: rgb(139, 30, 157);
/* oklch */ color: oklch(47.2% 0.201 321.4);
Tailwind
colors: {
  custom: {
    50: '#b169bb',
    500: '#8b1e9d',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e9d;
$custom-light: #b169bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e9d",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 291.496,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47235,
    "c": 0.20115,
    "h": 321.4
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#8B1E9D
secondary
#64C254
accent
#EB3D56
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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