#802AA3#802AA3

#802AA3 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.190 H 314.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#802AA3
RGBrgb(128, 42, 163)
HSLhsl(283, 59%, 40%)
HSVhsv(283, 74%, 64%)
CMYKcmyk(21.5%, 74.2%, 0%, 36.1%)
CIE-LABlab(35.77, 54.86, -48.39)
CIE-LCHlch(35.77, 73.15, 318.59°)
OKLaboklab(47.07% 0.1321 -0.1366)
OKLCHoklch(47.07% 0.19 314.1)
XYZxyz(16.3398, 8.8900, 35.4984)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802AA3 #4DA32A
analogous
#442AA3 #802AA3 #A32A89
triadic
#802AA3 #A3802A #2AA380
tetradic
#802AA3 #A3442A #4DA32A #2A89A3
square
#802AA3 #A3442A #4DA32A #2A89A3
split-complementary
#802AA3 #89A32A #2AA344
monochromatic
#341142 #5A1D72 #802AA3 #A33DCD #BA6EDA

Accessibility & contrast

On white

7.56
#802AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#802AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802AA3
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802AA3#FFFFFF#000000##FFFFFF
##802AA31.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#2256A0
Tritanopia (blue-blind)
#7D4564
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #802aa3;
/* rgb */ color: rgb(128, 42, 163);
/* oklch */ color: oklch(47.1% 0.190 314.1);
Tailwind
colors: {
  custom: {
    50: '#a96cbf',
    500: '#802aa3',
    950: '#000000',
  },
}
SCSS
$custom: #802aa3;
$custom-light: #a96cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#802aa3",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 282.645,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47068,
    "c": 0.19002,
    "h": 314.1
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#802AA3
secondary
#82C068
accent
#E24673
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #802AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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