#802AA9#802AA9

#802AA9 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.196 H 312.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#802AA9
RGBrgb(128, 42, 169)
HSLhsl(281, 60%, 41%)
HSVhsv(281, 75%, 66%)
CMYKcmyk(24.3%, 75.1%, 0%, 33.7%)
CIE-LABlab(36.20, 56.12, -51.31)
CIE-LCHlch(36.20, 76.04, 317.57°)
OKLaboklab(47.5% 0.1312 -0.1451)
OKLCHoklch(47.5% 0.196 312.1)
XYZxyz(16.8902, 9.1102, 38.3971)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802AA9 #53A92A
analogous
#412AA9 #802AA9 #A92A93
triadic
#802AA9 #A9802A #2AA980
tetradic
#802AA9 #A9412A #53A92A #2A93A9
square
#802AA9 #A9412A #53A92A #2A93A9
split-complementary
#802AA9 #93A92A #2AA941
monochromatic
#361247 #5B1E78 #802AA9 #A141D0 #BA72DC

Accessibility & contrast

On white

7.44
#802AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#802AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802AA9
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802AA9#FFFFFF#000000##FFFFFF
##802AA91.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#1757A6
Tritanopia (blue-blind)
#7B4768
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #802aa9;
/* rgb */ color: rgb(128, 42, 169);
/* oklch */ color: oklch(47.5% 0.196 312.1);
Tailwind
colors: {
  custom: {
    50: '#a96dc3',
    500: '#802aa9',
    950: '#000000',
  },
}
SCSS
$custom: #802aa9;
$custom-light: #a96dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#802aa9",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 280.63,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47502,
    "c": 0.19566,
    "h": 312.1
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#802AA9
secondary
#88C36C
accent
#E34478
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #802AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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