#80407C#80407C

#80407C is a mid, moderate purple. Relative luminance 0.097; OKLCH L 47.5% C 0.119 H 329.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#80407C
RGBrgb(128, 64, 124)
HSLhsl(304, 33%, 38%)
HSVhsv(304, 50%, 50%)
CMYKcmyk(0%, 50%, 3.1%, 49.8%)
CIE-LABlab(37.32, 36.56, -22.10)
CIE-LCHlch(37.32, 42.72, 328.84°)
OKLaboklab(47.47% 0.1029 -0.0604)
OKLCHoklch(47.47% 0.119 329.6)
XYZxyz(14.3734, 9.7120, 20.1824)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80407C #408044
analogous
#644080 #80407C #80405C
triadic
#80407C #7C8040 #407C80
tetradic
#80407C #806440 #408044 #405C80
square
#80407C #806440 #408044 #405C80
split-complementary
#80407C #5C8040 #408064
monochromatic
#2E172D #572C54 #80407C #A954A4 #BE7DBA

Accessibility & contrast

On white

7.14
#80407C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#80407C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80407C
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80407C#FFFFFF#000000##FFFFFF
##80407C1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527E
Deuteranopia (green-blind)
#4F5B7A
Tritanopia (blue-blind)
#844658
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #80407c;
/* rgb */ color: rgb(128, 64, 124);
/* oklch */ color: oklch(47.5% 0.119 329.6);
Tailwind
colors: {
  custom: {
    50: '#a677a2',
    500: '#80407c',
    950: '#000000',
  },
}
SCSS
$custom: #80407c;
$custom-light: #a677a2;
$custom-dark: #000000;
JSON
{
  "hex": "#80407c",
  "rgb": {
    "r": 128,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 303.75,
    "s": 33.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47468,
    "c": 0.11932,
    "h": 329.6
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#80407C
secondary
#74A877
accent
#C9655E
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #80407C

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

Preview Lab → · Contrast checker → · Palette generator →

#80407C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva