#802184#802184

#802184 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.173 H 326.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#802184
RGBrgb(128, 33, 132)
HSLhsl(298, 60%, 32%)
HSVhsv(298, 75%, 52%)
CMYKcmyk(3%, 75%, 0%, 48.2%)
CIE-LABlab(32.58, 52.20, -34.53)
CIE-LCHlch(32.58, 62.59, 326.51°)
OKLaboklab(44.15% 0.1436 -0.0959)
OKLCHoklch(44.15% 0.173 326.3)
XYZxyz(13.6105, 7.3438, 22.5259)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802184 #258421
analogous
#4F2184 #802184 #842156
triadic
#802184 #848021 #218480
tetradic
#802184 #844F21 #258421 #215684
square
#802184 #844F21 #258421 #215684
split-complementary
#802184 #568421 #21844F
monochromatic
#210922 #511553 #802184 #AF2DB5 #CD4DD2

Accessibility & contrast

On white

8.51
#802184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802184
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802184#FFFFFF#000000##FFFFFF
##8021841.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054587
Deuteranopia (green-blind)
#385182
Tritanopia (blue-blind)
#833151
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802184;
/* rgb */ color: rgb(128, 33, 132);
/* oklch */ color: oklch(44.1% 0.173 326.3);
Tailwind
colors: {
  custom: {
    50: '#a867a8',
    500: '#802184',
    950: '#000000',
  },
}
SCSS
$custom: #802184;
$custom-light: #a867a8;
$custom-dark: #000000;
JSON
{
  "hex": "#802184",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 297.576,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44149,
    "c": 0.17272,
    "h": 326.3
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#802184
secondary
#50B64B
accent
#E3454B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802184

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

Preview Lab → · Contrast checker → · Palette generator →

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