#8B2183#8B2183

#8B2183 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.178 H 331.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8B2183
RGBrgb(139, 33, 131)
HSLhsl(305, 62%, 34%)
HSVhsv(305, 76%, 55%)
CMYKcmyk(0%, 76.3%, 5.8%, 45.5%)
CIE-LABlab(34.43, 54.55, -30.85)
CIE-LCHlch(34.43, 62.67, 330.51°)
OKLaboklab(45.82% 0.1559 -0.085)
OKLCHoklch(45.82% 0.178 331.4)
XYZxyz(15.2881, 8.2166, 22.2491)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2183 #218B29
analogous
#5E218B #8B2183 #8B214E
triadic
#8B2183 #838B21 #21838B
tetradic
#8B2183 #8B5E21 #218B29 #214E8B
square
#8B2183 #8B5E21 #218B29 #214E8B
split-complementary
#8B2183 #4E8B21 #218B5E
monochromatic
#280A26 #5A1554 #8B2183 #BC2DB2 #D651CC

Accessibility & contrast

On white

7.95
#8B2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8B2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2183
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2183#FFFFFF#000000##FFFFFF
##8B21831.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174886
Deuteranopia (green-blind)
#435680
Tritanopia (blue-blind)
#912E50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2183;
/* rgb */ color: rgb(139, 33, 131);
/* oklch */ color: oklch(45.8% 0.178 331.4);
Tailwind
colors: {
  custom: {
    50: '#b068a7',
    500: '#8b2183',
    950: '#000000',
  },
}
SCSS
$custom: #8b2183;
$custom-light: #b068a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2183",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 304.528,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45823,
    "c": 0.17754,
    "h": 331.4
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#8B2183
secondary
#4FB957
accent
#E54F43
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2183

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

Preview Lab → · Contrast checker → · Palette generator →

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