#802DA1#802DA1

#802DA1 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.185 H 314.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#802DA1
RGBrgb(128, 45, 161)
HSLhsl(283, 56%, 40%)
HSVhsv(283, 72%, 63%)
CMYKcmyk(20.5%, 72%, 0%, 36.9%)
CIE-LABlab(36.06, 53.24, -46.72)
CIE-LCHlch(36.06, 70.83, 318.73°)
OKLaboklab(47.23% 0.1293 -0.1317)
OKLCHoklch(47.23% 0.185 314.5)
XYZxyz(16.2724, 9.0397, 34.5990)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802DA1 #4EA12D
analogous
#462DA1 #802DA1 #A12D88
triadic
#802DA1 #A1802D #2DA180
tetradic
#802DA1 #A1462D #4EA12D #2D88A1
square
#802DA1 #A1462D #4EA12D #2D88A1
split-complementary
#802DA1 #88A12D #2DA146
monochromatic
#341241 #5A2071 #802DA1 #A341CA #BA71D7

Accessibility & contrast

On white

7.48
#802DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#802DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802DA1
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802DA1#FFFFFF#000000##FFFFFF
##802DA11.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#27579E
Tritanopia (blue-blind)
#7D4564
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #802da1;
/* rgb */ color: rgb(128, 45, 161);
/* oklch */ color: oklch(47.2% 0.185 314.5);
Tailwind
colors: {
  custom: {
    50: '#a96ebd',
    500: '#802da1',
    950: '#000000',
  },
}
SCSS
$custom: #802da1;
$custom-light: #a96ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#802da1",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 282.931,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4723,
    "c": 0.18458,
    "h": 314.5
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#802DA1
secondary
#83BF6B
accent
#E04873
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #802DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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