#8B1C97#8B1C97

#8B1C97 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.198 H 323.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8B1C97
RGBrgb(139, 28, 151)
HSLhsl(294, 69%, 35%)
HSVhsv(294, 81%, 59%)
CMYKcmyk(7.9%, 81.5%, 0%, 40.8%)
CIE-LABlab(35.11, 59.44, -42.08)
CIE-LCHlch(35.11, 72.83, 324.70°)
OKLaboklab(46.7% 0.1593 -0.1176)
OKLCHoklch(46.7% 0.198 323.6)
XYZxyz(16.6481, 8.5549, 30.0465)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C97 #28971C
analogous
#4D1C97 #8B1C97 #971C66
triadic
#8B1C97 #978B1C #1C978B
tetradic
#8B1C97 #974D1C #28971C #1C6697
square
#8B1C97 #974D1C #28971C #1C6697
split-complementary
#8B1C97 #66971C #1C974D
monochromatic
#2C0930 #5B1263 #8B1C97 #BB26CB #D04FDE

Accessibility & contrast

On white

7.75
#8B1C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8B1C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1C97
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1C97#FFFFFF#000000##FFFFFF
##8B1C971.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#345794
Tritanopia (blue-blind)
#8D365A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b1c97;
/* rgb */ color: rgb(139, 28, 151);
/* oklch */ color: oklch(46.7% 0.198 323.6);
Tailwind
colors: {
  custom: {
    50: '#b168b6',
    500: '#8b1c97',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c97;
$custom-light: #b168b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c97",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 294.146,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46696,
    "c": 0.19806,
    "h": 323.6
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#8B1C97
secondary
#59C14E
accent
#EC3C4D
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1C97

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

Preview Lab → · Contrast checker → · Palette generator →

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