#802E71#802E71

#802E71 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.4% C 0.140 H 335.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#802E71
RGBrgb(128, 46, 113)
HSLhsl(311, 47%, 34%)
HSVhsv(311, 64%, 50%)
CMYKcmyk(0%, 64.1%, 11.7%, 49.8%)
CIE-LABlab(33.43, 43.63, -21.27)
CIE-LCHlch(33.43, 48.54, 334.01°)
OKLaboklab(44.43% 0.1271 -0.0578)
OKLCHoklch(44.43% 0.14 335.5)
XYZxyz(12.8598, 7.7365, 16.4356)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E71 #2E803D
analogous
#662E80 #802E71 #802E48
triadic
#802E71 #71802E #2E7180
tetradic
#802E71 #80662E #2E803D #2E4880
square
#802E71 #80662E #2E803D #2E4880
split-complementary
#802E71 #48802E #2E8066
monochromatic
#260E22 #531E49 #802E71 #AD3E99 #C762B4

Accessibility & contrast

On white

8.24
#802E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802E71
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E71#FFFFFF#000000##FFFFFF
##802E711.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4773
Deuteranopia (green-blind)
#48536F
Tritanopia (blue-blind)
#86334B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802e71;
/* rgb */ color: rgb(128, 46, 113);
/* oklch */ color: oklch(44.4% 0.140 335.5);
Tailwind
colors: {
  custom: {
    50: '#a76c9a',
    500: '#802e71',
    950: '#000000',
  },
}
SCSS
$custom: #802e71;
$custom-light: #a76c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#802e71",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 310.976,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44431,
    "c": 0.13966,
    "h": 335.5
  },
  "luminance": 0.07735
}

Semantic roles & 50–950 ramp

primary
#802E71
secondary
#5DAD6B
accent
#D76A51
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802E71

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

Preview Lab → · Contrast checker → · Palette generator →

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