#802CC9#802CC9

#802CC9 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.2% C 0.224 H 303.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#802CC9
RGBrgb(128, 44, 201)
HSLhsl(272, 64%, 48%)
HSVhsv(272, 78%, 79%)
CMYKcmyk(36.3%, 78.1%, 0%, 21.2%)
CIE-LABlab(38.91, 62.40, -65.78)
CIE-LCHlch(38.91, 90.67, 313.49°)
OKLaboklab(50.18% 0.1226 -0.1877)
OKLCHoklch(50.18% 0.224 303.2)
XYZxyz(20.3429, 10.6076, 56.2228)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CC9 #75C92C
analogous
#312CC9 #802CC9 #C92CC3
triadic
#802CC9 #C9802C #2CC980
tetradic
#802CC9 #C9312C #75C92C #2CC3C9
square
#802CC9 #C9312C #75C92C #2CC3C9
split-complementary
#802CC9 #C3C92C #2CC931
monochromatic
#401665 #602197 #802CC9 #9E58DA #BB8AE5

Accessibility & contrast

On white

6.73
#802CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#802CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802CC9
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802CC9#FFFFFF#000000##FFFFFF
##802CC91.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#71567A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #802cc9;
/* rgb */ color: rgb(128, 44, 201);
/* oklch */ color: oklch(50.2% 0.224 303.2);
Tailwind
colors: {
  custom: {
    50: '#ab6fda',
    500: '#802cc9',
    950: '#000000',
  },
}
SCSS
$custom: #802cc9;
$custom-light: #ab6fda;
$custom-dark: #000000;
JSON
{
  "hex": "#802cc9",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 272.102,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50177,
    "c": 0.22416,
    "h": 303.2
  },
  "luminance": 0.10608
}

Semantic roles & 50–950 ramp

primary
#802CC9
secondary
#A6CF82
accent
#E7418E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #802CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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