#802E78#802E78

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

Color values

HEX#802E78
RGBrgb(128, 46, 120)
HSLhsl(306, 47%, 34%)
HSVhsv(306, 64%, 50%)
CMYKcmyk(0%, 64.1%, 6.3%, 49.8%)
CIE-LABlab(33.77, 44.84, -25.14)
CIE-LCHlch(33.77, 51.40, 330.72°)
OKLaboklab(44.8% 0.1281 -0.0689)
OKLCHoklch(44.8% 0.145 331.7)
XYZxyz(13.2692, 7.9002, 18.5917)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E78 #2E8036
analogous
#5F2E80 #802E78 #802E4F
triadic
#802E78 #78802E #2E7880
tetradic
#802E78 #805F2E #2E8036 #2E4F80
square
#802E78 #805F2E #2E8036 #2E4F80
split-complementary
#802E78 #4F802E #2E805F
monochromatic
#260E24 #531E4E #802E78 #AD3EA2 #C762BD

Accessibility & contrast

On white

8.14
#802E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802E78
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E78#FFFFFF#000000##FFFFFF
##802E781.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802e78;
/* rgb */ color: rgb(128, 46, 120);
/* oklch */ color: oklch(44.8% 0.145 331.7);
Tailwind
colors: {
  custom: {
    50: '#a76d9f',
    500: '#802e78',
    950: '#000000',
  },
}
SCSS
$custom: #802e78;
$custom-light: #a76d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#802e78",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 305.854,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44796,
    "c": 0.14547,
    "h": 331.7
  },
  "luminance": 0.07899
}

Semantic roles & 50–950 ramp

primary
#802E78
secondary
#5DAD64
accent
#D75E51
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802E78

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

Preview Lab → · Contrast checker → · Palette generator →

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