#80157F#80157F

#80157F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.180 H 328.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#80157F
RGBrgb(128, 21, 127)
HSLhsl(301, 72%, 29%)
HSVhsv(301, 84%, 50%)
CMYKcmyk(0%, 83.6%, 0.8%, 49.8%)
CIE-LABlab(31.02, 54.96, -33.89)
CIE-LCHlch(31.02, 64.57, 328.34°)
OKLaboklab(42.94% 0.154 -0.094)
OKLCHoklch(42.94% 0.18 328.6)
XYZxyz(13.0009, 6.6588, 20.6751)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80157F #158016
analogous
#4C1580 #80157F #80154A
triadic
#80157F #7F8015 #157F80
tetradic
#80157F #804C15 #158016 #154A80
square
#80157F #804C15 #158016 #154A80
split-complementary
#80157F #4A8015 #15804C
monochromatic
#1A041A #4B0C4B #80157F #B51EB3 #DD32DC

Accessibility & contrast

On white

9.01
#80157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#80157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80157F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80157F#FFFFFF#000000##FFFFFF
##80157F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#364E7D
Tritanopia (blue-blind)
#84284B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #80157f;
/* rgb */ color: rgb(128, 21, 127);
/* oklch */ color: oklch(42.9% 0.180 328.6);
Tailwind
colors: {
  custom: {
    50: '#a962a4',
    500: '#80157f',
    950: '#000000',
  },
}
SCSS
$custom: #80157f;
$custom-light: #a962a4;
$custom-dark: #000000;
JSON
{
  "hex": "#80157f",
  "rgb": {
    "r": 128,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 300.561,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4294,
    "c": 0.18041,
    "h": 328.6
  },
  "luminance": 0.06658
}

Semantic roles & 50–950 ramp

primary
#80157F
secondary
#3CB53D
accent
#EF3B39
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80157F

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

Preview Lab → · Contrast checker → · Palette generator →

#80157F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva