#802488#802488

#802488 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.173 H 324.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#802488
RGBrgb(128, 36, 136)
HSLhsl(295, 58%, 34%)
HSVhsv(295, 74%, 53%)
CMYKcmyk(5.9%, 73.5%, 0%, 46.7%)
CIE-LABlab(33.20, 51.85, -36.03)
CIE-LCHlch(33.20, 63.14, 325.20°)
OKLaboklab(44.67% 0.1405 -0.1003)
OKLCHoklch(44.67% 0.173 324.5)
XYZxyz(13.9765, 7.6294, 24.0242)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802488 #2C8824
analogous
#4E2488 #802488 #88245E
triadic
#802488 #888024 #248880
tetradic
#802488 #884E24 #2C8824 #245E88
square
#802488 #884E24 #2C8824 #245E88
split-complementary
#802488 #5E8824 #24884E
monochromatic
#250A27 #521758 #802488 #AE31B8 #C855D2

Accessibility & contrast

On white

8.31
#802488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#802488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802488
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802488#FFFFFF#000000##FFFFFF
##8024881.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03478B
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#833554
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802488;
/* rgb */ color: rgb(128, 36, 136);
/* oklch */ color: oklch(44.7% 0.173 324.5);
Tailwind
colors: {
  custom: {
    50: '#a868ab',
    500: '#802488',
    950: '#000000',
  },
}
SCSS
$custom: #802488;
$custom-light: #a868ab;
$custom-dark: #000000;
JSON
{
  "hex": "#802488",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 295.2,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44671,
    "c": 0.17265,
    "h": 324.5
  },
  "luminance": 0.07629
}

Semantic roles & 50–950 ramp

primary
#802488
secondary
#5AB652
accent
#E14653
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802488

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

Preview Lab → · Contrast checker → · Palette generator →

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