#80407A#80407A

#80407A is a mid, moderate purple. Relative luminance 0.097; OKLCH L 47.4% C 0.117 H 330.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#80407A
RGBrgb(128, 64, 122)
HSLhsl(306, 33%, 38%)
HSVhsv(306, 50%, 50%)
CMYKcmyk(0%, 50%, 4.7%, 49.8%)
CIE-LABlab(37.23, 36.17, -21.00)
CIE-LCHlch(37.23, 41.83, 329.86°)
OKLaboklab(47.37% 0.1025 -0.0572)
OKLCHoklch(47.37% 0.117 330.8)
XYZxyz(14.2482, 9.6620, 19.5230)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80407A #408046
analogous
#664080 #80407A #80405A
triadic
#80407A #7A8040 #407A80
tetradic
#80407A #806640 #408046 #405A80
square
#80407A #806640 #408046 #405A80
split-complementary
#80407A #5A8040 #408066
monochromatic
#2E172C #572C53 #80407A #A954A1 #BE7DB8

Accessibility & contrast

On white

7.16
#80407A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#80407A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80407A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80407A#FFFFFF#000000##FFFFFF
##80407A1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527C
Deuteranopia (green-blind)
#4F5B78
Tritanopia (blue-blind)
#844557
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #80407a;
/* rgb */ color: rgb(128, 64, 122);
/* oklch */ color: oklch(47.4% 0.117 330.8);
Tailwind
colors: {
  custom: {
    50: '#a677a0',
    500: '#80407a',
    950: '#000000',
  },
}
SCSS
$custom: #80407a;
$custom-light: #a677a0;
$custom-dark: #000000;
JSON
{
  "hex": "#80407a",
  "rgb": {
    "r": 128,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 305.625,
    "s": 33.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4737,
    "c": 0.11742,
    "h": 330.8
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#80407A
secondary
#74A878
accent
#C9685E
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #80407A

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

Preview Lab → · Contrast checker → · Palette generator →

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