#8B1E87#8B1E87

#8B1E87 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.184 H 329.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8B1E87
RGBrgb(139, 30, 135)
HSLhsl(302, 64%, 33%)
HSVhsv(302, 78%, 55%)
CMYKcmyk(0%, 78.4%, 2.9%, 45.5%)
CIE-LABlab(34.33, 56.14, -33.49)
CIE-LCHlch(34.33, 65.37, 329.18°)
OKLaboklab(45.83% 0.1586 -0.0926)
OKLCHoklch(45.83% 0.184 329.7)
XYZxyz(15.4848, 8.1680, 23.6780)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E87 #1E8B22
analogous
#581E8B #8B1E87 #8B1E50
triadic
#8B1E87 #878B1E #1E878B
tetradic
#8B1E87 #8B581E #1E8B22 #1E508B
square
#8B1E87 #8B581E #1E8B22 #1E508B
split-complementary
#8B1E87 #508B1E #1E8B58
monochromatic
#260825 #591356 #8B1E87 #BD29B8 #D84BD3

Accessibility & contrast

On white

7.97
#8B1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8B1E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E87
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E87#FFFFFF#000000##FFFFFF
##8B1E871.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B478A
Deuteranopia (green-blind)
#405684
Tritanopia (blue-blind)
#902E52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1e87;
/* rgb */ color: rgb(139, 30, 135);
/* oklch */ color: oklch(45.8% 0.184 329.7);
Tailwind
colors: {
  custom: {
    50: '#b068aa',
    500: '#8b1e87',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e87;
$custom-light: #b068aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e87",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 302.202,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45825,
    "c": 0.18368,
    "h": 329.7
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#8B1E87
secondary
#4ABB4E
accent
#E74640
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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