#802A88#802A88

#802A88 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.165 H 324.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#802A88
RGBrgb(128, 42, 136)
HSLhsl(295, 53%, 35%)
HSVhsv(295, 69%, 53%)
CMYKcmyk(5.9%, 69.1%, 0%, 46.7%)
CIE-LABlab(34.03, 49.49, -34.70)
CIE-LCHlch(34.03, 60.45, 324.96°)
OKLaboklab(45.27% 0.134 -0.0965)
OKLCHoklch(45.27% 0.165 324.2)
XYZxyz(14.1736, 8.0235, 24.0899)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A88 #32882A
analogous
#512A88 #802A88 #882A61
triadic
#802A88 #88802A #2A8880
tetradic
#802A88 #88512A #32882A #2A6188
square
#802A88 #88512A #32882A #2A6188
split-complementary
#802A88 #61882A #2A8851
monochromatic
#280D2A #541C59 #802A88 #AC38B7 #C45FCE

Accessibility & contrast

On white

8.06
#802A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802A88
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A88#FFFFFF#000000##FFFFFF
##802A881.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498B
Deuteranopia (green-blind)
#3B5486
Tritanopia (blue-blind)
#833955
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802a88;
/* rgb */ color: rgb(128, 42, 136);
/* oklch */ color: oklch(45.3% 0.165 324.2);
Tailwind
colors: {
  custom: {
    50: '#a86bab',
    500: '#802a88',
    950: '#000000',
  },
}
SCSS
$custom: #802a88;
$custom-light: #a86bab;
$custom-dark: #000000;
JSON
{
  "hex": "#802a88",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 294.894,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45269,
    "c": 0.16515,
    "h": 324.2
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#802A88
secondary
#62B35B
accent
#DC4C58
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802A88

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

Preview Lab → · Contrast checker → · Palette generator →

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