#8B2E87#8B2E87

#8B2E87 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.165 H 329.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8B2E87
RGBrgb(139, 46, 135)
HSLhsl(303, 50%, 36%)
HSVhsv(303, 67%, 55%)
CMYKcmyk(0%, 66.9%, 2.9%, 45.5%)
CIE-LABlab(36.35, 50.40, -30.29)
CIE-LCHlch(36.35, 58.80, 328.99°)
OKLaboklab(47.28% 0.1422 -0.0835)
OKLCHoklch(47.28% 0.165 329.6)
XYZxyz(15.9975, 9.1934, 23.8489)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E87 #2E8B32
analogous
#612E8B #8B2E87 #8B2E59
triadic
#8B2E87 #878B2E #2E878B
tetradic
#8B2E87 #8B612E #2E8B32 #2E598B
square
#8B2E87 #8B612E #2E8B32 #2E598B
split-complementary
#8B2E87 #598B2E #2E8B61
monochromatic
#2F102E #5D1F5A #8B2E87 #B93DB4 #CD67C8

Accessibility & contrast

On white

7.40
#8B2E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8B2E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2E87
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E87#FFFFFF#000000##FFFFFF
##8B2E871.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D8A
Deuteranopia (green-blind)
#475A85
Tritanopia (blue-blind)
#903956
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2e87;
/* rgb */ color: rgb(139, 46, 135);
/* oklch */ color: oklch(47.3% 0.165 329.6);
Tailwind
colors: {
  custom: {
    50: '#b06eaa',
    500: '#8b2e87',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e87;
$custom-light: #b06eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e87",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 302.581,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4728,
    "c": 0.16489,
    "h": 329.6
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#8B2E87
secondary
#61B365
accent
#DA544E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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