#8B1C7A#8B1C7A

#8B1C7A is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.176 H 335.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8B1C7A
RGBrgb(139, 28, 122)
HSLhsl(309, 66%, 33%)
HSVhsv(309, 80%, 55%)
CMYKcmyk(0%, 79.9%, 12.2%, 45.5%)
CIE-LABlab(33.41, 54.67, -26.84)
CIE-LCHlch(33.41, 60.91, 333.85°)
OKLaboklab(44.93% 0.16 -0.0734)
OKLCHoklch(44.93% 0.176 335.4)
XYZxyz(14.5758, 7.7260, 19.1322)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C7A #1C8B2D
analogous
#641C8B #8B1C7A #8B1C43
triadic
#8B1C7A #7A8B1C #1C7A8B
tetradic
#8B1C7A #8B641C #1C8B2D #1C438B
square
#8B1C7A #8B641C #1C8B2D #1C438B
split-complementary
#8B1C7A #438B1C #1C8B64
monochromatic
#250721 #58124D #8B1C7A #BE26A7 #DA47C4

Accessibility & contrast

On white

8.25
#8B1C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1C7A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1C7A#FFFFFF#000000##FFFFFF
##8B1C7A1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1c7a;
/* rgb */ color: rgb(139, 28, 122);
/* oklch */ color: oklch(44.9% 0.176 335.4);
Tailwind
colors: {
  custom: {
    50: '#b166a1',
    500: '#8b1c7a',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c7a;
$custom-light: #b166a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c7a",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 309.189,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44931,
    "c": 0.17599,
    "h": 335.4
  },
  "luminance": 0.07725
}

Semantic roles & 50–950 ramp

primary
#8B1C7A
secondary
#47BC59
accent
#E9593E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8B1C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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