#802A91#802A91

#802A91 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.173 H 320.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#802A91
RGBrgb(128, 42, 145)
HSLhsl(290, 55%, 37%)
HSVhsv(290, 71%, 57%)
CMYKcmyk(11.7%, 71%, 0%, 43.1%)
CIE-LABlab(34.58, 51.22, -39.37)
CIE-LCHlch(34.58, 64.60, 322.45°)
OKLaboklab(45.84% 0.1338 -0.1101)
OKLCHoklch(45.84% 0.173 320.5)
XYZxyz(14.8403, 8.2902, 27.6011)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A91 #3B912A
analogous
#4D2A91 #802A91 #912A6F
triadic
#802A91 #91802A #2A9180
tetradic
#802A91 #914D2A #3B912A #2A6F91
square
#802A91 #914D2A #3B912A #2A6F91
split-complementary
#802A91 #6F912A #2A914D
monochromatic
#2C0F32 #561C62 #802A91 #AA38C0 #C063D2

Accessibility & contrast

On white

7.90
#802A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802A91
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A91#FFFFFF#000000##FFFFFF
##802A911.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#34548F
Tritanopia (blue-blind)
#813D5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802a91;
/* rgb */ color: rgb(128, 42, 145);
/* oklch */ color: oklch(45.8% 0.173 320.5);
Tailwind
colors: {
  custom: {
    50: '#a86cb2',
    500: '#802a91',
    950: '#000000',
  },
}
SCSS
$custom: #802a91;
$custom-light: #a86cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#802a91",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 290.097,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.1733,
    "h": 320.5
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#802A91
secondary
#6EB85F
accent
#DE4962
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802A91

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

Preview Lab → · Contrast checker → · Palette generator →

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