#80407B#80407B

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

Color values

HEX#80407B
RGBrgb(128, 64, 123)
HSLhsl(305, 33%, 38%)
HSVhsv(305, 50%, 50%)
CMYKcmyk(0%, 50%, 3.9%, 49.8%)
CIE-LABlab(37.27, 36.36, -21.55)
CIE-LCHlch(37.27, 42.27, 329.34°)
OKLaboklab(47.42% 0.1027 -0.0588)
OKLCHoklch(47.42% 0.118 330.2)
XYZxyz(14.3105, 9.6869, 19.8510)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80407B #408045
analogous
#654080 #80407B #80405B
triadic
#80407B #7B8040 #407B80
tetradic
#80407B #806540 #408045 #405B80
square
#80407B #806540 #408045 #405B80
split-complementary
#80407B #5B8040 #408065
monochromatic
#2E172D #572C54 #80407B #A954A2 #BE7DB9

Accessibility & contrast

On white

7.15
#80407B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80407B
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80407B#FFFFFF#000000##FFFFFF
##80407B1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#844558
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #80407b;
/* rgb */ color: rgb(128, 64, 123);
/* oklch */ color: oklch(47.4% 0.118 330.2);
Tailwind
colors: {
  custom: {
    50: '#a677a1',
    500: '#80407b',
    950: '#000000',
  },
}
SCSS
$custom: #80407b;
$custom-light: #a677a1;
$custom-dark: #000000;
JSON
{
  "hex": "#80407b",
  "rgb": {
    "r": 128,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 304.688,
    "s": 33.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.11837,
    "h": 330.2
  },
  "luminance": 0.09686
}

Semantic roles & 50–950 ramp

primary
#80407B
secondary
#74A878
accent
#C9675E
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10090F
muted
#7F7B7E

Preview Lab

Preview with #80407B

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

Preview Lab → · Contrast checker → · Palette generator →

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