#8B1E97#8B1E97

#8B1E97 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.196 H 323.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8B1E97
RGBrgb(139, 30, 151)
HSLhsl(294, 67%, 35%)
HSVhsv(294, 80%, 59%)
CMYKcmyk(7.9%, 80.1%, 0%, 40.8%)
CIE-LABlab(35.31, 58.88, -41.77)
CIE-LCHlch(35.31, 72.19, 324.65°)
OKLaboklab(46.83% 0.1578 -0.1167)
OKLCHoklch(46.83% 0.196 323.5)
XYZxyz(16.6971, 8.6529, 30.0629)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E97 #2A971E
analogous
#4F1E97 #8B1E97 #971E66
triadic
#8B1E97 #978B1E #1E978B
tetradic
#8B1E97 #974F1E #2A971E #1E6697
square
#8B1E97 #974F1E #2A971E #1E6697
split-complementary
#8B1E97 #66971E #1E974F
monochromatic
#2D0A31 #5C1464 #8B1E97 #BA28CA #CF53DD

Accessibility & contrast

On white

7.69
#8B1E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8B1E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E97
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E97#FFFFFF#000000##FFFFFF
##8B1E971.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#355794
Tritanopia (blue-blind)
#8D365B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b1e97;
/* rgb */ color: rgb(139, 30, 151);
/* oklch */ color: oklch(46.8% 0.196 323.5);
Tailwind
colors: {
  custom: {
    50: '#b168b6',
    500: '#8b1e97',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e97;
$custom-light: #b168b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e97",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 294.05,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46833,
    "c": 0.19629,
    "h": 323.5
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#8B1E97
secondary
#5CC051
accent
#EA3E4F
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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