#8B2A86#8B2A86

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

Color values

HEX#8B2A86
RGBrgb(139, 42, 134)
HSLhsl(303, 54%, 35%)
HSVhsv(303, 70%, 55%)
CMYKcmyk(0%, 69.8%, 3.6%, 45.5%)
CIE-LABlab(35.73, 51.83, -30.66)
CIE-LCHlch(35.73, 60.22, 329.39°)
OKLaboklab(46.81% 0.1467 -0.0845)
OKLCHoklch(46.81% 0.169 330.1)
XYZxyz(15.7784, 8.8673, 23.4302)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A86 #2A8B2F
analogous
#5F2A8B #8B2A86 #8B2A55
triadic
#8B2A86 #868B2A #2A868B
tetradic
#8B2A86 #8B5F2A #2A8B2F #2A558B
square
#8B2A86 #8B5F2A #2A8B2F #2A558B
split-complementary
#8B2A86 #558B2A #2A8B5F
monochromatic
#2D0E2B #5C1C59 #8B2A86 #BA38B3 #CF60C9

Accessibility & contrast

On white

7.57
#8B2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8B2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A86
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A86#FFFFFF#000000##FFFFFF
##8B2A861.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#465984
Tritanopia (blue-blind)
#903654
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2a86;
/* rgb */ color: rgb(139, 42, 134);
/* oklch */ color: oklch(46.8% 0.169 330.1);
Tailwind
colors: {
  custom: {
    50: '#b06da9',
    500: '#8b2a86',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a86;
$custom-light: #b06da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a86",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 303.093,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4681,
    "c": 0.16934,
    "h": 330.1
  },
  "luminance": 0.08866
}

Semantic roles & 50–950 ramp

primary
#8B2A86
secondary
#5CB560
accent
#DD524B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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