#802A92#802A92

#802A92 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.174 H 320.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#802A92
RGBrgb(128, 42, 146)
HSLhsl(290, 55%, 37%)
HSVhsv(290, 71%, 57%)
CMYKcmyk(12.3%, 71.2%, 0%, 42.7%)
CIE-LABlab(34.64, 51.42, -39.88)
CIE-LCHlch(34.64, 65.07, 322.20°)
OKLaboklab(45.9% 0.1338 -0.1116)
OKLCHoklch(45.9% 0.174 320.2)
XYZxyz(14.9177, 8.3212, 28.0089)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A92 #3C922A
analogous
#4C2A92 #802A92 #922A70
triadic
#802A92 #92802A #2A9280
tetradic
#802A92 #924C2A #3C922A #2A7092
square
#802A92 #924C2A #3C922A #2A7092
split-complementary
#802A92 #70922A #2A924C
monochromatic
#2D0F33 #561C62 #802A92 #AA38C2 #BF64D2

Accessibility & contrast

On white

7.88
#802A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#802A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A92
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A92#FFFFFF#000000##FFFFFF
##802A921.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#335490
Tritanopia (blue-blind)
#813D5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802a92;
/* rgb */ color: rgb(128, 42, 146);
/* oklch */ color: oklch(45.9% 0.174 320.2);
Tailwind
colors: {
  custom: {
    50: '#a86cb2',
    500: '#802a92',
    950: '#000000',
  },
}
SCSS
$custom: #802a92;
$custom-light: #a86cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#802a92",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 289.615,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45904,
    "c": 0.17422,
    "h": 320.2
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#802A92
secondary
#6FB85F
accent
#DF4963
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802A92

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

Preview Lab → · Contrast checker → · Palette generator →

#802A92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva