#8B2386#8B2386

#8B2386 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.178 H 330.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8B2386
RGBrgb(139, 35, 134)
HSLhsl(303, 60%, 34%)
HSVhsv(303, 75%, 55%)
CMYKcmyk(0%, 74.8%, 3.6%, 45.5%)
CIE-LABlab(34.83, 54.38, -32.08)
CIE-LCHlch(34.83, 63.14, 329.46°)
OKLaboklab(46.16% 0.1541 -0.0886)
OKLCHoklch(46.16% 0.178 330.1)
XYZxyz(15.5515, 8.4135, 23.3545)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2386 #238B28
analogous
#5C238B #8B2386 #8B2352
triadic
#8B2386 #868B23 #23868B
tetradic
#8B2386 #8B5C23 #238B28 #23528B
square
#8B2386 #8B5C23 #238B28 #23528B
split-complementary
#8B2386 #528B23 #238B5C
monochromatic
#290A28 #5A1757 #8B2386 #BC2FB5 #D454CE

Accessibility & contrast

On white

7.83
#8B2386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8B2386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2386
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2386#FFFFFF#000000##FFFFFF
##8B23861.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164989
Deuteranopia (green-blind)
#425783
Tritanopia (blue-blind)
#903152
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2386;
/* rgb */ color: rgb(139, 35, 134);
/* oklch */ color: oklch(46.2% 0.178 330.1);
Tailwind
colors: {
  custom: {
    50: '#b069a9',
    500: '#8b2386',
    950: '#000000',
  },
}
SCSS
$custom: #8b2386;
$custom-light: #b069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2386",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 302.885,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46164,
    "c": 0.17769,
    "h": 330.1
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#8B2386
secondary
#52B857
accent
#E34C45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2386

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

Preview Lab → · Contrast checker → · Palette generator →

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