#802699#802699

#802699 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.185 H 317.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#802699
RGBrgb(128, 38, 153)
HSLhsl(287, 60%, 37%)
HSVhsv(287, 75%, 60%)
CMYKcmyk(16.3%, 75.2%, 0%, 40%)
CIE-LABlab(34.55, 54.36, -44.30)
CIE-LCHlch(34.55, 70.13, 320.82°)
OKLaboklab(45.98% 0.1373 -0.1245)
OKLCHoklch(45.98% 0.185 317.8)
XYZxyz(15.3441, 8.2760, 30.9200)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802699 #3F9926
analogous
#472699 #802699 #992678
triadic
#802699 #998026 #269980
tetradic
#802699 #994726 #3F9926 #267899
square
#802699 #994726 #3F9926 #267899
split-complementary
#802699 #789926 #269947
monochromatic
#2E0E37 #571A68 #802699 #A932CA #BE62D8

Accessibility & contrast

On white

7.91
#802699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#802699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802699
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802699#FFFFFF#000000##FFFFFF
##8026991.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#2A5496
Tritanopia (blue-blind)
#7F3E5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802699;
/* rgb */ color: rgb(128, 38, 153);
/* oklch */ color: oklch(46.0% 0.185 317.8);
Tailwind
colors: {
  custom: {
    50: '#a96ab8',
    500: '#802699',
    950: '#000000',
  },
}
SCSS
$custom: #802699;
$custom-light: #a96ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#802699",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 286.957,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45984,
    "c": 0.18535,
    "h": 317.8
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#802699
secondary
#72BD5E
accent
#E34467
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802699

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

Preview Lab → · Contrast checker → · Palette generator →

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