#802487#802487

#802487 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.172 H 324.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#802487
RGBrgb(128, 36, 135)
HSLhsl(296, 58%, 34%)
HSVhsv(296, 73%, 53%)
CMYKcmyk(5.2%, 73.3%, 0%, 47.1%)
CIE-LABlab(33.14, 51.66, -35.51)
CIE-LCHlch(33.14, 62.69, 325.50°)
OKLaboklab(44.61% 0.1405 -0.0988)
OKLCHoklch(44.61% 0.172 324.9)
XYZxyz(13.9058, 7.6011, 23.6517)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802487 #2B8724
analogous
#4E2487 #802487 #87245C
triadic
#802487 #878024 #248780
tetradic
#802487 #874E24 #2B8724 #245C87
square
#802487 #874E24 #2B8724 #245C87
split-complementary
#802487 #5C8724 #24874E
monochromatic
#240A26 #521757 #802487 #AE31B7 #C954D1

Accessibility & contrast

On white

8.33
#802487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#802487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802487
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802487#FFFFFF#000000##FFFFFF
##8024871.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478A
Deuteranopia (green-blind)
#385285
Tritanopia (blue-blind)
#833553
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802487;
/* rgb */ color: rgb(128, 36, 135);
/* oklch */ color: oklch(44.6% 0.172 324.9);
Tailwind
colors: {
  custom: {
    50: '#a868aa',
    500: '#802487',
    950: '#000000',
  },
}
SCSS
$custom: #802487;
$custom-light: #a868aa;
$custom-dark: #000000;
JSON
{
  "hex": "#802487",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 295.758,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.1718,
    "h": 324.9
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#802487
secondary
#58B551
accent
#E14752
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802487

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

Preview Lab → · Contrast checker → · Palette generator →

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