#802B90#802B90

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

Color values

HEX#802B90
RGBrgb(128, 43, 144)
HSLhsl(290, 54%, 37%)
HSVhsv(290, 70%, 56%)
CMYKcmyk(11.1%, 70.1%, 0%, 43.5%)
CIE-LABlab(34.66, 50.61, -38.62)
CIE-LCHlch(34.66, 63.67, 322.65°)
OKLaboklab(45.88% 0.1328 -0.1079)
OKLCHoklch(45.88% 0.171 320.9)
XYZxyz(14.7994, 8.3313, 27.2087)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B90 #3B902B
analogous
#4E2B90 #802B90 #902B6E
triadic
#802B90 #90802B #2B9080
tetradic
#802B90 #904E2B #3B902B #2B6E90
square
#802B90 #904E2B #3B902B #2B6E90
split-complementary
#802B90 #6E902B #2B904E
monochromatic
#2C0F32 #561D61 #802B90 #AA39BF #C065D1

Accessibility & contrast

On white

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

On black

2.67
#802B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##802B90#FFFFFF#000000##FFFFFF
##802B901.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044C93
Deuteranopia (green-blind)
#36558E
Tritanopia (blue-blind)
#813D5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802b90;
/* rgb */ color: rgb(128, 43, 144);
/* oklch */ color: oklch(45.9% 0.171 320.9);
Tailwind
colors: {
  custom: {
    50: '#a86cb1',
    500: '#802b90',
    950: '#000000',
  },
}
SCSS
$custom: #802b90;
$custom-light: #a86cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#802b90",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 290.495,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45878,
    "c": 0.17111,
    "h": 320.9
  },
  "luminance": 0.08331
}

Semantic roles & 50–950 ramp

primary
#802B90
secondary
#6EB760
accent
#DD4A62
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802B90

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

Preview Lab → · Contrast checker → · Palette generator →

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