#802E72#802E72

#802E72 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.5% C 0.140 H 335.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#802E72
RGBrgb(128, 46, 114)
HSLhsl(310, 47%, 34%)
HSVhsv(310, 64%, 50%)
CMYKcmyk(0%, 64.1%, 10.9%, 49.8%)
CIE-LABlab(33.48, 43.80, -21.83)
CIE-LCHlch(33.48, 48.94, 333.51°)
OKLaboklab(44.48% 0.1273 -0.0594)
OKLCHoklch(44.48% 0.14 335)
XYZxyz(12.9164, 7.7591, 16.7337)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E72 #2E803C
analogous
#652E80 #802E72 #802E49
triadic
#802E72 #72802E #2E7280
tetradic
#802E72 #80652E #2E803C #2E4980
square
#802E72 #80652E #2E803C #2E4980
split-complementary
#802E72 #49802E #2E8065
monochromatic
#260E22 #531E4A #802E72 #AD3E9A #C762B5

Accessibility & contrast

On white

8.23
#802E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#802E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E72
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E72#FFFFFF#000000##FFFFFF
##802E721.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4774
Deuteranopia (green-blind)
#485370
Tritanopia (blue-blind)
#86334B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802e72;
/* rgb */ color: rgb(128, 46, 114);
/* oklch */ color: oklch(44.5% 0.140 335.0);
Tailwind
colors: {
  custom: {
    50: '#a76d9a',
    500: '#802e72',
    950: '#000000',
  },
}
SCSS
$custom: #802e72;
$custom-light: #a76d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#802e72",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 310.244,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44482,
    "c": 0.14047,
    "h": 335
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#802E72
secondary
#5DAD6A
accent
#D76851
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802E72

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

Preview Lab → · Contrast checker → · Palette generator →

#802E72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva