#802C80#802C80

#802C80 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.155 H 327.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#802C80
RGBrgb(128, 44, 128)
HSLhsl(300, 49%, 34%)
HSVhsv(300, 66%, 50%)
CMYKcmyk(0%, 65.6%, 0%, 49.8%)
CIE-LABlab(33.88, 47.16, -29.98)
CIE-LCHlch(33.88, 55.88, 327.56°)
OKLaboklab(45.01% 0.1314 -0.0828)
OKLCHoklch(45.01% 0.155 327.8)
XYZxyz(13.6989, 7.9500, 21.2309)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C80 #2C802C
analogous
#562C80 #802C80 #802C56
triadic
#802C80 #80802C #2C8080
tetradic
#802C80 #80562C #2C802C #2C5680
square
#802C80 #80562C #2C802C #2C5680
split-complementary
#802C80 #56802C #2C8056
monochromatic
#250D25 #521C52 #802C80 #AE3CAE #C85FC8

Accessibility & contrast

On white

8.11
#802C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#802C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C80
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C80#FFFFFF#000000##FFFFFF
##802C801.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214982
Deuteranopia (green-blind)
#40547E
Tritanopia (blue-blind)
#843752
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802c80;
/* rgb */ color: rgb(128, 44, 128);
/* oklch */ color: oklch(45.0% 0.155 327.8);
Tailwind
colors: {
  custom: {
    50: '#a86ca5',
    500: '#802c80',
    950: '#000000',
  },
}
SCSS
$custom: #802c80;
$custom-light: #a86ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#802c80",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 300,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4501,
    "c": 0.15532,
    "h": 327.8
  },
  "luminance": 0.07949
}

Semantic roles & 50–950 ramp

primary
#802C80
secondary
#5AAE5A
accent
#D84F4F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802C80

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

Preview Lab → · Contrast checker → · Palette generator →

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