#802292#802292

#802292 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.184 H 320.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#802292
RGBrgb(128, 34, 146)
HSLhsl(290, 62%, 35%)
HSVhsv(290, 77%, 57%)
CMYKcmyk(12.3%, 76.7%, 0%, 42.7%)
CIE-LABlab(33.58, 54.44, -41.58)
CIE-LCHlch(33.58, 68.50, 322.63°)
OKLaboklab(45.15% 0.1418 -0.1165)
OKLCHoklch(45.15% 0.184 320.6)
XYZxyz(14.6618, 7.8094, 27.9236)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802292 #349222
analogous
#482292 #802292 #92226C
triadic
#802292 #928022 #229280
tetradic
#802292 #924822 #349222 #226C92
square
#802292 #924822 #349222 #226C92
split-complementary
#802292 #6C9222 #229248
monochromatic
#290B2F #541660 #802292 #AC2EC4 #C357D8

Accessibility & contrast

On white

8.20
#802292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#802292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802292
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802292#FFFFFF#000000##FFFFFF
##8022921.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#2E528F
Tritanopia (blue-blind)
#813959
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802292;
/* rgb */ color: rgb(128, 34, 146);
/* oklch */ color: oklch(45.1% 0.184 320.6);
Tailwind
colors: {
  custom: {
    50: '#a868b2',
    500: '#802292',
    950: '#000000',
  },
}
SCSS
$custom: #802292;
$custom-light: #a868b2;
$custom-dark: #000000;
JSON
{
  "hex": "#802292",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 290.357,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45148,
    "c": 0.18355,
    "h": 320.6
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#802292
secondary
#65BC54
accent
#E5435D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802292

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

Preview Lab → · Contrast checker → · Palette generator →

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