#802790#802790

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

Color values

HEX#802790
RGBrgb(128, 39, 144)
HSLhsl(291, 57%, 36%)
HSVhsv(291, 73%, 56%)
CMYKcmyk(11.1%, 72.9%, 0%, 43.5%)
CIE-LABlab(34.10, 52.22, -39.53)
CIE-LCHlch(34.10, 65.49, 322.87°)
OKLaboklab(45.47% 0.1371 -0.1106)
OKLCHoklch(45.47% 0.176 321.1)
XYZxyz(14.6611, 8.0546, 27.1626)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802790 #379027
analogous
#4B2790 #802790 #90276B
triadic
#802790 #908027 #279080
tetradic
#802790 #904B27 #379027 #276B90
square
#802790 #904B27 #379027 #276B90
split-complementary
#802790 #6B9027 #27904B
monochromatic
#2A0D30 #551A60 #802790 #AB34C0 #C25ED3

Accessibility & contrast

On white

8.04
#802790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#802790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802790
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802790#FFFFFF#000000##FFFFFF
##8027901.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802790;
/* rgb */ color: rgb(128, 39, 144);
/* oklch */ color: oklch(45.5% 0.176 321.1);
Tailwind
colors: {
  custom: {
    50: '#a86ab1',
    500: '#802790',
    950: '#000000',
  },
}
SCSS
$custom: #802790;
$custom-light: #a86ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#802790",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 290.857,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45472,
    "c": 0.1761,
    "h": 321.1
  },
  "luminance": 0.08054
}

Semantic roles & 50–950 ramp

primary
#802790
secondary
#69B95A
accent
#E1475F
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802790

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

Preview Lab → · Contrast checker → · Palette generator →

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