#8B1D8B#8B1D8B

#8B1D8B is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.188 H 328.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8B1D8B
RGBrgb(139, 29, 139)
HSLhsl(300, 65%, 33%)
HSVhsv(300, 79%, 55%)
CMYKcmyk(0%, 79.1%, 0%, 45.5%)
CIE-LABlab(34.46, 57.10, -35.76)
CIE-LCHlch(34.46, 67.37, 327.94°)
OKLaboklab(46% 0.1594 -0.0992)
OKLCHoklch(46% 0.188 328.1)
XYZxyz(15.7468, 8.2330, 25.1808)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D8B #1D8B1D
analogous
#541D8B #8B1D8B #8B1D54
triadic
#8B1D8B #8B8B1D #1D8B8B
tetradic
#8B1D8B #8B541D #1D8B1D #1D548B
square
#8B1D8B #8B541D #1D8B1D #1D548B
split-complementary
#8B1D8B #548B1D #1D8B54
monochromatic
#260826 #581258 #8B1D8B #BE28BE #D949D9

Accessibility & contrast

On white

7.94
#8B1D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8B1D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D8B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D8B#FFFFFF#000000##FFFFFF
##8B1D8B1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#3D5688
Tritanopia (blue-blind)
#903054
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1d8b;
/* rgb */ color: rgb(139, 29, 139);
/* oklch */ color: oklch(46.0% 0.188 328.1);
Tailwind
colors: {
  custom: {
    50: '#b167ad',
    500: '#8b1d8b',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d8b;
$custom-light: #b167ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d8b",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 300,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45996,
    "c": 0.18773,
    "h": 328.1
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#8B1D8B
secondary
#49BB49
accent
#E83F3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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