#8B1790#8B1790

#8B1790 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.197 H 326.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8B1790
RGBrgb(139, 23, 144)
HSLhsl(298, 72%, 33%)
HSVhsv(298, 84%, 56%)
CMYKcmyk(3.5%, 84%, 0%, 43.5%)
CIE-LABlab(34.22, 59.52, -39.22)
CIE-LCHlch(34.22, 71.28, 326.62°)
OKLaboklab(45.93% 0.1636 -0.1092)
OKLCHoklch(45.93% 0.197 326.3)
XYZxyz(15.9876, 8.1165, 27.1047)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1790 #1C9017
analogous
#4F1790 #8B1790 #901758
triadic
#8B1790 #908B17 #17908B
tetradic
#8B1790 #904F17 #1C9017 #175890
square
#8B1790 #904F17 #1C9017 #175890
split-complementary
#8B1790 #589017 #17904F
monochromatic
#250626 #580F5B #8B1790 #BE1FC5 #DA41E1

Accessibility & contrast

On white

8.01
#8B1790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1790
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1790#FFFFFF#000000##FFFFFF
##8B17901.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#37558D
Tritanopia (blue-blind)
#8F2F55
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1790;
/* rgb */ color: rgb(139, 23, 144);
/* oklch */ color: oklch(45.9% 0.197 326.3);
Tailwind
colors: {
  custom: {
    50: '#b166b1',
    500: '#8b1790',
    950: '#000000',
  },
}
SCSS
$custom: #8b1790;
$custom-light: #b166b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1790",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 297.521,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45925,
    "c": 0.19667,
    "h": 326.3
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#8B1790
secondary
#47C142
accent
#EF3940
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8B1790

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

Preview Lab → · Contrast checker → · Palette generator →

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