#802B89#802B89

#802B89 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.165 H 323.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#802B89
RGBrgb(128, 43, 137)
HSLhsl(294, 52%, 35%)
HSVhsv(294, 69%, 54%)
CMYKcmyk(6.6%, 68.6%, 0%, 46.3%)
CIE-LABlab(34.24, 49.26, -34.99)
CIE-LCHlch(34.24, 60.42, 324.62°)
OKLaboklab(45.44% 0.1329 -0.0974)
OKLCHoklch(45.44% 0.165 323.8)
XYZxyz(14.2809, 8.1239, 24.4779)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B89 #34892B
analogous
#512B89 #802B89 #892B63
triadic
#802B89 #89802B #2B8980
tetradic
#802B89 #89512B #34892B #2B6389
square
#802B89 #89512B #34892B #2B6389
split-complementary
#802B89 #63892B #2B8951
monochromatic
#290E2C #541C5A #802B89 #AC3AB8 #C361CD

Accessibility & contrast

On white

8.00
#802B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#802B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B89
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B89#FFFFFF#000000##FFFFFF
##802B891.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8C
Deuteranopia (green-blind)
#3B5487
Tritanopia (blue-blind)
#823A56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802b89;
/* rgb */ color: rgb(128, 43, 137);
/* oklch */ color: oklch(45.4% 0.165 323.8);
Tailwind
colors: {
  custom: {
    50: '#a86cac',
    500: '#802b89',
    950: '#000000',
  },
}
SCSS
$custom: #802b89;
$custom-light: #a86cac;
$custom-dark: #000000;
JSON
{
  "hex": "#802b89",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 294.255,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45437,
    "c": 0.16473,
    "h": 323.8
  },
  "luminance": 0.08123
}

Semantic roles & 50–950 ramp

primary
#802B89
secondary
#65B35C
accent
#DC4C5A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802B89

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

Preview Lab → · Contrast checker → · Palette generator →

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