#802189#802189

#802189 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.177 H 324.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#802189
RGBrgb(128, 33, 137)
HSLhsl(295, 61%, 33%)
HSVhsv(295, 76%, 54%)
CMYKcmyk(6.6%, 75.9%, 0%, 46.3%)
CIE-LABlab(32.88, 53.11, -37.15)
CIE-LCHlch(32.88, 64.81, 325.03°)
OKLaboklab(44.47% 0.1434 -0.1036)
OKLCHoklch(44.47% 0.177 324.2)
XYZxyz(13.9609, 7.4839, 24.3713)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802189 #2A8921
analogous
#4C2189 #802189 #89215E
triadic
#802189 #898021 #218980
tetradic
#802189 #894C21 #2A8921 #215E89
square
#802189 #894C21 #2A8921 #215E89
split-complementary
#802189 #5E8921 #21894C
monochromatic
#240926 #521558 #802189 #AE2DBA #C950D5

Accessibility & contrast

On white

8.41
#802189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#802189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802189
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802189#FFFFFF#000000##FFFFFF
##8021891.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#355187
Tritanopia (blue-blind)
#833453
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802189;
/* rgb */ color: rgb(128, 33, 137);
/* oklch */ color: oklch(44.5% 0.177 324.2);
Tailwind
colors: {
  custom: {
    50: '#a867ac',
    500: '#802189',
    950: '#000000',
  },
}
SCSS
$custom: #802189;
$custom-light: #a867ac;
$custom-dark: #000000;
JSON
{
  "hex": "#802189",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 294.808,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.17691,
    "h": 324.2
  },
  "luminance": 0.07483
}

Semantic roles & 50–950 ramp

primary
#802189
secondary
#57B84E
accent
#E44451
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802189

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

Preview Lab → · Contrast checker → · Palette generator →

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