#8B2B87#8B2B87

#8B2B87 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.0% C 0.169 H 329.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8B2B87
RGBrgb(139, 43, 135)
HSLhsl(303, 53%, 36%)
HSVhsv(303, 69%, 55%)
CMYKcmyk(0%, 69.1%, 2.9%, 45.5%)
CIE-LABlab(35.92, 51.61, -30.98)
CIE-LCHlch(35.92, 60.20, 329.03°)
OKLaboklab(46.97% 0.1457 -0.0854)
OKLCHoklch(46.97% 0.169 329.6)
XYZxyz(15.8844, 8.9672, 23.8112)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2B87 #2B8B2F
analogous
#5F2B8B #8B2B87 #8B2B57
triadic
#8B2B87 #878B2B #2B878B
tetradic
#8B2B87 #8B5F2B #2B8B2F #2B578B
square
#8B2B87 #8B5F2B #2B8B2F #2B578B
split-complementary
#8B2B87 #578B2B #2B8B5F
monochromatic
#2E0E2C #5C1D5A #8B2B87 #BA39B4 #CE62CA

Accessibility & contrast

On white

7.52
#8B2B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8B2B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2B87
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2B87#FFFFFF#000000##FFFFFF
##8B2B871.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C8A
Deuteranopia (green-blind)
#465985
Tritanopia (blue-blind)
#903755
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2b87;
/* rgb */ color: rgb(139, 43, 135);
/* oklch */ color: oklch(47.0% 0.169 329.6);
Tailwind
colors: {
  custom: {
    50: '#b06daa',
    500: '#8b2b87',
    950: '#000000',
  },
}
SCSS
$custom: #8b2b87;
$custom-light: #b06daa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2b87",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 302.5,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46967,
    "c": 0.16887,
    "h": 329.6
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#8B2B87
secondary
#5DB561
accent
#DC524C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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