#802DA0#802DA0

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

Color values

HEX#802DA0
RGBrgb(128, 45, 160)
HSLhsl(283, 56%, 40%)
HSVhsv(283, 72%, 63%)
CMYKcmyk(20%, 71.9%, 0%, 37.3%)
CIE-LABlab(35.99, 53.03, -46.22)
CIE-LCHlch(35.99, 70.35, 318.92°)
OKLaboklab(47.16% 0.1295 -0.1302)
OKLCHoklch(47.16% 0.184 314.8)
XYZxyz(16.1846, 9.0046, 34.1364)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802DA0 #4DA02D
analogous
#462DA0 #802DA0 #A02D87
triadic
#802DA0 #A0802D #2DA080
tetradic
#802DA0 #A0462D #4DA02D #2D87A0
square
#802DA0 #A0462D #4DA02D #2D87A0
split-complementary
#802DA0 #87A02D #2DA046
monochromatic
#341240 #5A2070 #802DA0 #A341C9 #BA70D7

Accessibility & contrast

On white

7.50
#802DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#802DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802DA0
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802DA0#FFFFFF#000000##FFFFFF
##802DA01.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#29579D
Tritanopia (blue-blind)
#7D4563
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #802da0;
/* rgb */ color: rgb(128, 45, 160);
/* oklch */ color: oklch(47.2% 0.184 314.8);
Tailwind
colors: {
  custom: {
    50: '#a96ebd',
    500: '#802da0',
    950: '#000000',
  },
}
SCSS
$custom: #802da0;
$custom-light: #a96ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#802da0",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 283.304,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4716,
    "c": 0.18362,
    "h": 314.8
  },
  "luminance": 0.09004
}

Semantic roles & 50–950 ramp

primary
#802DA0
secondary
#82BE6B
accent
#DF4872
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #802DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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