#8B1889#8B1889

#8B1889 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.191 H 329.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8B1889
RGBrgb(139, 24, 137)
HSLhsl(301, 71%, 32%)
HSVhsv(301, 83%, 55%)
CMYKcmyk(0%, 82.7%, 1.4%, 45.5%)
CIE-LABlab(33.88, 58.12, -35.45)
CIE-LCHlch(33.88, 68.08, 328.62°)
OKLaboklab(45.54% 0.1633 -0.0983)
OKLCHoklch(45.54% 0.191 329)
XYZxyz(15.4893, 7.9496, 24.3807)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1889 #188B1A
analogous
#53188B #8B1889 #8B1850
triadic
#8B1889 #898B18 #18898B
tetradic
#8B1889 #8B5318 #188B1A #18508B
square
#8B1889 #8B5318 #188B1A #18508B
split-complementary
#8B1889 #508B18 #188B53
monochromatic
#230622 #570F56 #8B1889 #BF21BC #DE3FDB

Accessibility & contrast

On white

8.11
#8B1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8B1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1889
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1889#FFFFFF#000000##FFFFFF
##8B18891.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1889;
/* rgb */ color: rgb(139, 24, 137);
/* oklch */ color: oklch(45.5% 0.191 329.0);
Tailwind
colors: {
  custom: {
    50: '#b166ac',
    500: '#8b1889',
    950: '#000000',
  },
}
SCSS
$custom: #8b1889;
$custom-light: #b166ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1889",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 301.043,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45541,
    "c": 0.19058,
    "h": 329
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#8B1889
secondary
#40BE43
accent
#ED3E3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1889

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

Preview Lab → · Contrast checker → · Palette generator →

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