#802598#802598

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

Color values

HEX#802598
RGBrgb(128, 37, 152)
HSLhsl(287, 61%, 37%)
HSVhsv(287, 76%, 60%)
CMYKcmyk(15.8%, 75.7%, 0%, 40.4%)
CIE-LABlab(34.35, 54.53, -44.01)
CIE-LCHlch(34.35, 70.07, 321.10°)
OKLaboklab(45.82% 0.1383 -0.1237)
OKLCHoklch(45.82% 0.186 318.2)
XYZxyz(15.2304, 8.1800, 30.4763)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802598 #3D9825
analogous
#462598 #802598 #982577
triadic
#802598 #988025 #259880
tetradic
#802598 #984625 #3D9825 #257798
square
#802598 #984625 #3D9825 #257798
split-complementary
#802598 #779825 #259846
monochromatic
#2D0D36 #571967 #802598 #A931C9 #BF5FD8

Accessibility & contrast

On white

7.97
#802598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802598
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802598#FFFFFF#000000##FFFFFF
##8025981.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#2A5495
Tritanopia (blue-blind)
#7F3D5D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802598;
/* rgb */ color: rgb(128, 37, 152);
/* oklch */ color: oklch(45.8% 0.186 318.2);
Tailwind
colors: {
  custom: {
    50: '#a96ab7',
    500: '#802598',
    950: '#000000',
  },
}
SCSS
$custom: #802598;
$custom-light: #a96ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#802598",
  "rgb": {
    "r": 128,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 287.478,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45823,
    "c": 0.18556,
    "h": 318.2
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#802598
secondary
#70BD5C
accent
#E44465
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802598

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

Preview Lab → · Contrast checker → · Palette generator →

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