#8B1D9D#8B1D9D

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

Color values

HEX#8B1D9D
RGBrgb(139, 29, 157)
HSLhsl(292, 69%, 36%)
HSVhsv(292, 82%, 62%)
CMYKcmyk(11.5%, 81.5%, 0%, 38.4%)
CIE-LABlab(35.60, 60.24, -44.95)
CIE-LCHlch(35.60, 75.16, 323.27°)
OKLaboklab(47.17% 0.1579 -0.126)
OKLCHoklch(47.17% 0.202 321.4)
XYZxyz(17.1719, 8.8030, 32.6864)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D9D #2F9D1D
analogous
#4B1D9D #8B1D9D #9D1D6F
triadic
#8B1D9D #9D8B1D #1D9D8B
tetradic
#8B1D9D #9D4B1D #2F9D1D #1D6F9D
square
#8B1D9D #9D4B1D #2F9D1D #1D6F9D
split-complementary
#8B1D9D #6F9D1D #1D9D4B
monochromatic
#300A36 #5D1369 #8B1D9D #B927D1 #CC55E0

Accessibility & contrast

On white

7.61
#8B1D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8B1D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D9D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D9D#FFFFFF#000000##FFFFFF
##8B1D9D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1d9d;
/* rgb */ color: rgb(139, 29, 157);
/* oklch */ color: oklch(47.2% 0.202 321.4);
Tailwind
colors: {
  custom: {
    50: '#b168bb',
    500: '#8b1d9d',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d9d;
$custom-light: #b168bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d9d",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 157
  },
  "hsl": {
    "h": 291.563,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47167,
    "c": 0.20202,
    "h": 321.4
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#8B1D9D
secondary
#63C353
accent
#EC3C55
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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