#802177#802177

#802177 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.162 H 332.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#802177
RGBrgb(128, 33, 119)
HSLhsl(306, 59%, 32%)
HSVhsv(306, 74%, 50%)
CMYKcmyk(0%, 74.2%, 7%, 49.8%)
CIE-LABlab(31.83, 49.96, -27.56)
CIE-LCHlch(31.83, 57.06, 331.12°)
OKLaboklab(43.37% 0.1434 -0.0757)
OKLCHoklch(43.37% 0.162 332.2)
XYZxyz(12.7757, 7.0099, 18.1294)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802177 #21802A
analogous
#5A2180 #802177 #802148
triadic
#802177 #778021 #217780
tetradic
#802177 #805A21 #21802A #214880
square
#802177 #805A21 #21802A #214880
split-complementary
#802177 #488021 #21805A
monochromatic
#1F081D #4F144A #802177 #B12EA4 #D14BC4

Accessibility & contrast

On white

8.74
#802177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802177
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802177#FFFFFF#000000##FFFFFF
##8021771.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4279
Deuteranopia (green-blind)
#3F5075
Tritanopia (blue-blind)
#862B4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802177;
/* rgb */ color: rgb(128, 33, 119);
/* oklch */ color: oklch(43.4% 0.162 332.2);
Tailwind
colors: {
  custom: {
    50: '#a8669e',
    500: '#802177',
    950: '#000000',
  },
}
SCSS
$custom: #802177;
$custom-light: #a8669e;
$custom-dark: #000000;
JSON
{
  "hex": "#802177",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 305.684,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43371,
    "c": 0.16218,
    "h": 332.2
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#802177
secondary
#4AB354
accent
#E25446
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802177

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

Preview Lab → · Contrast checker → · Palette generator →

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