#8B1996#8B1996

#8B1996 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.200 H 324.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8B1996
RGBrgb(139, 25, 150)
HSLhsl(295, 71%, 34%)
HSVhsv(295, 83%, 59%)
CMYKcmyk(7.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(34.78, 60.06, -42.01)
CIE-LCHlch(34.78, 73.29, 325.03°)
OKLaboklab(46.44% 0.1616 -0.1174)
OKLCHoklch(46.44% 0.2 324)
XYZxyz(16.4996, 8.3873, 29.5981)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1996 #249619
analogous
#4D1996 #8B1996 #961963
triadic
#8B1996 #968B19 #19968B
tetradic
#8B1996 #964D19 #249619 #196396
square
#8B1996 #964D19 #249619 #196396
split-complementary
#8B1996 #639619 #19964D
monochromatic
#2A082D #5A1062 #8B1996 #BC22CA #D349E1

Accessibility & contrast

On white

7.84
#8B1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1996
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1996#FFFFFF#000000##FFFFFF
##8B19961.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#335693
Tritanopia (blue-blind)
#8E3459
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b1996;
/* rgb */ color: rgb(139, 25, 150);
/* oklch */ color: oklch(46.4% 0.200 324.0);
Tailwind
colors: {
  custom: {
    50: '#b167b5',
    500: '#8b1996',
    950: '#000000',
  },
}
SCSS
$custom: #8b1996;
$custom-light: #b167b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1996",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 294.72,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46438,
    "c": 0.19975,
    "h": 324
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#8B1996
secondary
#53C249
accent
#EE3A4A
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1996

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

Preview Lab → · Contrast checker → · Palette generator →

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