#802176#802176

#802176 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.161 H 332.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#802176
RGBrgb(128, 33, 118)
HSLhsl(306, 59%, 32%)
HSVhsv(306, 74%, 50%)
CMYKcmyk(0%, 74.2%, 7.8%, 49.8%)
CIE-LABlab(31.77, 49.80, -27.02)
CIE-LCHlch(31.77, 56.66, 331.52°)
OKLaboklab(43.31% 0.1433 -0.0742)
OKLCHoklch(43.31% 0.161 332.6)
XYZxyz(12.7160, 6.9860, 17.8147)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802176 #21802B
analogous
#5B2180 #802176 #802147
triadic
#802176 #768021 #217680
tetradic
#802176 #805B21 #21802B #214780
square
#802176 #805B21 #21802B #214780
split-complementary
#802176 #478021 #21805B
monochromatic
#1F081C #4F1449 #802176 #B12EA3 #D14BC2

Accessibility & contrast

On white

8.76
#802176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#802176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802176
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802176#FFFFFF#000000##FFFFFF
##8021761.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4278
Deuteranopia (green-blind)
#405074
Tritanopia (blue-blind)
#862B49
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802176;
/* rgb */ color: rgb(128, 33, 118);
/* oklch */ color: oklch(43.3% 0.161 332.6);
Tailwind
colors: {
  custom: {
    50: '#a8669e',
    500: '#802176',
    950: '#000000',
  },
}
SCSS
$custom: #802176;
$custom-light: #a8669e;
$custom-dark: #000000;
JSON
{
  "hex": "#802176",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 306.316,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43314,
    "c": 0.16139,
    "h": 332.6
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#802176
secondary
#4AB355
accent
#E25646
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802176

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

Preview Lab → · Contrast checker → · Palette generator →

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