#8B2B84#8B2B84

#8B2B84 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.8% C 0.166 H 331.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8B2B84
RGBrgb(139, 43, 132)
HSLhsl(304, 53%, 36%)
HSVhsv(304, 69%, 55%)
CMYKcmyk(0%, 69.1%, 5%, 45.5%)
CIE-LABlab(35.76, 51.10, -29.38)
CIE-LCHlch(35.76, 58.94, 330.11°)
OKLaboklab(46.8% 0.1455 -0.0808)
OKLCHoklch(46.8% 0.166 331)
XYZxyz(15.6762, 8.8839, 22.7144)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2B84 #2B8B32
analogous
#622B8B #8B2B84 #8B2B54
triadic
#8B2B84 #848B2B #2B848B
tetradic
#8B2B84 #8B622B #2B8B32 #2B548B
square
#8B2B84 #8B622B #2B8B32 #2B548B
split-complementary
#8B2B84 #548B2B #2B8B62
monochromatic
#2E0E2B #5C1D58 #8B2B84 #BA39B0 #CE62C7

Accessibility & contrast

On white

7.56
#8B2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8B2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2B84
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2B84#FFFFFF#000000##FFFFFF
##8B2B841.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C87
Deuteranopia (green-blind)
#475982
Tritanopia (blue-blind)
#913654
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2b84;
/* rgb */ color: rgb(139, 43, 132);
/* oklch */ color: oklch(46.8% 0.166 331.0);
Tailwind
colors: {
  custom: {
    50: '#b06da8',
    500: '#8b2b84',
    950: '#000000',
  },
}
SCSS
$custom: #8b2b84;
$custom-light: #b06da8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2b84",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 304.375,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46798,
    "c": 0.16641,
    "h": 331
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

primary
#8B2B84
secondary
#5DB564
accent
#DC564C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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