#802597#802597

#802597 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.185 H 318.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#802597
RGBrgb(128, 37, 151)
HSLhsl(288, 61%, 37%)
HSVhsv(288, 75%, 59%)
CMYKcmyk(15.2%, 75.5%, 0%, 40.8%)
CIE-LABlab(34.29, 54.33, -43.51)
CIE-LCHlch(34.29, 69.61, 321.31°)
OKLaboklab(45.75% 0.1385 -0.1222)
OKLCHoklch(45.75% 0.185 318.6)
XYZxyz(15.1488, 8.1474, 30.0468)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802597 #3C9725
analogous
#472597 #802597 #972575
triadic
#802597 #978025 #259780
tetradic
#802597 #974725 #3C9725 #257597
square
#802597 #974725 #3C9725 #257597
split-complementary
#802597 #759725 #259747
monochromatic
#2D0D35 #561966 #802597 #AA31C8 #BF5FD8

Accessibility & contrast

On white

7.99
#802597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#802597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802597
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802597#FFFFFF#000000##FFFFFF
##8025971.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#2B5394
Tritanopia (blue-blind)
#803D5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802597;
/* rgb */ color: rgb(128, 37, 151);
/* oklch */ color: oklch(45.8% 0.185 318.6);
Tailwind
colors: {
  custom: {
    50: '#a96ab6',
    500: '#802597',
    950: '#000000',
  },
}
SCSS
$custom: #802597;
$custom-light: #a96ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#802597",
  "rgb": {
    "r": 128,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 287.895,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45754,
    "c": 0.18467,
    "h": 318.6
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

primary
#802597
secondary
#6FBD5B
accent
#E44464
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802597

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

Preview Lab → · Contrast checker → · Palette generator →

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