#802D76#802D76

#802D76 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.145 H 332.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#802D76
RGBrgb(128, 45, 118)
HSLhsl(307, 48%, 34%)
HSVhsv(307, 65%, 50%)
CMYKcmyk(0%, 64.8%, 7.8%, 49.8%)
CIE-LABlab(33.51, 44.94, -24.29)
CIE-LCHlch(33.51, 51.09, 331.60°)
OKLaboklab(44.57% 0.1292 -0.0664)
OKLCHoklch(44.57% 0.145 332.8)
XYZxyz(13.1105, 7.7750, 17.9462)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D76 #2D8037
analogous
#612D80 #802D76 #802D4D
triadic
#802D76 #76802D #2D7680
tetradic
#802D76 #80612D #2D8037 #2D4D80
square
#802D76 #80612D #2D8037 #2D4D80
split-complementary
#802D76 #4D802D #2D8061
monochromatic
#250D23 #531D4C #802D76 #AD3DA0 #C760BB

Accessibility & contrast

On white

8.22
#802D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802D76
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D76#FFFFFF#000000##FFFFFF
##802D761.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4778
Deuteranopia (green-blind)
#465374
Tritanopia (blue-blind)
#86344D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802d76;
/* rgb */ color: rgb(128, 45, 118);
/* oklch */ color: oklch(44.6% 0.145 332.8);
Tailwind
colors: {
  custom: {
    50: '#a76c9e',
    500: '#802d76',
    950: '#000000',
  },
}
SCSS
$custom: #802d76;
$custom-light: #a76c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#802d76",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 307.229,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44571,
    "c": 0.14528,
    "h": 332.8
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#802D76
secondary
#5BAE65
accent
#D86150
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802D76

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

Preview Lab → · Contrast checker → · Palette generator →

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