#802088#802088

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

Color values

HEX#802088
RGBrgb(128, 32, 136)
HSLhsl(295, 62%, 33%)
HSVhsv(295, 76%, 53%)
CMYKcmyk(5.9%, 76.5%, 0%, 46.7%)
CIE-LABlab(32.70, 53.27, -36.82)
CIE-LCHlch(32.70, 64.75, 325.35°)
OKLaboklab(44.32% 0.1444 -0.1026)
OKLCHoklch(44.32% 0.177 324.6)
XYZxyz(13.8622, 7.4007, 23.9861)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802088 #288820
analogous
#4C2088 #802088 #88205C
triadic
#802088 #888020 #208880
tetradic
#802088 #884C20 #288820 #205C88
square
#802088 #884C20 #288820 #205C88
split-complementary
#802088 #5C8820 #20884C
monochromatic
#230925 #511456 #802088 #AF2CBA #CB4DD5

Accessibility & contrast

On white

8.47
#802088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#802088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802088
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802088#FFFFFF#000000##FFFFFF
##8020881.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#355186
Tritanopia (blue-blind)
#833353
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802088;
/* rgb */ color: rgb(128, 32, 136);
/* oklch */ color: oklch(44.3% 0.177 324.6);
Tailwind
colors: {
  custom: {
    50: '#a867ab',
    500: '#802088',
    950: '#000000',
  },
}
SCSS
$custom: #802088;
$custom-light: #a867ab;
$custom-dark: #000000;
JSON
{
  "hex": "#802088",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 295.385,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44317,
    "c": 0.17716,
    "h": 324.6
  },
  "luminance": 0.074
}

Semantic roles & 50–950 ramp

primary
#802088
secondary
#54B84C
accent
#E5434F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802088

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

Preview Lab → · Contrast checker → · Palette generator →

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