#8B1E7A#8B1E7A

#8B1E7A is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.174 H 335.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8B1E7A
RGBrgb(139, 30, 122)
HSLhsl(309, 64%, 33%)
HSVhsv(309, 78%, 55%)
CMYKcmyk(0%, 78.4%, 12.2%, 45.5%)
CIE-LABlab(33.61, 54.08, -26.51)
CIE-LCHlch(33.61, 60.23, 333.88°)
OKLaboklab(45.08% 0.1582 -0.0724)
OKLCHoklch(45.08% 0.174 335.4)
XYZxyz(14.6248, 7.8240, 19.1485)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E7A #1E8B2F
analogous
#651E8B #8B1E7A #8B1E43
triadic
#8B1E7A #7A8B1E #1E7A8B
tetradic
#8B1E7A #8B651E #1E8B2F #1E438B
square
#8B1E7A #8B651E #1E8B2F #1E438B
split-complementary
#8B1E7A #438B1E #1E8B65
monochromatic
#260822 #59134E #8B1E7A #BD29A6 #D84BC2

Accessibility & contrast

On white

8.19
#8B1E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8B1E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E7A
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E7A#FFFFFF#000000##FFFFFF
##8B1E7A1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457C
Deuteranopia (green-blind)
#465577
Tritanopia (blue-blind)
#92274A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1e7a;
/* rgb */ color: rgb(139, 30, 122);
/* oklch */ color: oklch(45.1% 0.174 335.4);
Tailwind
colors: {
  custom: {
    50: '#b067a1',
    500: '#8b1e7a',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e7a;
$custom-light: #b067a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e7a",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 309.358,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4508,
    "c": 0.17399,
    "h": 335.4
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#8B1E7A
secondary
#4ABB5C
accent
#E75A40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8B1E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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