#8B1D7B#8B1D7B

#8B1D7B is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.176 H 334.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8B1D7B
RGBrgb(139, 29, 123)
HSLhsl(309, 65%, 33%)
HSVhsv(309, 79%, 55%)
CMYKcmyk(0%, 79.1%, 11.5%, 45.5%)
CIE-LABlab(33.56, 54.53, -27.22)
CIE-LCHlch(33.56, 60.95, 333.47°)
OKLaboklab(45.06% 0.1592 -0.0745)
OKLCHoklch(45.06% 0.176 334.9)
XYZxyz(14.6622, 7.7991, 19.4682)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D7B #1D8B2D
analogous
#641D8B #8B1D7B #8B1D44
triadic
#8B1D7B #7B8B1D #1D7B8B
tetradic
#8B1D7B #8B641D #1D8B2D #1D448B
square
#8B1D7B #8B641D #1D8B2D #1D448B
split-complementary
#8B1D7B #448B1D #1D8B64
monochromatic
#260821 #58124E #8B1D7B #BE28A8 #D949C4

Accessibility & contrast

On white

8.20
#8B1D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8B1D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D7B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D7B#FFFFFF#000000##FFFFFF
##8B1D7B1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457D
Deuteranopia (green-blind)
#455578
Tritanopia (blue-blind)
#92274B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1d7b;
/* rgb */ color: rgb(139, 29, 123);
/* oklch */ color: oklch(45.1% 0.176 334.9);
Tailwind
colors: {
  custom: {
    50: '#b067a1',
    500: '#8b1d7b',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d7b;
$custom-light: #b067a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d7b",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 308.727,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4506,
    "c": 0.17572,
    "h": 334.9
  },
  "luminance": 0.07798
}

Semantic roles & 50–950 ramp

primary
#8B1D7B
secondary
#49BB59
accent
#E8583F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8B1D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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