#8B1E8D#8B1E8D

#8B1E8D is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.188 H 327.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8B1E8D
RGBrgb(139, 30, 141)
HSLhsl(299, 65%, 34%)
HSVhsv(299, 79%, 55%)
CMYKcmyk(1.4%, 78.7%, 0%, 44.7%)
CIE-LABlab(34.68, 57.14, -36.64)
CIE-LCHlch(34.68, 67.88, 327.33°)
OKLaboklab(46.19% 0.1585 -0.1017)
OKLCHoklch(46.19% 0.188 327.3)
XYZxyz(15.9192, 8.3418, 25.9658)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E8D #208D1E
analogous
#531E8D #8B1E8D #8D1E57
triadic
#8B1E8D #8D8B1E #1E8D8B
tetradic
#8B1E8D #8D531E #208D1E #1E578D
square
#8B1E8D #8D531E #208D1E #1E578D
split-complementary
#8B1E8D #578D1E #1E8D53
monochromatic
#280928 #59135B #8B1E8D #BD29BF #D64CD9

Accessibility & contrast

On white

7.87
#8B1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1E8D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E8D#FFFFFF#000000##FFFFFF
##8B1E8D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#8F3155
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b1e8d;
/* rgb */ color: rgb(139, 30, 141);
/* oklch */ color: oklch(46.2% 0.188 327.3);
Tailwind
colors: {
  custom: {
    50: '#b168af',
    500: '#8b1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e8d;
$custom-light: #b168af;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e8d",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 298.919,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46192,
    "c": 0.18834,
    "h": 327.3
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#8B1E8D
secondary
#4DBC4B
accent
#E84043
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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