#8B1C88#8B1C88

#8B1C88 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.186 H 329.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8B1C88
RGBrgb(139, 28, 136)
HSLhsl(302, 66%, 33%)
HSVhsv(302, 80%, 55%)
CMYKcmyk(0%, 79.9%, 2.2%, 45.5%)
CIE-LABlab(34.19, 56.89, -34.34)
CIE-LCHlch(34.19, 66.45, 328.88°)
OKLaboklab(45.74% 0.1603 -0.0951)
OKLCHoklch(45.74% 0.186 329.3)
XYZxyz(15.5065, 8.0983, 24.0342)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C88 #1C8B1F
analogous
#571C8B #8B1C88 #8B1C50
triadic
#8B1C88 #888B1C #1C888B
tetradic
#8B1C88 #8B571C #1C8B1F #1C508B
square
#8B1C88 #8B571C #1C8B1F #1C508B
split-complementary
#8B1C88 #508B1C #1C8B57
monochromatic
#250724 #581256 #8B1C88 #BE26BA #DA47D6

Accessibility & contrast

On white

8.02
#8B1C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8B1C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1C88
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1C88#FFFFFF#000000##FFFFFF
##8B1C881.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04478B
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#902E52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1c88;
/* rgb */ color: rgb(139, 28, 136);
/* oklch */ color: oklch(45.7% 0.186 329.3);
Tailwind
colors: {
  custom: {
    50: '#b167ab',
    500: '#8b1c88',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c88;
$custom-light: #b167ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c88",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 301.622,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45742,
    "c": 0.18635,
    "h": 329.3
  },
  "luminance": 0.08097
}

Semantic roles & 50–950 ramp

primary
#8B1C88
secondary
#47BC4A
accent
#E9433E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1C88

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

Preview Lab → · Contrast checker → · Palette generator →

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