#802C82#802C82

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

Color values

HEX#802C82
RGBrgb(128, 44, 130)
HSLhsl(299, 49%, 34%)
HSVhsv(299, 66%, 51%)
CMYKcmyk(1.5%, 66.2%, 0%, 49%)
CIE-LABlab(33.99, 47.52, -31.05)
CIE-LCHlch(33.99, 56.77, 326.84°)
OKLaboklab(45.13% 0.1315 -0.0859)
OKLCHoklch(45.13% 0.157 326.8)
XYZxyz(13.8318, 8.0032, 21.9310)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C82 #2E822C
analogous
#552C82 #802C82 #822C59
triadic
#802C82 #82802C #2C8280
tetradic
#802C82 #82552C #2E822C #2C5982
square
#802C82 #82552C #2E822C #2C5982
split-complementary
#802C82 #59822C #2C8255
monochromatic
#260D27 #531D54 #802C82 #AD3BB0 #C75FC9

Accessibility & contrast

On white

8.08
#802C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802C82
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C82#FFFFFF#000000##FFFFFF
##802C821.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4985
Deuteranopia (green-blind)
#3F5480
Tritanopia (blue-blind)
#843853
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802c82;
/* rgb */ color: rgb(128, 44, 130);
/* oklch */ color: oklch(45.1% 0.157 326.8);
Tailwind
colors: {
  custom: {
    50: '#a86ca7',
    500: '#802c82',
    950: '#000000',
  },
}
SCSS
$custom: #802c82;
$custom-light: #a86ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#802c82",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 298.605,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45126,
    "c": 0.15708,
    "h": 326.8
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#802C82
secondary
#5DAF5B
accent
#D94F52
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802C82

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

Preview Lab → · Contrast checker → · Palette generator →

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