#802099#802099

#802099 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.192 H 318.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#802099
RGBrgb(128, 32, 153)
HSLhsl(288, 65%, 36%)
HSVhsv(288, 79%, 60%)
CMYKcmyk(16.3%, 79.1%, 0%, 40%)
CIE-LABlab(33.82, 56.46, -45.48)
CIE-LCHlch(33.82, 72.49, 321.15°)
OKLaboklab(45.47% 0.1427 -0.1279)
OKLCHoklch(45.47% 0.192 318.1)
XYZxyz(15.1676, 7.9228, 30.8611)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802099 #399920
analogous
#442099 #802099 #992076
triadic
#802099 #998020 #209980
tetradic
#802099 #994420 #399920 #207699
square
#802099 #994420 #399920 #207699
split-complementary
#802099 #769920 #209944
monochromatic
#2B0B34 #561566 #802099 #AA2BCC #C157DC

Accessibility & contrast

On white

8.13
#802099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#802099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802099
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802099#FFFFFF#000000##FFFFFF
##8020991.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#265296
Tritanopia (blue-blind)
#7F3B5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802099;
/* rgb */ color: rgb(128, 32, 153);
/* oklch */ color: oklch(45.5% 0.192 318.1);
Tailwind
colors: {
  custom: {
    50: '#a968b8',
    500: '#802099',
    950: '#000000',
  },
}
SCSS
$custom: #802099;
$custom-light: #a968b8;
$custom-dark: #000000;
JSON
{
  "hex": "#802099",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 287.603,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.19166,
    "h": 318.1
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#802099
secondary
#6BC055
accent
#E83F62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802099

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

Preview Lab → · Contrast checker → · Palette generator →

#802099 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva