#802E79#802E79

#802E79 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.146 H 331.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#802E79
RGBrgb(128, 46, 121)
HSLhsl(305, 47%, 34%)
HSVhsv(305, 64%, 50%)
CMYKcmyk(0%, 64.1%, 5.5%, 49.8%)
CIE-LABlab(33.83, 45.01, -25.69)
CIE-LCHlch(33.83, 51.83, 330.29°)
OKLaboklab(44.85% 0.1283 -0.0704)
OKLCHoklch(44.85% 0.146 331.2)
XYZxyz(13.3302, 7.9246, 18.9130)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E79 #2E8035
analogous
#5E2E80 #802E79 #802E50
triadic
#802E79 #79802E #2E7980
tetradic
#802E79 #805E2E #2E8035 #2E5080
square
#802E79 #805E2E #2E8035 #2E5080
split-complementary
#802E79 #50802E #2E805E
monochromatic
#260E24 #531E4E #802E79 #AD3EA4 #C762BE

Accessibility & contrast

On white

8.12
#802E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#802E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E79
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E79#FFFFFF#000000##FFFFFF
##802E791.008.122.588.12
#FFFFFF8.121.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29487B
Deuteranopia (green-blind)
#455477
Tritanopia (blue-blind)
#85364F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802e79;
/* rgb */ color: rgb(128, 46, 121);
/* oklch */ color: oklch(44.9% 0.146 331.2);
Tailwind
colors: {
  custom: {
    50: '#a76da0',
    500: '#802e79',
    950: '#000000',
  },
}
SCSS
$custom: #802e79;
$custom-light: #a76da0;
$custom-dark: #000000;
JSON
{
  "hex": "#802e79",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 305.122,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4485,
    "c": 0.14633,
    "h": 331.2
  },
  "luminance": 0.07924
}

Semantic roles & 50–950 ramp

primary
#802E79
secondary
#5DAD63
accent
#D75C51
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802E79

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

Preview Lab → · Contrast checker → · Palette generator →

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