#802C76#802C76

#802C76 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.147 H 332.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#802C76
RGBrgb(128, 44, 118)
HSLhsl(307, 49%, 34%)
HSVhsv(307, 66%, 50%)
CMYKcmyk(0%, 65.6%, 7.8%, 49.8%)
CIE-LABlab(33.35, 45.38, -24.55)
CIE-LCHlch(33.35, 51.60, 331.59°)
OKLaboklab(44.45% 0.1305 -0.0672)
OKLCHoklch(44.45% 0.147 332.8)
XYZxyz(13.0728, 7.6996, 17.9337)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C76 #2C8036
analogous
#602C80 #802C76 #802C4C
triadic
#802C76 #76802C #2C7680
tetradic
#802C76 #80602C #2C8036 #2C4C80
square
#802C76 #80602C #2C8036 #2C4C80
split-complementary
#802C76 #4C802C #2C8060
monochromatic
#250D22 #521C4C #802C76 #AE3CA0 #C85FBB

Accessibility & contrast

On white

8.27
#802C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#802C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C76
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C76#FFFFFF#000000##FFFFFF
##802C761.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294778
Deuteranopia (green-blind)
#455374
Tritanopia (blue-blind)
#86334D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802c76;
/* rgb */ color: rgb(128, 44, 118);
/* oklch */ color: oklch(44.5% 0.147 332.8);
Tailwind
colors: {
  custom: {
    50: '#a76c9e',
    500: '#802c76',
    950: '#000000',
  },
}
SCSS
$custom: #802c76;
$custom-light: #a76c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#802c76",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 307.143,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44454,
    "c": 0.14675,
    "h": 332.8
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#802C76
secondary
#5AAE64
accent
#D8604F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802C76

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

Preview Lab → · Contrast checker → · Palette generator →

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