#8B1D7C#8B1D7C

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

Color values

HEX#8B1D7C
RGBrgb(139, 29, 124)
HSLhsl(308, 65%, 33%)
HSVhsv(308, 79%, 55%)
CMYKcmyk(0%, 79.1%, 10.8%, 45.5%)
CIE-LABlab(33.61, 54.69, -27.77)
CIE-LCHlch(33.61, 61.33, 333.08°)
OKLaboklab(45.12% 0.1592 -0.0761)
OKLCHoklch(45.12% 0.176 334.5)
XYZxyz(14.7251, 7.8243, 19.7996)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D7C #1D8B2C
analogous
#631D8B #8B1D7C #8B1D45
triadic
#8B1D7C #7C8B1D #1D7C8B
tetradic
#8B1D7C #8B631D #1D8B2C #1D458B
square
#8B1D7C #8B631D #1D8B2C #1D458B
split-complementary
#8B1D7C #458B1D #1D8B63
monochromatic
#260822 #58124F #8B1D7C #BE28A9 #D949C5

Accessibility & contrast

On white

8.19
#8B1D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1D7C
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D7C#FFFFFF#000000##FFFFFF
##8B1D7C1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#455579
Tritanopia (blue-blind)
#92284B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1d7c;
/* rgb */ color: rgb(139, 29, 124);
/* oklch */ color: oklch(45.1% 0.176 334.5);
Tailwind
colors: {
  custom: {
    50: '#b067a2',
    500: '#8b1d7c',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d7c;
$custom-light: #b067a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d7c",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 308.182,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45115,
    "c": 0.17644,
    "h": 334.5
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#8B1D7C
secondary
#49BB58
accent
#E8563F
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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