#8B1E8A#8B1E8A

#8B1E8A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.186 H 328.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8B1E8A
RGBrgb(139, 30, 138)
HSLhsl(301, 64%, 33%)
HSVhsv(301, 78%, 55%)
CMYKcmyk(0%, 78.4%, 0.7%, 45.5%)
CIE-LABlab(34.51, 56.64, -35.07)
CIE-LCHlch(34.51, 66.62, 328.23°)
OKLaboklab(46.01% 0.1586 -0.0972)
OKLCHoklch(46.01% 0.186 328.5)
XYZxyz(15.6990, 8.2537, 24.8061)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E8A #1E8B1F
analogous
#551E8B #8B1E8A #8B1E54
triadic
#8B1E8A #8A8B1E #1E8A8B
tetradic
#8B1E8A #8B551E #1E8B1F #1E548B
square
#8B1E8A #8B551E #1E8B1F #1E548B
split-complementary
#8B1E8A #548B1E #1E8B55
monochromatic
#260826 #591358 #8B1E8A #BD29BC #D84BD7

Accessibility & contrast

On white

7.92
#8B1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8B1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E8A
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E8A#FFFFFF#000000##FFFFFF
##8B1E8A1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03488D
Deuteranopia (green-blind)
#3E5687
Tritanopia (blue-blind)
#903053
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1e8a;
/* rgb */ color: rgb(139, 30, 138);
/* oklch */ color: oklch(46.0% 0.186 328.5);
Tailwind
colors: {
  custom: {
    50: '#b068ac',
    500: '#8b1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e8a;
$custom-light: #b068ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e8a",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 300.55,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46007,
    "c": 0.18601,
    "h": 328.5
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#8B1E8A
secondary
#4ABB4B
accent
#E74240
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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