#8B1C91#8B1C91

#8B1C91 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.193 H 325.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8B1C91
RGBrgb(139, 28, 145)
HSLhsl(297, 68%, 34%)
HSVhsv(297, 81%, 57%)
CMYKcmyk(4.1%, 80.7%, 0%, 43.1%)
CIE-LABlab(34.73, 58.40, -39.02)
CIE-LCHlch(34.73, 70.24, 326.25°)
OKLaboklab(46.3% 0.1599 -0.1087)
OKLCHoklch(46.3% 0.193 325.8)
XYZxyz(16.1732, 8.3649, 27.5453)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C91 #22911C
analogous
#511C91 #8B1C91 #911C5D
triadic
#8B1C91 #918B1C #1C918B
tetradic
#8B1C91 #91511C #22911C #1C5D91
square
#8B1C91 #91511C #22911C #1C5D91
split-complementary
#8B1C91 #5D911C #1C9151
monochromatic
#29082A #5A125E #8B1C91 #BC26C4 #D54BDC

Accessibility & contrast

On white

7.86
#8B1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8B1C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1C91
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1C91#FFFFFF#000000##FFFFFF
##8B1C911.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#39568E
Tritanopia (blue-blind)
#8F3257
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b1c91;
/* rgb */ color: rgb(139, 28, 145);
/* oklch */ color: oklch(46.3% 0.193 325.8);
Tailwind
colors: {
  custom: {
    50: '#b167b2',
    500: '#8b1c91',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c91;
$custom-light: #b167b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c91",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 296.923,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46304,
    "c": 0.19332,
    "h": 325.8
  },
  "luminance": 0.08364
}

Semantic roles & 50–950 ramp

primary
#8B1C91
secondary
#50BE4A
accent
#EB3D46
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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