#8B1E84#8B1E84

#8B1E84 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.181 H 331.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8B1E84
RGBrgb(139, 30, 132)
HSLhsl(304, 64%, 33%)
HSVhsv(304, 78%, 55%)
CMYKcmyk(0%, 78.4%, 5%, 45.5%)
CIE-LABlab(34.16, 55.65, -31.90)
CIE-LCHlch(34.16, 64.15, 330.18°)
OKLaboklab(45.65% 0.1586 -0.088)
OKLCHoklch(45.65% 0.181 331)
XYZxyz(15.2766, 8.0847, 22.5812)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E84 #1E8B25
analogous
#5B1E8B #8B1E84 #8B1E4D
triadic
#8B1E84 #848B1E #1E848B
tetradic
#8B1E84 #8B5B1E #1E8B25 #1E4D8B
square
#8B1E84 #8B5B1E #1E8B25 #1E4D8B
split-complementary
#8B1E84 #4D8B1E #1E8B5B
monochromatic
#260824 #591354 #8B1E84 #BD29B4 #D84BCF

Accessibility & contrast

On white

8.03
#8B1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8B1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E84
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E84#FFFFFF#000000##FFFFFF
##8B1E841.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114787
Deuteranopia (green-blind)
#415681
Tritanopia (blue-blind)
#912D50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1e84;
/* rgb */ color: rgb(139, 30, 132);
/* oklch */ color: oklch(45.6% 0.181 331.0);
Tailwind
colors: {
  custom: {
    50: '#b067a8',
    500: '#8b1e84',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e84;
$custom-light: #b067a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e84",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 303.853,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45647,
    "c": 0.1814,
    "h": 331
  },
  "luminance": 0.08083
}

Semantic roles & 50–950 ramp

primary
#8B1E84
secondary
#4ABB51
accent
#E74B40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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