#802399#802399

#802399 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.189 H 318.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#802399
RGBrgb(128, 35, 153)
HSLhsl(287, 63%, 37%)
HSVhsv(287, 77%, 60%)
CMYKcmyk(16.3%, 77.1%, 0%, 40%)
CIE-LABlab(34.17, 55.44, -44.91)
CIE-LCHlch(34.17, 71.35, 320.99°)
OKLaboklab(45.72% 0.1401 -0.1263)
OKLCHoklch(45.72% 0.189 318)
XYZxyz(15.2521, 8.0919, 30.8893)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802399 #3C9923
analogous
#452399 #802399 #992377
triadic
#802399 #998023 #239980
tetradic
#802399 #994523 #3C9923 #237799
square
#802399 #994523 #3C9923 #237799
split-complementary
#802399 #779923 #239945
monochromatic
#2D0C35 #561867 #802399 #AA2ECB #BF5DDA

Accessibility & contrast

On white

8.02
#802399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#802399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802399
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802399#FFFFFF#000000##FFFFFF
##8023991.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#285396
Tritanopia (blue-blind)
#7F3C5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802399;
/* rgb */ color: rgb(128, 35, 153);
/* oklch */ color: oklch(45.7% 0.189 318.0);
Tailwind
colors: {
  custom: {
    50: '#a969b8',
    500: '#802399',
    950: '#000000',
  },
}
SCSS
$custom: #802399;
$custom-light: #a969b8;
$custom-dark: #000000;
JSON
{
  "hex": "#802399",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 287.288,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45716,
    "c": 0.18861,
    "h": 318
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

primary
#802399
secondary
#6FBE59
accent
#E64265
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802399

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

Preview Lab → · Contrast checker → · Palette generator →

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