#8B2096#8B2096

#8B2096 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.194 H 323.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8B2096
RGBrgb(139, 32, 150)
HSLhsl(294, 65%, 36%)
HSVhsv(294, 79%, 59%)
CMYKcmyk(7.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(35.45, 58.10, -40.93)
CIE-LCHlch(35.45, 71.08, 324.84°)
OKLaboklab(46.91% 0.1563 -0.1143)
OKLCHoklch(46.91% 0.194 323.8)
XYZxyz(16.6685, 8.7251, 29.6544)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2096 #2B9620
analogous
#502096 #8B2096 #962066
triadic
#8B2096 #968B20 #20968B
tetradic
#8B2096 #965020 #2B9620 #206696
square
#8B2096 #965020 #2B9620 #206696
split-complementary
#8B2096 #669620 #209650
monochromatic
#2E0A31 #5C1564 #8B2096 #BA2BC8 #CE56DB

Accessibility & contrast

On white

7.65
#8B2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8B2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2096
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2096#FFFFFF#000000##FFFFFF
##8B20961.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#375893
Tritanopia (blue-blind)
#8E375B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2096;
/* rgb */ color: rgb(139, 32, 150);
/* oklch */ color: oklch(46.9% 0.194 323.8);
Tailwind
colors: {
  custom: {
    50: '#b169b5',
    500: '#8b2096',
    950: '#000000',
  },
}
SCSS
$custom: #8b2096;
$custom-light: #b169b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2096",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 294.407,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46914,
    "c": 0.19361,
    "h": 323.8
  },
  "luminance": 0.08724
}

Semantic roles & 50–950 ramp

primary
#8B2096
secondary
#5DBE53
accent
#E84050
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2096

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

Preview Lab → · Contrast checker → · Palette generator →

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