#8B1F93#8B1F93

#8B1F93 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.192 H 325.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8B1F93
RGBrgb(139, 31, 147)
HSLhsl(296, 65%, 35%)
HSVhsv(296, 79%, 58%)
CMYKcmyk(5.4%, 78.9%, 0%, 42.4%)
CIE-LABlab(35.16, 57.88, -39.57)
CIE-LCHlch(35.16, 70.11, 325.64°)
OKLaboklab(46.65% 0.1573 -0.1103)
OKLCHoklch(46.65% 0.192 325)
XYZxyz(16.4035, 8.5766, 28.3896)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F93 #27931F
analogous
#511F93 #8B1F93 #931F61
triadic
#8B1F93 #938B1F #1F938B
tetradic
#8B1F93 #93511F #27931F #1F6193
square
#8B1F93 #93511F #27931F #1F6193
split-complementary
#8B1F93 #61931F #1F9351
monochromatic
#2B0A2E #5B1460 #8B1F93 #BB2AC6 #D152DA

Accessibility & contrast

On white

7.73
#8B1F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8B1F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F93
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F93#FFFFFF#000000##FFFFFF
##8B1F931.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#385790
Tritanopia (blue-blind)
#8E3559
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b1f93;
/* rgb */ color: rgb(139, 31, 147);
/* oklch */ color: oklch(46.6% 0.192 325.0);
Tailwind
colors: {
  custom: {
    50: '#b168b3',
    500: '#8b1f93',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f93;
$custom-light: #b168b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f93",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 295.862,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46645,
    "c": 0.19215,
    "h": 325
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#8B1F93
secondary
#58BE50
accent
#E8404B
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1F93

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

Preview Lab → · Contrast checker → · Palette generator →

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