#802DA3#802DA3

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

Color values

HEX#802DA3
RGBrgb(128, 45, 163)
HSLhsl(282, 57%, 41%)
HSVhsv(282, 72%, 64%)
CMYKcmyk(21.5%, 72.4%, 0%, 36.1%)
CIE-LABlab(36.20, 53.66, -47.70)
CIE-LCHlch(36.20, 71.80, 318.36°)
OKLaboklab(47.37% 0.1291 -0.1346)
OKLCHoklch(47.37% 0.186 313.8)
XYZxyz(16.4502, 9.1108, 35.5353)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802DA3 #50A32D
analogous
#452DA3 #802DA3 #A32D8B
triadic
#802DA3 #A3802D #2DA380
tetradic
#802DA3 #A3452D #50A32D #2D8BA3
square
#802DA3 #A3452D #50A32D #2D8BA3
split-complementary
#802DA3 #8BA32D #2DA345
monochromatic
#351343 #5A2073 #802DA3 #A242CB #BA72D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802DA3#FFFFFF#000000##FFFFFF
##802DA31.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)
#0051A6
Deuteranopia (green-blind)
#2557A0
Tritanopia (blue-blind)
#7D4665
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #802da3;
/* rgb */ color: rgb(128, 45, 163);
/* oklch */ color: oklch(47.4% 0.186 313.8);
Tailwind
colors: {
  custom: {
    50: '#a96ebf',
    500: '#802da3',
    950: '#000000',
  },
}
SCSS
$custom: #802da3;
$custom-light: #a96ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#802da3",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 282.203,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4737,
    "c": 0.18649,
    "h": 313.8
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#802DA3
secondary
#85C06C
accent
#E04875
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #802DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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