#802599#802599

#802599 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.186 H 317.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#802599
RGBrgb(128, 37, 153)
HSLhsl(287, 61%, 37%)
HSVhsv(287, 76%, 60%)
CMYKcmyk(16.3%, 75.8%, 0%, 40%)
CIE-LABlab(34.42, 54.73, -44.51)
CIE-LCHlch(34.42, 70.54, 320.88°)
OKLaboklab(45.89% 0.1382 -0.1251)
OKLCHoklch(45.89% 0.186 317.8)
XYZxyz(15.3126, 8.2129, 30.9095)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802599 #3E9925
analogous
#462599 #802599 #992578
triadic
#802599 #998025 #259980
tetradic
#802599 #994625 #3E9925 #257899
square
#802599 #994625 #3E9925 #257899
split-complementary
#802599 #789925 #259946
monochromatic
#2E0D36 #571968 #802599 #A931CA #BF60D9

Accessibility & contrast

On white

7.95
#802599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#802599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802599
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802599#FFFFFF#000000##FFFFFF
##8025991.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#295496
Tritanopia (blue-blind)
#7F3D5D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802599;
/* rgb */ color: rgb(128, 37, 153);
/* oklch */ color: oklch(45.9% 0.186 317.8);
Tailwind
colors: {
  custom: {
    50: '#a96ab8',
    500: '#802599',
    950: '#000000',
  },
}
SCSS
$custom: #802599;
$custom-light: #a96ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#802599",
  "rgb": {
    "r": 128,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 287.069,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45893,
    "c": 0.18646,
    "h": 317.8
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#802599
secondary
#71BE5C
accent
#E44466
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802599

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

Preview Lab → · Contrast checker → · Palette generator →

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