#802CA9#802CA9

#802CA9 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.193 H 312.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#802CA9
RGBrgb(128, 44, 169)
HSLhsl(280, 59%, 42%)
HSVhsv(280, 74%, 66%)
CMYKcmyk(24.3%, 74%, 0%, 33.7%)
CIE-LABlab(36.47, 55.34, -50.86)
CIE-LCHlch(36.47, 75.16, 317.41°)
OKLaboklab(47.7% 0.1293 -0.1438)
OKLCHoklch(47.7% 0.193 312)
XYZxyz(16.9629, 9.2556, 38.4214)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CA9 #55A92C
analogous
#422CA9 #802CA9 #A92C94
triadic
#802CA9 #A9802C #2CA980
tetradic
#802CA9 #A9422C #55A92C #2C94A9
square
#802CA9 #A9422C #55A92C #2C94A9
split-complementary
#802CA9 #94A92C #2CA942
monochromatic
#361348 #5B1F78 #802CA9 #A144CE #B974DB

Accessibility & contrast

On white

7.37
#802CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#802CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802CA9
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802CA9#FFFFFF#000000##FFFFFF
##802CA91.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#1A57A6
Tritanopia (blue-blind)
#7B4868
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #802ca9;
/* rgb */ color: rgb(128, 44, 169);
/* oklch */ color: oklch(47.7% 0.193 312.0);
Tailwind
colors: {
  custom: {
    50: '#a96ec3',
    500: '#802ca9',
    950: '#000000',
  },
}
SCSS
$custom: #802ca9;
$custom-light: #a96ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#802ca9",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 280.32,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47698,
    "c": 0.19341,
    "h": 312
  },
  "luminance": 0.09255
}

Semantic roles & 50–950 ramp

primary
#802CA9
secondary
#8AC36E
accent
#E24679
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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