#8B2987#8B2987

#8B2987 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.171 H 329.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8B2987
RGBrgb(139, 41, 135)
HSLhsl(302, 54%, 35%)
HSVhsv(302, 71%, 55%)
CMYKcmyk(0%, 70.5%, 2.9%, 45.5%)
CIE-LABlab(35.65, 52.39, -31.41)
CIE-LCHlch(35.65, 61.08, 329.05°)
OKLaboklab(46.77% 0.1479 -0.0867)
OKLCHoklch(46.77% 0.171 329.6)
XYZxyz(15.8135, 8.8253, 23.7875)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2987 #298B2D
analogous
#5E298B #8B2987 #8B2956
triadic
#8B2987 #878B29 #29878B
tetradic
#8B2987 #8B5E29 #298B2D #29568B
square
#8B2987 #8B5E29 #298B2D #29568B
split-complementary
#8B2987 #568B29 #298B5E
monochromatic
#2C0D2B #5C1B59 #8B2987 #BA37B5 #D05FCB

Accessibility & contrast

On white

7.60
#8B2987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8B2987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2987
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2987#FFFFFF#000000##FFFFFF
##8B29871.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B8A
Deuteranopia (green-blind)
#455885
Tritanopia (blue-blind)
#903555
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2987;
/* rgb */ color: rgb(139, 41, 135);
/* oklch */ color: oklch(46.8% 0.171 329.6);
Tailwind
colors: {
  custom: {
    50: '#b06caa',
    500: '#8b2987',
    950: '#000000',
  },
}
SCSS
$custom: #8b2987;
$custom-light: #b06caa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2987",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 302.449,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46768,
    "c": 0.17141,
    "h": 329.6
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#8B2987
secondary
#5BB55E
accent
#DE504A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2987

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

Preview Lab → · Contrast checker → · Palette generator →

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