#802890#802890

#802890 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.175 H 321.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#802890
RGBrgb(128, 40, 144)
HSLhsl(291, 57%, 36%)
HSVhsv(291, 72%, 56%)
CMYKcmyk(11.1%, 72.2%, 0%, 43.5%)
CIE-LABlab(34.23, 51.83, -39.31)
CIE-LCHlch(34.23, 65.05, 322.82°)
OKLaboklab(45.57% 0.136 -0.1099)
OKLCHoklch(45.57% 0.175 321.1)
XYZxyz(14.6943, 8.1212, 27.1737)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802890 #389028
analogous
#4C2890 #802890 #90286C
triadic
#802890 #908028 #289080
tetradic
#802890 #904C28 #389028 #286C90
square
#802890 #904C28 #389028 #286C90
split-complementary
#802890 #6C9028 #28904C
monochromatic
#2B0D30 #551B60 #802890 #AB35C0 #C160D3

Accessibility & contrast

On white

8.00
#802890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#802890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802890
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802890#FFFFFF#000000##FFFFFF
##8028901.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#34548E
Tritanopia (blue-blind)
#813B59
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802890;
/* rgb */ color: rgb(128, 40, 144);
/* oklch */ color: oklch(45.6% 0.175 321.1);
Tailwind
colors: {
  custom: {
    50: '#a86bb1',
    500: '#802890',
    950: '#000000',
  },
}
SCSS
$custom: #802890;
$custom-light: #a86bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#802890",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 290.769,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45571,
    "c": 0.17489,
    "h": 321.1
  },
  "luminance": 0.0812
}

Semantic roles & 50–950 ramp

primary
#802890
secondary
#6AB85C
accent
#E0485F
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802890

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

Preview Lab → · Contrast checker → · Palette generator →

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