#8B2189#8B2189

#8B2189 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.182 H 328.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8B2189
RGBrgb(139, 33, 137)
HSLhsl(301, 62%, 34%)
HSVhsv(301, 76%, 55%)
CMYKcmyk(0%, 76.3%, 1.4%, 45.5%)
CIE-LABlab(34.77, 55.54, -34.03)
CIE-LCHlch(34.77, 65.14, 328.50°)
OKLaboklab(46.18% 0.156 -0.0942)
OKLCHoklch(46.18% 0.182 328.9)
XYZxyz(15.7065, 8.3840, 24.4531)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2189 #218B23
analogous
#58218B #8B2189 #8B2154
triadic
#8B2189 #898B21 #21898B
tetradic
#8B2189 #8B5821 #218B23 #21548B
square
#8B2189 #8B5821 #218B23 #21548B
split-complementary
#8B2189 #548B21 #218B58
monochromatic
#280A28 #5A1558 #8B2189 #BC2DBA #D651D3

Accessibility & contrast

On white

7.85
#8B2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8B2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2189
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2189#FFFFFF#000000##FFFFFF
##8B21891.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D498C
Deuteranopia (green-blind)
#405786
Tritanopia (blue-blind)
#903154
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2189;
/* rgb */ color: rgb(139, 33, 137);
/* oklch */ color: oklch(46.2% 0.182 328.9);
Tailwind
colors: {
  custom: {
    50: '#b069ac',
    500: '#8b2189',
    950: '#000000',
  },
}
SCSS
$custom: #8b2189;
$custom-light: #b069ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2189",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 301.132,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46177,
    "c": 0.1822,
    "h": 328.9
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#8B2189
secondary
#4FB951
accent
#E54643
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2189

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

Preview Lab → · Contrast checker → · Palette generator →

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