#8B1778#8B1778

#8B1778 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.179 H 336.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8B1778
RGBrgb(139, 23, 120)
HSLhsl(310, 72%, 32%)
HSVhsv(310, 83%, 55%)
CMYKcmyk(0%, 83.5%, 13.7%, 45.5%)
CIE-LABlab(32.83, 55.73, -26.48)
CIE-LCHlch(32.83, 61.70, 334.58°)
OKLaboklab(44.48% 0.1639 -0.0723)
OKLCHoklch(44.48% 0.179 336.2)
XYZxyz(14.3443, 7.4592, 18.4500)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1778 #178B2A
analogous
#64178B #8B1778 #8B173E
triadic
#8B1778 #788B17 #17788B
tetradic
#8B1778 #8B6417 #178B2A #173E8B
square
#8B1778 #8B6417 #178B2A #173E8B
split-complementary
#8B1778 #3E8B17 #178B64
monochromatic
#22061D #560E4B #8B1778 #C020A5 #DF3DC5

Accessibility & contrast

On white

8.43
#8B1778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8B1778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1778
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1778#FFFFFF#000000##FFFFFF
##8B17781.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19427A
Deuteranopia (green-blind)
#455375
Tritanopia (blue-blind)
#932148
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1778;
/* rgb */ color: rgb(139, 23, 120);
/* oklch */ color: oklch(44.5% 0.179 336.2);
Tailwind
colors: {
  custom: {
    50: '#b1649f',
    500: '#8b1778',
    950: '#000000',
  },
}
SCSS
$custom: #8b1778;
$custom-light: #b1649f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1778",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 309.828,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44484,
    "c": 0.17911,
    "h": 336.2
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#8B1778
secondary
#3FBF54
accent
#EE5739
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1778

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

Preview Lab → · Contrast checker → · Palette generator →

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