#802188#802188

#802188 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.176 H 324.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#802188
RGBrgb(128, 33, 136)
HSLhsl(295, 61%, 33%)
HSVhsv(295, 76%, 53%)
CMYKcmyk(5.9%, 75.7%, 0%, 46.7%)
CIE-LABlab(32.82, 52.92, -36.63)
CIE-LCHlch(32.82, 64.36, 325.31°)
OKLaboklab(44.4% 0.1435 -0.1021)
OKLCHoklch(44.4% 0.176 324.6)
XYZxyz(13.8895, 7.4554, 23.9952)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802188 #298821
analogous
#4C2188 #802188 #88215C
triadic
#802188 #888021 #218880
tetradic
#802188 #884C21 #298821 #215C88
square
#802188 #884C21 #298821 #215C88
split-complementary
#802188 #5C8821 #21884C
monochromatic
#230925 #521557 #802188 #AE2DB9 #CA4FD4

Accessibility & contrast

On white

8.43
#802188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#802188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802188
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802188#FFFFFF#000000##FFFFFF
##8021881.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802188;
/* rgb */ color: rgb(128, 33, 136);
/* oklch */ color: oklch(44.4% 0.176 324.6);
Tailwind
colors: {
  custom: {
    50: '#a867ab',
    500: '#802188',
    950: '#000000',
  },
}
SCSS
$custom: #802188;
$custom-light: #a867ab;
$custom-dark: #000000;
JSON
{
  "hex": "#802188",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 295.34,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44402,
    "c": 0.17608,
    "h": 324.6
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#802188
secondary
#55B84D
accent
#E44450
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802188

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

Preview Lab → · Contrast checker → · Palette generator →

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