#802290#802290

#802290 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.182 H 321.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#802290
RGBrgb(128, 34, 144)
HSLhsl(291, 62%, 35%)
HSVhsv(291, 76%, 56%)
CMYKcmyk(11.1%, 76.4%, 0%, 43.5%)
CIE-LABlab(33.45, 54.06, -40.56)
CIE-LCHlch(33.45, 67.58, 323.12°)
OKLaboklab(45.01% 0.142 -0.1136)
OKLCHoklch(45.01% 0.182 321.3)
XYZxyz(14.5076, 7.7477, 27.1114)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802290 #329022
analogous
#492290 #802290 #902269
triadic
#802290 #908022 #229080
tetradic
#802290 #904922 #329022 #226990
square
#802290 #904922 #329022 #226990
split-complementary
#802290 #699022 #229049
monochromatic
#280B2D #54165E #802290 #AC2EC2 #C455D7

Accessibility & contrast

On white

8.24
#802290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#802290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802290
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802290#FFFFFF#000000##FFFFFF
##8022901.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#30528D
Tritanopia (blue-blind)
#813858
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802290;
/* rgb */ color: rgb(128, 34, 144);
/* oklch */ color: oklch(45.0% 0.182 321.3);
Tailwind
colors: {
  custom: {
    50: '#a868b1',
    500: '#802290',
    950: '#000000',
  },
}
SCSS
$custom: #802290;
$custom-light: #a868b1;
$custom-dark: #000000;
JSON
{
  "hex": "#802290",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 291.273,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.18181,
    "h": 321.3
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

primary
#802290
secondary
#62BB53
accent
#E5435A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802290

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

Preview Lab → · Contrast checker → · Palette generator →

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