#8B1481#8B1481

#8B1481 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.188 H 332.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8B1481
RGBrgb(139, 20, 129)
HSLhsl(305, 75%, 31%)
HSVhsv(305, 86%, 55%)
CMYKcmyk(0%, 85.6%, 7.2%, 45.5%)
CIE-LABlab(33.08, 57.79, -31.74)
CIE-LCHlch(33.08, 65.94, 331.23°)
OKLaboklab(44.83% 0.1662 -0.0875)
OKLCHoklch(44.83% 0.188 332.2)
XYZxyz(14.8601, 7.5756, 21.4442)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1481 #148B1E
analogous
#59148B #8B1481 #8B1445
triadic
#8B1481 #818B14 #14818B
tetradic
#8B1481 #8B5914 #148B1E #14458B
square
#8B1481 #8B5914 #148B1E #14458B
split-complementary
#8B1481 #458B14 #148B59
monochromatic
#20051E #550C4F #8B1481 #C11CB3 #E237D4

Accessibility & contrast

On white

8.35
#8B1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8B1481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1481
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1481#FFFFFF#000000##FFFFFF
##8B14811.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064384
Deuteranopia (green-blind)
#40537E
Tritanopia (blue-blind)
#91254C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1481;
/* rgb */ color: rgb(139, 20, 129);
/* oklch */ color: oklch(44.8% 0.188 332.2);
Tailwind
colors: {
  custom: {
    50: '#b164a6',
    500: '#8b1481',
    950: '#000000',
  },
}
SCSS
$custom: #8b1481;
$custom-light: #b164a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1481",
  "rgb": {
    "r": 139,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 305.042,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44825,
    "c": 0.18782,
    "h": 332.2
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#8B1481
secondary
#3CBF47
accent
#F14636
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B1481

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

Preview Lab → · Contrast checker → · Palette generator →

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