#802B76#802B76

#802B76 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.148 H 332.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#802B76
RGBrgb(128, 43, 118)
HSLhsl(307, 50%, 34%)
HSVhsv(307, 66%, 50%)
CMYKcmyk(0%, 66.4%, 7.8%, 49.8%)
CIE-LABlab(33.19, 45.82, -24.79)
CIE-LCHlch(33.19, 52.10, 331.58°)
OKLaboklab(44.34% 0.1318 -0.0679)
OKLCHoklch(44.34% 0.148 332.7)
XYZxyz(13.0360, 7.6260, 17.9214)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B76 #2B8035
analogous
#5F2B80 #802B76 #802B4B
triadic
#802B76 #76802B #2B7680
tetradic
#802B76 #805F2B #2B8035 #2B4B80
square
#802B76 #805F2B #2B8035 #2B4B80
split-complementary
#802B76 #4B802B #2B805F
monochromatic
#240C22 #521C4C #802B76 #AE3AA0 #C95DBC

Accessibility & contrast

On white

8.32
#802B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#802B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B76
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B76#FFFFFF#000000##FFFFFF
##802B761.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#455274
Tritanopia (blue-blind)
#86324C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802b76;
/* rgb */ color: rgb(128, 43, 118);
/* oklch */ color: oklch(44.3% 0.148 332.7);
Tailwind
colors: {
  custom: {
    50: '#a86b9e',
    500: '#802b76',
    950: '#000000',
  },
}
SCSS
$custom: #802b76;
$custom-light: #a86b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#802b76",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 307.059,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44339,
    "c": 0.1482,
    "h": 332.7
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#802B76
secondary
#58AE63
accent
#D95F4F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802B76

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

Preview Lab → · Contrast checker → · Palette generator →

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