#8B2186#8B2186

#8B2186 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.180 H 330.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8B2186
RGBrgb(139, 33, 134)
HSLhsl(303, 62%, 34%)
HSVhsv(303, 76%, 55%)
CMYKcmyk(0%, 76.3%, 3.6%, 45.5%)
CIE-LABlab(34.60, 55.04, -32.45)
CIE-LCHlch(34.60, 63.89, 329.48°)
OKLaboklab(46% 0.156 -0.0896)
OKLCHoklch(46% 0.18 330.1)
XYZxyz(15.4943, 8.2991, 23.3355)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2186 #218B26
analogous
#5B218B #8B2186 #8B2151
triadic
#8B2186 #868B21 #21868B
tetradic
#8B2186 #8B5B21 #218B26 #21518B
square
#8B2186 #8B5B21 #218B26 #21518B
split-complementary
#8B2186 #518B21 #218B5B
monochromatic
#280A27 #5A1556 #8B2186 #BC2DB6 #D651CF

Accessibility & contrast

On white

7.90
#8B2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8B2186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2186
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2186#FFFFFF#000000##FFFFFF
##8B21861.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134889
Deuteranopia (green-blind)
#415683
Tritanopia (blue-blind)
#903052
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2186;
/* rgb */ color: rgb(139, 33, 134);
/* oklch */ color: oklch(46.0% 0.180 330.1);
Tailwind
colors: {
  custom: {
    50: '#b069a9',
    500: '#8b2186',
    950: '#000000',
  },
}
SCSS
$custom: #8b2186;
$custom-light: #b069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2186",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 302.83,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45998,
    "c": 0.17986,
    "h": 330.1
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#8B2186
secondary
#4FB954
accent
#E54B43
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2186

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

Preview Lab → · Contrast checker → · Palette generator →

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