#8B1D79#8B1D79

#8B1D79 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.174 H 335.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8B1D79
RGBrgb(139, 29, 121)
HSLhsl(310, 65%, 33%)
HSVhsv(310, 79%, 55%)
CMYKcmyk(0%, 79.1%, 12.9%, 45.5%)
CIE-LABlab(33.46, 54.23, -26.13)
CIE-LCHlch(33.46, 60.20, 334.27°)
OKLaboklab(44.95% 0.159 -0.0713)
OKLCHoklch(44.95% 0.174 335.8)
XYZxyz(14.5382, 7.7495, 18.8156)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D79 #1D8B2F
analogous
#661D8B #8B1D79 #8B1D42
triadic
#8B1D79 #798B1D #1D798B
tetradic
#8B1D79 #8B661D #1D8B2F #1D428B
square
#8B1D79 #8B661D #1D8B2F #1D428B
split-complementary
#8B1D79 #428B1D #1D8B66
monochromatic
#260821 #58124D #8B1D79 #BE28A5 #D949C2

Accessibility & contrast

On white

8.24
#8B1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8B1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D79
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D79#FFFFFF#000000##FFFFFF
##8B1D791.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#465476
Tritanopia (blue-blind)
#92264A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1d79;
/* rgb */ color: rgb(139, 29, 121);
/* oklch */ color: oklch(45.0% 0.174 335.8);
Tailwind
colors: {
  custom: {
    50: '#b067a0',
    500: '#8b1d79',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d79;
$custom-light: #b067a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d79",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 309.818,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4495,
    "c": 0.17428,
    "h": 335.8
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#8B1D79
secondary
#49BB5B
accent
#E85B3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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