#8B1988#8B1988

#8B1988 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.189 H 329.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8B1988
RGBrgb(139, 25, 136)
HSLhsl(302, 70%, 32%)
HSVhsv(302, 82%, 55%)
CMYKcmyk(0%, 82%, 2.2%, 45.5%)
CIE-LABlab(33.91, 57.70, -34.79)
CIE-LCHlch(33.91, 67.38, 328.91°)
OKLaboklab(45.54% 0.1626 -0.0963)
OKLCHoklch(45.54% 0.189 329.4)
XYZxyz(15.4389, 7.9630, 24.0117)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1988 #198B1C
analogous
#55198B #8B1988 #8B194F
triadic
#8B1988 #888B19 #19888B
tetradic
#8B1988 #8B5519 #198B1C #194F8B
square
#8B1988 #8B5519 #198B1C #194F8B
split-complementary
#8B1988 #4F8B19 #198B55
monochromatic
#230622 #571055 #8B1988 #BF22BB #DD41D9

Accessibility & contrast

On white

8.10
#8B1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1988
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1988#FFFFFF#000000##FFFFFF
##8B19881.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#3D5585
Tritanopia (blue-blind)
#902C51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1988;
/* rgb */ color: rgb(139, 25, 136);
/* oklch */ color: oklch(45.5% 0.189 329.4);
Tailwind
colors: {
  custom: {
    50: '#b166ab',
    500: '#8b1988',
    950: '#000000',
  },
}
SCSS
$custom: #8b1988;
$custom-light: #b166ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1988",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 301.579,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45542,
    "c": 0.18901,
    "h": 329.4
  },
  "luminance": 0.07962
}

Semantic roles & 50–950 ramp

primary
#8B1988
secondary
#42BE45
accent
#EC403B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1988

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

Preview Lab → · Contrast checker → · Palette generator →

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