#8B1E7D#8B1E7D

#8B1E7D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.176 H 334.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8B1E7D
RGBrgb(139, 30, 125)
HSLhsl(308, 64%, 33%)
HSVhsv(308, 78%, 55%)
CMYKcmyk(0%, 78.4%, 10.1%, 45.5%)
CIE-LABlab(33.77, 54.54, -28.14)
CIE-LCHlch(33.77, 61.37, 332.70°)
OKLaboklab(45.25% 0.1584 -0.0771)
OKLCHoklch(45.25% 0.176 334)
XYZxyz(14.8135, 7.8995, 20.1426)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E7D #1E8B2C
analogous
#621E8B #8B1E7D #8B1E47
triadic
#8B1E7D #7D8B1E #1E7D8B
tetradic
#8B1E7D #8B621E #1E8B2C #1E478B
square
#8B1E7D #8B621E #1E8B2C #1E478B
split-complementary
#8B1E7D #478B1E #1E8B62
monochromatic
#260822 #591350 #8B1E7D #BD29AA #D84BC6

Accessibility & contrast

On white

8.14
#8B1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8B1E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E7D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E7D#FFFFFF#000000##FFFFFF
##8B1E7D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4580
Deuteranopia (green-blind)
#45557A
Tritanopia (blue-blind)
#92294C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1e7d;
/* rgb */ color: rgb(139, 30, 125);
/* oklch */ color: oklch(45.2% 0.176 334.0);
Tailwind
colors: {
  custom: {
    50: '#b067a3',
    500: '#8b1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e7d;
$custom-light: #b067a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e7d",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 307.706,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45246,
    "c": 0.17617,
    "h": 334
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#8B1E7D
secondary
#4ABB59
accent
#E75640
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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