#80387D#80387D

#80387D is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.4% C 0.134 H 329.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#80387D
RGBrgb(128, 56, 125)
HSLhsl(303, 39%, 36%)
HSVhsv(303, 56%, 50%)
CMYKcmyk(0%, 56.3%, 2.3%, 49.8%)
CIE-LABlab(35.79, 40.94, -25.11)
CIE-LCHlch(35.79, 48.03, 328.48°)
OKLaboklab(46.35% 0.115 -0.0689)
OKLCHoklch(46.35% 0.134 329.1)
XYZxyz(14.0178, 8.8991, 20.3774)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80387D #38803B
analogous
#5F3880 #80387D #803859
triadic
#80387D #7D8038 #387D80
tetradic
#80387D #805F38 #38803B #385980
square
#80387D #805F38 #38803B #385980
split-complementary
#80387D #598038 #38805F
monochromatic
#2B132A #552553 #80387D #AB4BA7 #C171BE

Accessibility & contrast

On white

7.56
#80387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#80387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80387D
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80387D#FFFFFF#000000##FFFFFF
##80387D1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#49587B
Tritanopia (blue-blind)
#843F55
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #80387d;
/* rgb */ color: rgb(128, 56, 125);
/* oklch */ color: oklch(46.4% 0.134 329.1);
Tailwind
colors: {
  custom: {
    50: '#a772a3',
    500: '#80387d',
    950: '#000000',
  },
}
SCSS
$custom: #80387d;
$custom-light: #a772a3;
$custom-dark: #000000;
JSON
{
  "hex": "#80387d",
  "rgb": {
    "r": 128,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 302.5,
    "s": 39.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46353,
    "c": 0.13408,
    "h": 329.1
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#80387D
secondary
#6AAA6C
accent
#CF5E59
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #80387D

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

Preview Lab → · Contrast checker → · Palette generator →

#80387D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva