#8B2188#8B2188

#8B2188 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.181 H 329.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8B2188
RGBrgb(139, 33, 136)
HSLhsl(302, 62%, 34%)
HSVhsv(302, 76%, 55%)
CMYKcmyk(0%, 76.3%, 2.2%, 45.5%)
CIE-LABlab(34.71, 55.37, -33.51)
CIE-LCHlch(34.71, 64.72, 328.82°)
OKLaboklab(46.12% 0.156 -0.0927)
OKLCHoklch(46.12% 0.181 329.3)
XYZxyz(15.6351, 8.3554, 24.0771)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2188 #218B24
analogous
#59218B #8B2188 #8B2153
triadic
#8B2188 #888B21 #21888B
tetradic
#8B2188 #8B5921 #218B24 #21538B
square
#8B2188 #8B5921 #218B24 #21538B
split-complementary
#8B2188 #538B21 #218B59
monochromatic
#280A27 #5A1558 #8B2188 #BC2DB8 #D651D2

Accessibility & contrast

On white

7.86
#8B2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8B2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2188
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2188#FFFFFF#000000##FFFFFF
##8B21881.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498B
Deuteranopia (green-blind)
#405785
Tritanopia (blue-blind)
#903153
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2188;
/* rgb */ color: rgb(139, 33, 136);
/* oklch */ color: oklch(46.1% 0.181 329.3);
Tailwind
colors: {
  custom: {
    50: '#b069ab',
    500: '#8b2188',
    950: '#000000',
  },
}
SCSS
$custom: #8b2188;
$custom-light: #b069ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2188",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 301.698,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46117,
    "c": 0.18141,
    "h": 329.3
  },
  "luminance": 0.08354
}

Semantic roles & 50–950 ramp

primary
#8B2188
secondary
#4FB952
accent
#E54843
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2188

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

Preview Lab → · Contrast checker → · Palette generator →

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