#802E77#802E77

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

Color values

HEX#802E77
RGBrgb(128, 46, 119)
HSLhsl(307, 47%, 34%)
HSVhsv(307, 64%, 50%)
CMYKcmyk(0%, 64.1%, 7%, 49.8%)
CIE-LABlab(33.72, 44.66, -24.59)
CIE-LCHlch(33.72, 50.98, 331.16°)
OKLaboklab(44.74% 0.128 -0.0673)
OKLCHoklch(44.74% 0.145 332.3)
XYZxyz(13.2089, 7.8761, 18.2737)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E77 #2E8037
analogous
#602E80 #802E77 #802E4E
triadic
#802E77 #77802E #2E7780
tetradic
#802E77 #80602E #2E8037 #2E4E80
square
#802E77 #80602E #2E8037 #2E4E80
split-complementary
#802E77 #4E802E #2E8060
monochromatic
#260E23 #531E4D #802E77 #AD3EA1 #C762BB

Accessibility & contrast

On white

8.16
#802E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802E77
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E77#FFFFFF#000000##FFFFFF
##802E771.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#465475
Tritanopia (blue-blind)
#85354E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802e77;
/* rgb */ color: rgb(128, 46, 119);
/* oklch */ color: oklch(44.7% 0.145 332.3);
Tailwind
colors: {
  custom: {
    50: '#a76d9e',
    500: '#802e77',
    950: '#000000',
  },
}
SCSS
$custom: #802e77;
$custom-light: #a76d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#802e77",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 306.585,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44743,
    "c": 0.14463,
    "h": 332.3
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#802E77
secondary
#5DAD65
accent
#D76051
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802E77

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

Preview Lab → · Contrast checker → · Palette generator →

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