#80507A#80507A

#80507A is a mid, moderate purple. Relative luminance 0.117; OKLCH L 50.0% C 0.087 H 331.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#80507A
RGBrgb(128, 80, 122)
HSLhsl(308, 23%, 41%)
HSVhsv(308, 38%, 50%)
CMYKcmyk(0%, 37.5%, 4.7%, 49.8%)
CIE-LABlab(40.79, 27.12, -15.53)
CIE-LCHlch(40.79, 31.25, 330.20°)
OKLaboklab(50.04% 0.0767 -0.0419)
OKLCHoklch(50.04% 0.087 331.3)
XYZxyz(15.2834, 11.7324, 19.8681)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80507A #508056
analogous
#6E5080 #80507A #805062
triadic
#80507A #7A8050 #507A80
tetradic
#80507A #806E50 #508056 #506280
square
#80507A #806E50 #508056 #506280
split-complementary
#80507A #628050 #50806E
monochromatic
#352132 #5A3856 #80507A #A26B9B #BA90B5

Accessibility & contrast

On white

6.28
#80507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#80507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #80507A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80507A#FFFFFF#000000##FFFFFF
##80507A1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7C
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#84535F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #80507a;
/* rgb */ color: rgb(128, 80, 122);
/* oklch */ color: oklch(50.0% 0.087 331.3);
Tailwind
colors: {
  custom: {
    50: '#a682a0',
    500: '#80507a',
    950: '#000000',
  },
}
SCSS
$custom: #80507a;
$custom-light: #a682a0;
$custom-dark: #000000;
JSON
{
  "hex": "#80507a",
  "rgb": {
    "r": 128,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 307.5,
    "s": 23.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50037,
    "c": 0.08745,
    "h": 331.3
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#80507A
secondary
#85A789
accent
#C07368
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #80507A

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

Preview Lab → · Contrast checker → · Palette generator →

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