#802CA5#802CA5

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

Color values

HEX#802CA5
RGBrgb(128, 44, 165)
HSLhsl(282, 58%, 41%)
HSVhsv(282, 73%, 65%)
CMYKcmyk(22.4%, 73.3%, 0%, 35.3%)
CIE-LABlab(36.19, 54.49, -48.92)
CIE-LCHlch(36.19, 73.22, 318.08°)
OKLaboklab(47.41% 0.1299 -0.1381)
OKLCHoklch(47.41% 0.19 313.2)
XYZxyz(16.5931, 9.1077, 36.4739)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CA5 #51A52C
analogous
#432CA5 #802CA5 #A52C8D
triadic
#802CA5 #A5802C #2CA580
tetradic
#802CA5 #A5432C #51A52C #2C8DA5
square
#802CA5 #A5432C #51A52C #2C8DA5
split-complementary
#802CA5 #8DA52C #2CA543
monochromatic
#351244 #5B1F75 #802CA5 #A242CD #BA72D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802CA5#FFFFFF#000000##FFFFFF
##802CA51.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)
#0051A8
Deuteranopia (green-blind)
#2157A2
Tritanopia (blue-blind)
#7C4666
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #802ca5;
/* rgb */ color: rgb(128, 44, 165);
/* oklch */ color: oklch(47.4% 0.190 313.2);
Tailwind
colors: {
  custom: {
    50: '#a96dc0',
    500: '#802ca5',
    950: '#000000',
  },
}
SCSS
$custom: #802ca5;
$custom-light: #a96dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#802ca5",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 281.653,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47409,
    "c": 0.18959,
    "h": 313.2
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

primary
#802CA5
secondary
#86C16C
accent
#E14776
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #802CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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