#8B1E8B#8B1E8B

#8B1E8B is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.187 H 328.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8B1E8B
RGBrgb(139, 30, 139)
HSLhsl(300, 64%, 33%)
HSVhsv(300, 78%, 55%)
CMYKcmyk(0%, 78.4%, 0%, 45.5%)
CIE-LABlab(34.56, 56.80, -35.60)
CIE-LCHlch(34.56, 67.04, 327.93°)
OKLaboklab(46.07% 0.1586 -0.0987)
OKLCHoklch(46.07% 0.187 328.1)
XYZxyz(15.7717, 8.2828, 25.1891)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E8B #1E8B1E
analogous
#541E8B #8B1E8B #8B1E54
triadic
#8B1E8B #8B8B1E #1E8B8B
tetradic
#8B1E8B #8B541E #1E8B1E #1E548B
square
#8B1E8B #8B541E #1E8B1E #1E548B
split-complementary
#8B1E8B #548B1E #1E8B54
monochromatic
#260826 #591359 #8B1E8B #BD29BD #D84BD8

Accessibility & contrast

On white

7.91
#8B1E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8B1E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E8B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E8B#FFFFFF#000000##FFFFFF
##8B1E8B1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#3D5688
Tritanopia (blue-blind)
#903054
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1e8b;
/* rgb */ color: rgb(139, 30, 139);
/* oklch */ color: oklch(46.1% 0.187 328.1);
Tailwind
colors: {
  custom: {
    50: '#b168ad',
    500: '#8b1e8b',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e8b;
$custom-light: #b168ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e8b",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 300,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46068,
    "c": 0.18678,
    "h": 328.1
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

primary
#8B1E8B
secondary
#4ABB4A
accent
#E74040
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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