#802D89#802D89

#802D89 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.7% C 0.162 H 323.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#802D89
RGBrgb(128, 45, 137)
HSLhsl(294, 51%, 36%)
HSVhsv(294, 67%, 54%)
CMYKcmyk(6.6%, 67.2%, 0%, 46.3%)
CIE-LABlab(34.54, 48.41, -34.50)
CIE-LCHlch(34.54, 59.45, 324.52°)
OKLaboklab(45.66% 0.1305 -0.096)
OKLCHoklch(45.66% 0.162 323.7)
XYZxyz(14.3554, 8.2729, 24.5028)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D89 #36892D
analogous
#522D89 #802D89 #892D64
triadic
#802D89 #89802D #2D8980
tetradic
#802D89 #89522D #36892D #2D6489
square
#802D89 #89522D #36892D #2D6489
split-complementary
#802D89 #64892D #2D8952
monochromatic
#2A0F2D #551E5B #802D89 #AB3CB7 #C264CC

Accessibility & contrast

On white

7.91
#802D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#802D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802D89
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D89#FFFFFF#000000##FFFFFF
##802D891.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184B8C
Deuteranopia (green-blind)
#3C5587
Tritanopia (blue-blind)
#823B57
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802d89;
/* rgb */ color: rgb(128, 45, 137);
/* oklch */ color: oklch(45.7% 0.162 323.7);
Tailwind
colors: {
  custom: {
    50: '#a86dac',
    500: '#802d89',
    950: '#000000',
  },
}
SCSS
$custom: #802d89;
$custom-light: #a86dac;
$custom-dark: #000000;
JSON
{
  "hex": "#802d89",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 294.13,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45657,
    "c": 0.16201,
    "h": 323.7
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#802D89
secondary
#67B35F
accent
#DA4E5B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802D89

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

Preview Lab → · Contrast checker → · Palette generator →

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