#802C88#802C88

#802C88 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.5% C 0.162 H 324.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#802C88
RGBrgb(128, 44, 136)
HSLhsl(295, 51%, 35%)
HSVhsv(295, 68%, 53%)
CMYKcmyk(5.9%, 67.6%, 0%, 46.7%)
CIE-LABlab(34.33, 48.65, -34.22)
CIE-LCHlch(34.33, 59.48, 324.87°)
OKLaboklab(45.49% 0.1317 -0.0951)
OKLCHoklch(45.49% 0.162 324.2)
XYZxyz(14.2463, 8.1690, 24.1142)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C88 #34882C
analogous
#522C88 #802C88 #882C62
triadic
#802C88 #88802C #2C8880
tetradic
#802C88 #88522C #34882C #2C6288
square
#802C88 #88522C #34882C #2C6288
split-complementary
#802C88 #62882C #2C8852
monochromatic
#290E2C #541D5A #802C88 #AC3BB6 #C362CC

Accessibility & contrast

On white

7.97
#802C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802C88
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C88#FFFFFF#000000##FFFFFF
##802C881.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8B
Deuteranopia (green-blind)
#3C5486
Tritanopia (blue-blind)
#823A56
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802c88;
/* rgb */ color: rgb(128, 44, 136);
/* oklch */ color: oklch(45.5% 0.162 324.2);
Tailwind
colors: {
  custom: {
    50: '#a86cab',
    500: '#802c88',
    950: '#000000',
  },
}
SCSS
$custom: #802c88;
$custom-light: #a86cab;
$custom-dark: #000000;
JSON
{
  "hex": "#802c88",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 294.783,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45485,
    "c": 0.16247,
    "h": 324.2
  },
  "luminance": 0.08168
}

Semantic roles & 50–950 ramp

primary
#802C88
secondary
#65B35D
accent
#DB4D5A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802C88

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

Preview Lab → · Contrast checker → · Palette generator →

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