#8B1C8D#8B1C8D

#8B1C8D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.190 H 327.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8B1C8D
RGBrgb(139, 28, 141)
HSLhsl(299, 67%, 33%)
HSVhsv(299, 80%, 55%)
CMYKcmyk(1.4%, 80.1%, 0%, 44.7%)
CIE-LABlab(34.49, 57.72, -36.96)
CIE-LCHlch(34.49, 68.54, 327.37°)
OKLaboklab(46.05% 0.1601 -0.1027)
OKLCHoklch(46.05% 0.19 327.3)
XYZxyz(15.8702, 8.2437, 25.9495)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C8D #1E8D1C
analogous
#521C8D #8B1C8D #8D1C56
triadic
#8B1C8D #8D8B1C #1C8D8B
tetradic
#8B1C8D #8D521C #1E8D1C #1C568D
square
#8B1C8D #8D521C #1E8D1C #1C568D
split-complementary
#8B1C8D #568D1C #1C8D52
monochromatic
#260827 #59125A #8B1C8D #BD26C0 #D849DB

Accessibility & contrast

On white

7.93
#8B1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1C8D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1C8D#FFFFFF#000000##FFFFFF
##8B1C8D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#8F3055
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1c8d;
/* rgb */ color: rgb(139, 28, 141);
/* oklch */ color: oklch(46.1% 0.190 327.3);
Tailwind
colors: {
  custom: {
    50: '#b167af',
    500: '#8b1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c8d;
$custom-light: #b167af;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c8d",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 298.938,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4605,
    "c": 0.1902,
    "h": 327.3
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#8B1C8D
secondary
#4ABD48
accent
#EA3E41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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