#802EA1#802EA1

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

Color values

HEX#802EA1
RGBrgb(128, 46, 161)
HSLhsl(283, 56%, 41%)
HSVhsv(283, 71%, 63%)
CMYKcmyk(20.5%, 71.4%, 0%, 36.9%)
CIE-LABlab(36.21, 52.82, -46.48)
CIE-LCHlch(36.21, 70.36, 318.65°)
OKLaboklab(47.34% 0.1283 -0.131)
OKLCHoklch(47.34% 0.183 314.4)
XYZxyz(16.3110, 9.1169, 34.6118)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802EA1 #4FA12E
analogous
#472EA1 #802EA1 #A12E88
triadic
#802EA1 #A1802E #2EA180
tetradic
#802EA1 #A1472E #4FA12E #2E88A1
square
#802EA1 #A1472E #4FA12E #2E88A1
split-complementary
#802EA1 #88A12E #2EA147
monochromatic
#341342 #5A2071 #802EA1 #A343C9 #BA73D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802EA1#FFFFFF#000000##FFFFFF
##802EA11.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)
#0051A4
Deuteranopia (green-blind)
#28579E
Tritanopia (blue-blind)
#7D4664
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #802ea1;
/* rgb */ color: rgb(128, 46, 161);
/* oklch */ color: oklch(47.3% 0.183 314.4);
Tailwind
colors: {
  custom: {
    50: '#a96ebd',
    500: '#802ea1',
    950: '#000000',
  },
}
SCSS
$custom: #802ea1;
$custom-light: #a96ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#802ea1",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 282.783,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47335,
    "c": 0.18335,
    "h": 314.4
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

primary
#802EA1
secondary
#84BE6C
accent
#DF4974
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #802EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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