#802C81#802C81

#802C81 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.156 H 327.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#802C81
RGBrgb(128, 44, 129)
HSLhsl(299, 49%, 34%)
HSVhsv(299, 66%, 51%)
CMYKcmyk(0.8%, 65.9%, 0%, 49.4%)
CIE-LABlab(33.93, 47.34, -30.51)
CIE-LCHlch(33.93, 56.32, 327.20°)
OKLaboklab(45.07% 0.1315 -0.0844)
OKLCHoklch(45.07% 0.156 327.3)
XYZxyz(13.7650, 7.9764, 21.5792)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C81 #2D812C
analogous
#562C81 #802C81 #812C58
triadic
#802C81 #81802C #2C8180
tetradic
#802C81 #81562C #2D812C #2C5881
square
#802C81 #81562C #2D812C #2C5881
split-complementary
#802C81 #58812C #2C8156
monochromatic
#250D26 #531C53 #802C81 #AD3CAF #C75FC8

Accessibility & contrast

On white

8.09
#802C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#802C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C81
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C81#FFFFFF#000000##FFFFFF
##802C811.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#40547F
Tritanopia (blue-blind)
#843852
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802c81;
/* rgb */ color: rgb(128, 44, 129);
/* oklch */ color: oklch(45.1% 0.156 327.3);
Tailwind
colors: {
  custom: {
    50: '#a86ca6',
    500: '#802c81',
    950: '#000000',
  },
}
SCSS
$custom: #802c81;
$custom-light: #a86ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#802c81",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 299.294,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45068,
    "c": 0.15621,
    "h": 327.3
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#802C81
secondary
#5BAF5A
accent
#D94F51
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802C81

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

Preview Lab → · Contrast checker → · Palette generator →

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