#802876#802876

#802876 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.152 H 332.7°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#802876
RGBrgb(128, 40, 118)
HSLhsl(307, 52%, 33%)
HSVhsv(307, 69%, 50%)
CMYKcmyk(0%, 68.8%, 7.8%, 49.8%)
CIE-LABlab(32.74, 47.09, -25.51)
CIE-LCHlch(32.74, 53.56, 331.56°)
OKLaboklab(44.01% 0.1354 -0.0699)
OKLCHoklch(44.01% 0.152 332.7)
XYZxyz(12.9309, 7.4158, 17.8864)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802876 #288032
analogous
#5E2880 #802876 #80284A
triadic
#802876 #768028 #287680
tetradic
#802876 #805E28 #288032 #284A80
square
#802876 #805E28 #288032 #284A80
split-complementary
#802876 #4A8028 #28805E
monochromatic
#230B20 #51194B #802876 #AF37A1 #CB58BE

Accessibility & contrast

On white

8.46
#802876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#802876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802876
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802876#FFFFFF#000000##FFFFFF
##8028761.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254578
Deuteranopia (green-blind)
#435174
Tritanopia (blue-blind)
#86304B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802876;
/* rgb */ color: rgb(128, 40, 118);
/* oklch */ color: oklch(44.0% 0.152 332.7);
Tailwind
colors: {
  custom: {
    50: '#a86a9e',
    500: '#802876',
    950: '#000000',
  },
}
SCSS
$custom: #802876;
$custom-light: #a86a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#802876",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 306.818,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44008,
    "c": 0.15242,
    "h": 332.7
  },
  "luminance": 0.07415
}

Semantic roles & 50–950 ramp

primary
#802876
secondary
#54B05E
accent
#DC5C4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802876

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

Preview Lab → · Contrast checker → · Palette generator →

#802876 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva