#8B2196#8B2196

#8B2196 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.193 H 323.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8B2196
RGBrgb(139, 33, 150)
HSLhsl(294, 64%, 36%)
HSVhsv(294, 78%, 59%)
CMYKcmyk(7.3%, 78%, 0%, 41.2%)
CIE-LABlab(35.56, 57.80, -40.76)
CIE-LCHlch(35.56, 70.72, 324.81°)
OKLaboklab(46.99% 0.1554 -0.1138)
OKLCHoklch(46.99% 0.193 323.8)
XYZxyz(16.6959, 8.7797, 29.6635)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2196 #2C9621
analogous
#502196 #8B2196 #962166
triadic
#8B2196 #968B21 #21968B
tetradic
#8B2196 #965021 #2C9621 #216696
square
#8B2196 #965021 #2C9621 #216696
split-complementary
#8B2196 #669621 #219650
monochromatic
#2E0B32 #5D1664 #8B2196 #B92CC8 #CE57DA

Accessibility & contrast

On white

7.62
#8B2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2196
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2196#FFFFFF#000000##FFFFFF
##8B21961.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#375893
Tritanopia (blue-blind)
#8E385B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2196;
/* rgb */ color: rgb(139, 33, 150);
/* oklch */ color: oklch(47.0% 0.193 323.8);
Tailwind
colors: {
  custom: {
    50: '#b169b5',
    500: '#8b2196',
    950: '#000000',
  },
}
SCSS
$custom: #8b2196;
$custom-light: #b169b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2196",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 294.359,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4699,
    "c": 0.19263,
    "h": 323.8
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#8B2196
secondary
#5FBE55
accent
#E74150
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2196

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

Preview Lab → · Contrast checker → · Palette generator →

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