#8B1583#8B1583

#8B1583 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.189 H 331.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8B1583
RGBrgb(139, 21, 131)
HSLhsl(304, 74%, 31%)
HSVhsv(304, 85%, 55%)
CMYKcmyk(0%, 84.9%, 5.8%, 45.5%)
CIE-LABlab(33.28, 57.88, -32.68)
CIE-LCHlch(33.28, 66.47, 330.55°)
OKLaboklab(45% 0.1655 -0.0902)
OKLCHoklch(45% 0.189 331.4)
XYZxyz(15.0124, 7.6653, 22.1572)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1583 #158B1D
analogous
#58158B #8B1583 #8B1548
triadic
#8B1583 #838B15 #15838B
tetradic
#8B1583 #8B5815 #158B1D #15488B
square
#8B1583 #8B5815 #158B1D #15488B
split-complementary
#8B1583 #488B15 #158B58
monochromatic
#21051F #560D51 #8B1583 #C01DB5 #E139D6

Accessibility & contrast

On white

8.29
#8B1583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8B1583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1583
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1583#FFFFFF#000000##FFFFFF
##8B15831.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024486
Deuteranopia (green-blind)
#3F5480
Tritanopia (blue-blind)
#91274E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1583;
/* rgb */ color: rgb(139, 21, 131);
/* oklch */ color: oklch(45.0% 0.189 331.4);
Tailwind
colors: {
  custom: {
    50: '#b164a7',
    500: '#8b1583',
    950: '#000000',
  },
}
SCSS
$custom: #8b1583;
$custom-light: #b164a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1583",
  "rgb": {
    "r": 139,
    "g": 21,
    "b": 131
  },
  "hsl": {
    "h": 304.068,
    "s": 73.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45,
    "c": 0.18851,
    "h": 331.4
  },
  "luminance": 0.07664
}

Semantic roles & 50–950 ramp

primary
#8B1583
secondary
#3DBF46
accent
#F04437
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B1583

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

Preview Lab → · Contrast checker → · Palette generator →

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