#8B2185#8B2185

#8B2185 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.179 H 330.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8B2185
RGBrgb(139, 33, 133)
HSLhsl(303, 62%, 34%)
HSVhsv(303, 76%, 55%)
CMYKcmyk(0%, 76.3%, 4.3%, 45.5%)
CIE-LABlab(34.54, 54.88, -31.92)
CIE-LCHlch(34.54, 63.48, 329.82°)
OKLaboklab(45.94% 0.1559 -0.0881)
OKLCHoklch(45.94% 0.179 330.5)
XYZxyz(15.4249, 8.2714, 22.9699)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2185 #218B27
analogous
#5C218B #8B2185 #8B2150
triadic
#8B2185 #858B21 #21858B
tetradic
#8B2185 #8B5C21 #218B27 #21508B
square
#8B2185 #8B5C21 #218B27 #21508B
split-complementary
#8B2185 #508B21 #218B5C
monochromatic
#280A26 #5A1556 #8B2185 #BC2DB4 #D651CE

Accessibility & contrast

On white

7.91
#8B2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8B2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2185
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2185#FFFFFF#000000##FFFFFF
##8B21851.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154888
Deuteranopia (green-blind)
#425682
Tritanopia (blue-blind)
#912F51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2185;
/* rgb */ color: rgb(139, 33, 133);
/* oklch */ color: oklch(45.9% 0.179 330.5);
Tailwind
colors: {
  custom: {
    50: '#b069a9',
    500: '#8b2185',
    950: '#000000',
  },
}
SCSS
$custom: #8b2185;
$custom-light: #b069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2185",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 303.396,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4594,
    "c": 0.17908,
    "h": 330.5
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#8B2185
secondary
#4FB955
accent
#E54C43
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2185

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

Preview Lab → · Contrast checker → · Palette generator →

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