#8B1C7D#8B1C7D

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

Color values

HEX#8B1C7D
RGBrgb(139, 28, 125)
HSLhsl(308, 66%, 33%)
HSVhsv(308, 80%, 55%)
CMYKcmyk(0%, 79.9%, 10.1%, 45.5%)
CIE-LABlab(33.57, 55.13, -28.47)
CIE-LCHlch(33.57, 62.05, 332.69°)
OKLaboklab(45.1% 0.1601 -0.0781)
OKLCHoklch(45.1% 0.178 334)
XYZxyz(14.7645, 7.8015, 20.1263)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C7D #1C8B2A
analogous
#621C8B #8B1C7D #8B1C45
triadic
#8B1C7D #7D8B1C #1C7D8B
tetradic
#8B1C7D #8B621C #1C8B2A #1C458B
square
#8B1C7D #8B621C #1C8B2A #1C458B
split-complementary
#8B1C7D #458B1C #1C8B62
monochromatic
#250721 #58124F #8B1C7D #BE26AB #DA47C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B1C7D#FFFFFF#000000##FFFFFF
##8B1C7D1.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)
#194580
Deuteranopia (green-blind)
#44557A
Tritanopia (blue-blind)
#92284C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1c7d;
/* rgb */ color: rgb(139, 28, 125);
/* oklch */ color: oklch(45.1% 0.178 334.0);
Tailwind
colors: {
  custom: {
    50: '#b166a3',
    500: '#8b1c7d',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c7d;
$custom-light: #b166a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c7d",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 307.568,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45098,
    "c": 0.17815,
    "h": 334
  },
  "luminance": 0.078
}

Semantic roles & 50–950 ramp

primary
#8B1C7D
secondary
#47BC56
accent
#E9543E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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