#802990#802990

#802990 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.174 H 321.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#802990
RGBrgb(128, 41, 144)
HSLhsl(291, 56%, 36%)
HSVhsv(291, 72%, 56%)
CMYKcmyk(11.1%, 71.5%, 0%, 43.5%)
CIE-LABlab(34.37, 51.43, -39.08)
CIE-LCHlch(34.37, 64.60, 322.77°)
OKLaboklab(45.67% 0.1349 -0.1093)
OKLCHoklch(45.67% 0.174 321)
XYZxyz(14.7285, 8.1895, 27.1851)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802990 #399029
analogous
#4D2990 #802990 #90296D
triadic
#802990 #908029 #299080
tetradic
#802990 #904D29 #399029 #296D90
square
#802990 #904D29 #399029 #296D90
split-complementary
#802990 #6D9029 #29904D
monochromatic
#2B0E31 #561B60 #802990 #AA37C0 #C161D2

Accessibility & contrast

On white

7.96
#802990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#802990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802990
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802990#FFFFFF#000000##FFFFFF
##8029901.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#34548E
Tritanopia (blue-blind)
#813C5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802990;
/* rgb */ color: rgb(128, 41, 144);
/* oklch */ color: oklch(45.7% 0.174 321.0);
Tailwind
colors: {
  custom: {
    50: '#a86bb1',
    500: '#802990',
    950: '#000000',
  },
}
SCSS
$custom: #802990;
$custom-light: #a86bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#802990",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 290.68,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45671,
    "c": 0.17365,
    "h": 321
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#802990
secondary
#6BB85D
accent
#DF4960
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802990

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

Preview Lab → · Contrast checker → · Palette generator →

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