#802E76#802E76

#802E76 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.7% C 0.144 H 332.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#802E76
RGBrgb(128, 46, 118)
HSLhsl(307, 47%, 34%)
HSVhsv(307, 64%, 50%)
CMYKcmyk(0%, 64.1%, 7.8%, 49.8%)
CIE-LABlab(33.67, 44.49, -24.04)
CIE-LCHlch(33.67, 50.57, 331.62°)
OKLaboklab(44.69% 0.1279 -0.0657)
OKLCHoklch(44.69% 0.144 332.8)
XYZxyz(13.1491, 7.8522, 17.9591)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E76 #2E8038
analogous
#612E80 #802E76 #802E4D
triadic
#802E76 #76802E #2E7680
tetradic
#802E76 #80612E #2E8038 #2E4D80
square
#802E76 #80612E #2E8038 #2E4D80
split-complementary
#802E76 #4D802E #2E8061
monochromatic
#260E23 #531E4C #802E76 #AD3EA0 #C762BA

Accessibility & contrast

On white

8.17
#802E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#802E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E76
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E76#FFFFFF#000000##FFFFFF
##802E761.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802e76;
/* rgb */ color: rgb(128, 46, 118);
/* oklch */ color: oklch(44.7% 0.144 332.8);
Tailwind
colors: {
  custom: {
    50: '#a76d9d',
    500: '#802e76',
    950: '#000000',
  },
}
SCSS
$custom: #802e76;
$custom-light: #a76d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#802e76",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 307.317,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4469,
    "c": 0.14378,
    "h": 332.8
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#802E76
secondary
#5DAD66
accent
#D76151
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802E76

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

Preview Lab → · Contrast checker → · Palette generator →

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