#8B1E79#8B1E79

#8B1E79 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.173 H 335.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8B1E79
RGBrgb(139, 30, 121)
HSLhsl(310, 64%, 33%)
HSVhsv(310, 78%, 55%)
CMYKcmyk(0%, 78.4%, 12.9%, 45.5%)
CIE-LABlab(33.56, 53.93, -25.97)
CIE-LCHlch(33.56, 59.85, 334.29°)
OKLaboklab(45.03% 0.1581 -0.0709)
OKLCHoklch(45.03% 0.173 335.9)
XYZxyz(14.5632, 7.7993, 18.8239)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E79 #1E8B30
analogous
#661E8B #8B1E79 #8B1E42
triadic
#8B1E79 #798B1E #1E798B
tetradic
#8B1E79 #8B661E #1E8B30 #1E428B
square
#8B1E79 #8B661E #1E8B30 #1E428B
split-complementary
#8B1E79 #428B1E #1E8B66
monochromatic
#260821 #59134D #8B1E79 #BD29A5 #D84BC1

Accessibility & contrast

On white

8.20
#8B1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1E79
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E79#FFFFFF#000000##FFFFFF
##8B1E791.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1e79;
/* rgb */ color: rgb(139, 30, 121);
/* oklch */ color: oklch(45.0% 0.173 335.9);
Tailwind
colors: {
  custom: {
    50: '#b067a0',
    500: '#8b1e79',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e79;
$custom-light: #b067a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e79",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 309.908,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45026,
    "c": 0.17327,
    "h": 335.9
  },
  "luminance": 0.07798
}

Semantic roles & 50–950 ramp

primary
#8B1E79
secondary
#4ABB5D
accent
#E75C40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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