#802B77#802B77

#802B77 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.149 H 332.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#802B77
RGBrgb(128, 43, 119)
HSLhsl(306, 50%, 34%)
HSVhsv(306, 66%, 50%)
CMYKcmyk(0%, 66.4%, 7%, 49.8%)
CIE-LABlab(33.24, 45.99, -25.34)
CIE-LCHlch(33.24, 52.51, 331.14°)
OKLaboklab(44.39% 0.1319 -0.0694)
OKLCHoklch(44.39% 0.149 332.2)
XYZxyz(13.0957, 7.6499, 18.2360)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B77 #2B8034
analogous
#5E2B80 #802B77 #802B4C
triadic
#802B77 #77802B #2B7780
tetradic
#802B77 #805E2B #2B8034 #2B4C80
square
#802B77 #805E2B #2B8034 #2B4C80
split-complementary
#802B77 #4C802B #2B805E
monochromatic
#240C22 #521C4C #802B77 #AE3AA2 #C95DBD

Accessibility & contrast

On white

8.30
#802B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#802B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B77
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B77#FFFFFF#000000##FFFFFF
##802B771.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274679
Deuteranopia (green-blind)
#445375
Tritanopia (blue-blind)
#85334D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802b77;
/* rgb */ color: rgb(128, 43, 119);
/* oklch */ color: oklch(44.4% 0.149 332.2);
Tailwind
colors: {
  custom: {
    50: '#a86b9e',
    500: '#802b77',
    950: '#000000',
  },
}
SCSS
$custom: #802b77;
$custom-light: #a86b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#802b77",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 306.353,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44393,
    "c": 0.14904,
    "h": 332.2
  },
  "luminance": 0.07649
}

Semantic roles & 50–950 ramp

primary
#802B77
secondary
#58AE61
accent
#D95D4F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802B77

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

Preview Lab → · Contrast checker → · Palette generator →

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