#8B2986#8B2986

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

Color values

HEX#8B2986
RGBrgb(139, 41, 134)
HSLhsl(303, 54%, 35%)
HSVhsv(303, 71%, 55%)
CMYKcmyk(0%, 70.5%, 3.6%, 45.5%)
CIE-LABlab(35.59, 52.22, -30.88)
CIE-LCHlch(35.59, 60.67, 329.40°)
OKLaboklab(46.71% 0.1479 -0.0851)
OKLCHoklch(46.71% 0.171 330.1)
XYZxyz(15.7434, 8.7973, 23.4185)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2986 #298B2E
analogous
#5F298B #8B2986 #8B2955
triadic
#8B2986 #868B29 #29868B
tetradic
#8B2986 #8B5F29 #298B2E #29558B
square
#8B2986 #8B5F29 #298B2E #29558B
split-complementary
#8B2986 #558B29 #298B5F
monochromatic
#2C0D2B #5C1B58 #8B2986 #BA37B4 #D05FCA

Accessibility & contrast

On white

7.61
#8B2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2986
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2986#FFFFFF#000000##FFFFFF
##8B29861.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#455884
Tritanopia (blue-blind)
#903554
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2986;
/* rgb */ color: rgb(139, 41, 134);
/* oklch */ color: oklch(46.7% 0.171 330.1);
Tailwind
colors: {
  custom: {
    50: '#b06ca9',
    500: '#8b2986',
    950: '#000000',
  },
}
SCSS
$custom: #8b2986;
$custom-light: #b06ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2986",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 303.061,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46711,
    "c": 0.1706,
    "h": 330.1
  },
  "luminance": 0.08796
}

Semantic roles & 50–950 ramp

primary
#8B2986
secondary
#5BB55F
accent
#DE524A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2986

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

Preview Lab → · Contrast checker → · Palette generator →

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