#802C87#802C87

#802C87 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.162 H 324.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#802C87
RGBrgb(128, 44, 135)
HSLhsl(295, 51%, 35%)
HSVhsv(295, 67%, 53%)
CMYKcmyk(5.2%, 67.4%, 0%, 47.1%)
CIE-LABlab(34.27, 48.46, -33.70)
CIE-LCHlch(34.27, 59.02, 325.19°)
OKLaboklab(45.42% 0.1317 -0.0936)
OKLCHoklch(45.42% 0.162 324.6)
XYZxyz(14.1756, 8.1407, 23.7416)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C87 #33872C
analogous
#532C87 #802C87 #872C60
triadic
#802C87 #87802C #2C8780
tetradic
#802C87 #87532C #33872C #2C6087
square
#802C87 #87532C #33872C #2C6087
split-complementary
#802C87 #60872C #2C8753
monochromatic
#280E2B #541D59 #802C87 #AC3BB5 #C462CC

Accessibility & contrast

On white

7.99
#802C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#802C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C87
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C87#FFFFFF#000000##FFFFFF
##802C871.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#3C5485
Tritanopia (blue-blind)
#833A56
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802c87;
/* rgb */ color: rgb(128, 44, 135);
/* oklch */ color: oklch(45.4% 0.162 324.6);
Tailwind
colors: {
  custom: {
    50: '#a86caa',
    500: '#802c87',
    950: '#000000',
  },
}
SCSS
$custom: #802c87;
$custom-light: #a86caa;
$custom-dark: #000000;
JSON
{
  "hex": "#802c87",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 295.385,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45424,
    "c": 0.16156,
    "h": 324.6
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#802C87
secondary
#63B25D
accent
#DA4D58
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802C87

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

Preview Lab → · Contrast checker → · Palette generator →

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