#8B1888#8B1888

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

Color values

HEX#8B1888
RGBrgb(139, 24, 136)
HSLhsl(302, 71%, 32%)
HSVhsv(302, 83%, 55%)
CMYKcmyk(0%, 82.7%, 2.2%, 45.5%)
CIE-LABlab(33.82, 57.96, -34.93)
CIE-LCHlch(33.82, 67.67, 328.92°)
OKLaboklab(45.48% 0.1633 -0.0967)
OKLCHoklch(45.48% 0.19 329.4)
XYZxyz(15.4179, 7.9210, 24.0047)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1888 #188B1B
analogous
#55188B #8B1888 #8B184F
triadic
#8B1888 #888B18 #18888B
tetradic
#8B1888 #8B5518 #188B1B #184F8B
square
#8B1888 #8B5518 #188B1B #184F8B
split-complementary
#8B1888 #4F8B18 #188B55
monochromatic
#230622 #570F55 #8B1888 #BF21BB #DE3FDA

Accessibility & contrast

On white

8.13
#8B1888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8B1888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1888
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1888#FFFFFF#000000##FFFFFF
##8B18881.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#3D5585
Tritanopia (blue-blind)
#902B51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1888;
/* rgb */ color: rgb(139, 24, 136);
/* oklch */ color: oklch(45.5% 0.190 329.4);
Tailwind
colors: {
  custom: {
    50: '#b166ab',
    500: '#8b1888',
    950: '#000000',
  },
}
SCSS
$custom: #8b1888;
$custom-light: #b166ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1888",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 301.565,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45479,
    "c": 0.18984,
    "h": 329.4
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#8B1888
secondary
#40BE44
accent
#ED3F3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1888

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

Preview Lab → · Contrast checker → · Palette generator →

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