#8B1482#8B1482

#8B1482 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.189 H 331.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8B1482
RGBrgb(139, 20, 130)
HSLhsl(305, 75%, 31%)
HSVhsv(305, 86%, 55%)
CMYKcmyk(0%, 85.6%, 6.5%, 45.5%)
CIE-LABlab(33.14, 57.95, -32.27)
CIE-LCHlch(33.14, 66.33, 330.89°)
OKLaboklab(44.89% 0.1662 -0.089)
OKLCHoklch(44.89% 0.189 331.8)
XYZxyz(14.9269, 7.6023, 21.7960)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1482 #148B1D
analogous
#58148B #8B1482 #8B1446
triadic
#8B1482 #828B14 #14828B
tetradic
#8B1482 #8B5814 #148B1D #14468B
square
#8B1482 #8B5814 #148B1D #14468B
split-complementary
#8B1482 #468B14 #148B58
monochromatic
#20051E #550C50 #8B1482 #C11CB4 #E237D5

Accessibility & contrast

On white

8.33
#8B1482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8B1482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1482
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1482#FFFFFF#000000##FFFFFF
##8B14821.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034485
Deuteranopia (green-blind)
#3F547F
Tritanopia (blue-blind)
#91264D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1482;
/* rgb */ color: rgb(139, 20, 130);
/* oklch */ color: oklch(44.9% 0.189 331.8);
Tailwind
colors: {
  custom: {
    50: '#b164a7',
    500: '#8b1482',
    950: '#000000',
  },
}
SCSS
$custom: #8b1482;
$custom-light: #b164a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1482",
  "rgb": {
    "r": 139,
    "g": 20,
    "b": 130
  },
  "hsl": {
    "h": 304.538,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44885,
    "c": 0.18853,
    "h": 331.8
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#8B1482
secondary
#3CBF46
accent
#F14436
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B1482

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

Preview Lab → · Contrast checker → · Palette generator →

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