#8B2392#8B2392

#8B2392 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.187 H 325.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8B2392
RGBrgb(139, 35, 146)
HSLhsl(296, 61%, 35%)
HSVhsv(296, 76%, 57%)
CMYKcmyk(4.8%, 76%, 0%, 42.7%)
CIE-LABlab(35.53, 56.44, -38.36)
CIE-LCHlch(35.53, 68.24, 325.80°)
OKLaboklab(46.89% 0.1539 -0.1068)
OKLCHoklch(46.89% 0.187 325.2)
XYZxyz(16.4364, 8.7674, 28.0151)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2392 #2A9223
analogous
#532392 #8B2392 #922361
triadic
#8B2392 #928B23 #23928B
tetradic
#8B2392 #925323 #2A9223 #236192
square
#8B2392 #925323 #2A9223 #236192
split-complementary
#8B2392 #619223 #239253
monochromatic
#2D0B2F #5C1761 #8B2392 #BA2FC3 #CF58D7

Accessibility & contrast

On white

7.63
#8B2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8B2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2392
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2392#FFFFFF#000000##FFFFFF
##8B23921.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#3B588F
Tritanopia (blue-blind)
#8E3759
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2392;
/* rgb */ color: rgb(139, 35, 146);
/* oklch */ color: oklch(46.9% 0.187 325.2);
Tailwind
colors: {
  custom: {
    50: '#b06ab2',
    500: '#8b2392',
    950: '#000000',
  },
}
SCSS
$custom: #8b2392;
$custom-light: #b06ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2392",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 296.216,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46893,
    "c": 0.18733,
    "h": 325.2
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#8B2392
secondary
#5CBB55
accent
#E4434E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2392

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

Preview Lab → · Contrast checker → · Palette generator →

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