#8B1989#8B1989

#8B1989 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.190 H 329.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8B1989
RGBrgb(139, 25, 137)
HSLhsl(301, 70%, 32%)
HSVhsv(301, 82%, 55%)
CMYKcmyk(0%, 82%, 1.4%, 45.5%)
CIE-LABlab(33.97, 57.86, -35.31)
CIE-LCHlch(33.97, 67.79, 328.61°)
OKLaboklab(45.6% 0.1626 -0.0979)
OKLCHoklch(45.6% 0.19 329)
XYZxyz(15.5103, 7.9916, 24.3877)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1989 #198B1B
analogous
#54198B #8B1989 #8B1950
triadic
#8B1989 #898B19 #19898B
tetradic
#8B1989 #8B5419 #198B1B #19508B
square
#8B1989 #8B5419 #198B1B #19508B
split-complementary
#8B1989 #508B19 #198B54
monochromatic
#230623 #571056 #8B1989 #BF22BC #DD41DA

Accessibility & contrast

On white

8.08
#8B1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8B1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1989
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1989#FFFFFF#000000##FFFFFF
##8B19891.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#902D52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1989;
/* rgb */ color: rgb(139, 25, 137);
/* oklch */ color: oklch(45.6% 0.190 329.0);
Tailwind
colors: {
  custom: {
    50: '#b166ac',
    500: '#8b1989',
    950: '#000000',
  },
}
SCSS
$custom: #8b1989;
$custom-light: #b166ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1989",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 301.053,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45603,
    "c": 0.18975,
    "h": 329
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#8B1989
secondary
#42BE44
accent
#EC3F3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1989

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

Preview Lab → · Contrast checker → · Palette generator →

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