#802B88#802B88

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

Color values

HEX#802B88
RGBrgb(128, 43, 136)
HSLhsl(295, 52%, 35%)
HSVhsv(295, 68%, 53%)
CMYKcmyk(5.9%, 68.4%, 0%, 46.7%)
CIE-LABlab(34.18, 49.07, -34.47)
CIE-LCHlch(34.18, 59.97, 324.92°)
OKLaboklab(45.38% 0.1329 -0.0958)
OKLCHoklch(45.38% 0.164 324.2)
XYZxyz(14.2095, 8.0954, 24.1019)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B88 #33882B
analogous
#522B88 #802B88 #882B61
triadic
#802B88 #88802B #2B8880
tetradic
#802B88 #88522B #33882B #2B6188
square
#802B88 #88522B #33882B #2B6188
split-complementary
#802B88 #61882B #2B8852
monochromatic
#280E2B #541C5A #802B88 #AC3AB6 #C461CD

Accessibility & contrast

On white

8.02
#802B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802B88
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B88#FFFFFF#000000##FFFFFF
##802B881.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8B
Deuteranopia (green-blind)
#3B5486
Tritanopia (blue-blind)
#833A56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802b88;
/* rgb */ color: rgb(128, 43, 136);
/* oklch */ color: oklch(45.4% 0.164 324.2);
Tailwind
colors: {
  custom: {
    50: '#a86cab',
    500: '#802b88',
    950: '#000000',
  },
}
SCSS
$custom: #802b88;
$custom-light: #a86cab;
$custom-dark: #000000;
JSON
{
  "hex": "#802b88",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 294.839,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45376,
    "c": 0.16382,
    "h": 324.2
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#802B88
secondary
#63B35C
accent
#DB4C59
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802B88

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

Preview Lab → · Contrast checker → · Palette generator →

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