#802CA0#802CA0

#802CA0 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.185 H 314.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#802CA0
RGBrgb(128, 44, 160)
HSLhsl(283, 57%, 40%)
HSVhsv(283, 73%, 63%)
CMYKcmyk(20%, 72.5%, 0%, 37.3%)
CIE-LABlab(35.85, 53.44, -46.46)
CIE-LCHlch(35.85, 70.81, 319.00°)
OKLaboklab(47.06% 0.1305 -0.1309)
OKLCHoklch(47.06% 0.185 314.9)
XYZxyz(16.1469, 8.9292, 34.1238)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CA0 #4CA02C
analogous
#462CA0 #802CA0 #A02C86
triadic
#802CA0 #A0802C #2CA080
tetradic
#802CA0 #A0462C #4CA02C #2C86A0
square
#802CA0 #A0462C #4CA02C #2C86A0
split-complementary
#802CA0 #86A02C #2CA046
monochromatic
#331240 #5A1F70 #802CA0 #A43FCA #BB6FD7

Accessibility & contrast

On white

7.54
#802CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#802CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802CA0
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802CA0#FFFFFF#000000##FFFFFF
##802CA01.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#28569D
Tritanopia (blue-blind)
#7D4463
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #802ca0;
/* rgb */ color: rgb(128, 44, 160);
/* oklch */ color: oklch(47.1% 0.185 314.9);
Tailwind
colors: {
  custom: {
    50: '#a96dbd',
    500: '#802ca0',
    950: '#000000',
  },
}
SCSS
$custom: #802ca0;
$custom-light: #a96dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#802ca0",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 283.448,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.47056,
    "c": 0.18484,
    "h": 314.9
  },
  "luminance": 0.08929
}

Semantic roles & 50–950 ramp

primary
#802CA0
secondary
#81BF69
accent
#E04872
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #802CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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