#802EA0#802EA0

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

Color values

HEX#802EA0
RGBrgb(128, 46, 160)
HSLhsl(283, 55%, 40%)
HSVhsv(283, 71%, 63%)
CMYKcmyk(20%, 71.2%, 0%, 37.3%)
CIE-LABlab(36.14, 52.61, -45.99)
CIE-LCHlch(36.14, 69.87, 318.84°)
OKLaboklab(47.27% 0.1284 -0.1295)
OKLCHoklch(47.27% 0.182 314.7)
XYZxyz(16.2232, 9.0818, 34.1493)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802EA0 #4EA02E
analogous
#472EA0 #802EA0 #A02E87
triadic
#802EA0 #A0802E #2EA080
tetradic
#802EA0 #A0472E #4EA02E #2E87A0
square
#802EA0 #A0472E #4EA02E #2E87A0
split-complementary
#802EA0 #87A02E #2EA047
monochromatic
#341341 #5A2070 #802EA0 #A342C9 #BA72D6

Accessibility & contrast

On white

7.46
#802EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802EA0
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802EA0#FFFFFF#000000##FFFFFF
##802EA01.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#2A579D
Tritanopia (blue-blind)
#7D4664
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #802ea0;
/* rgb */ color: rgb(128, 46, 160);
/* oklch */ color: oklch(47.3% 0.182 314.7);
Tailwind
colors: {
  custom: {
    50: '#a86ebd',
    500: '#802ea0',
    950: '#000000',
  },
}
SCSS
$custom: #802ea0;
$custom-light: #a86ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#802ea0",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 283.158,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47266,
    "c": 0.18238,
    "h": 314.7
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#802EA0
secondary
#83BE6C
accent
#DF4973
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #802EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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