#802C99#802C99

#802C99 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.178 H 317.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#802C99
RGBrgb(128, 44, 153)
HSLhsl(286, 55%, 39%)
HSVhsv(286, 71%, 60%)
CMYKcmyk(16.3%, 71.2%, 0%, 40%)
CIE-LABlab(35.38, 52.00, -42.97)
CIE-LCHlch(35.38, 67.45, 320.43°)
OKLaboklab(46.58% 0.1312 -0.1207)
OKLCHoklch(46.58% 0.178 317.4)
XYZxyz(15.5517, 8.6911, 30.9892)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C99 #45992C
analogous
#492C99 #802C99 #992C7B
triadic
#802C99 #99802C #2C9980
tetradic
#802C99 #99492C #45992C #2C7B99
square
#802C99 #99492C #45992C #2C7B99
split-complementary
#802C99 #7B992C #2C9949
monochromatic
#30113A #581E69 #802C99 #A73BC7 #BC6BD4

Accessibility & contrast

On white

7.67
#802C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#802C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C99
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C99#FFFFFF#000000##FFFFFF
##802C991.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#2F5696
Tritanopia (blue-blind)
#7F415F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #802c99;
/* rgb */ color: rgb(128, 44, 153);
/* oklch */ color: oklch(46.6% 0.178 317.4);
Tailwind
colors: {
  custom: {
    50: '#a86db8',
    500: '#802c99',
    950: '#000000',
  },
}
SCSS
$custom: #802c99;
$custom-light: #a86db8;
$custom-dark: #000000;
JSON
{
  "hex": "#802c99",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 286.239,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46576,
    "c": 0.17822,
    "h": 317.4
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#802C99
secondary
#79BB66
accent
#DF496B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802C99

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

Preview Lab → · Contrast checker → · Palette generator →

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