#801776#801776

#801776 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.172 H 332.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#801776
RGBrgb(128, 23, 118)
HSLhsl(306, 70%, 30%)
HSVhsv(306, 82%, 50%)
CMYKcmyk(0%, 82%, 7.8%, 49.8%)
CIE-LABlab(30.67, 52.97, -28.77)
CIE-LCHlch(30.67, 60.28, 331.50°)
OKLaboklab(42.52% 0.1526 -0.0791)
OKLCHoklch(42.52% 0.172 332.6)
XYZxyz(12.4786, 6.5111, 17.7356)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801776 #178021
analogous
#551780 #801776 #801742
triadic
#801776 #768017 #177680
tetradic
#801776 #805517 #178021 #174280
square
#801776 #805517 #178021 #174280
split-complementary
#801776 #428017 #178055
monochromatic
#1A0518 #4C0E46 #801776 #B420A6 #DB36CB

Accessibility & contrast

On white

9.12
#801776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#801776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801776
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801776#FFFFFF#000000##FFFFFF
##8017761.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3F78
Deuteranopia (green-blind)
#3C4D74
Tritanopia (blue-blind)
#862446
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #801776;
/* rgb */ color: rgb(128, 23, 118);
/* oklch */ color: oklch(42.5% 0.172 332.6);
Tailwind
colors: {
  custom: {
    50: '#a8639e',
    500: '#801776',
    950: '#000000',
  },
}
SCSS
$custom: #801776;
$custom-light: #a8639e;
$custom-dark: #000000;
JSON
{
  "hex": "#801776",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 305.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4252,
    "c": 0.17191,
    "h": 332.6
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#801776
secondary
#3EB44A
accent
#EC4C3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801776

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

Preview Lab → · Contrast checker → · Palette generator →

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