#802087#802087

#802087 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.176 H 325.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#802087
RGBrgb(128, 32, 135)
HSLhsl(296, 62%, 33%)
HSVhsv(296, 76%, 53%)
CMYKcmyk(5.2%, 76.3%, 0%, 47.1%)
CIE-LABlab(32.64, 53.08, -36.30)
CIE-LCHlch(32.64, 64.31, 325.64°)
OKLaboklab(44.25% 0.1445 -0.1011)
OKLCHoklch(44.25% 0.176 325)
XYZxyz(13.7914, 7.3724, 23.6136)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802087 #278720
analogous
#4C2087 #802087 #87205B
triadic
#802087 #878020 #208780
tetradic
#802087 #874C20 #278720 #205B87
square
#802087 #874C20 #278720 #205B87
split-complementary
#802087 #5B8720 #20874C
monochromatic
#220924 #511456 #802087 #AF2CB8 #CB4DD5

Accessibility & contrast

On white

8.49
#802087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#802087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802087
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802087#FFFFFF#000000##FFFFFF
##8020871.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#365185
Tritanopia (blue-blind)
#833252
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802087;
/* rgb */ color: rgb(128, 32, 135);
/* oklch */ color: oklch(44.3% 0.176 325.0);
Tailwind
colors: {
  custom: {
    50: '#a867aa',
    500: '#802087',
    950: '#000000',
  },
}
SCSS
$custom: #802087;
$custom-light: #a867aa;
$custom-dark: #000000;
JSON
{
  "hex": "#802087",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 295.922,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44252,
    "c": 0.17633,
    "h": 325
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#802087
secondary
#53B84B
accent
#E5434E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #802087

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

Preview Lab → · Contrast checker → · Palette generator →

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