#802E91#802E91

#802E91 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.168 H 320.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#802E91
RGBrgb(128, 46, 145)
HSLhsl(290, 52%, 37%)
HSVhsv(290, 68%, 57%)
CMYKcmyk(11.7%, 68.3%, 0%, 43.1%)
CIE-LABlab(35.18, 49.54, -38.41)
CIE-LCHlch(35.18, 62.68, 322.21°)
OKLaboklab(46.27% 0.1293 -0.1074)
OKLCHoklch(46.27% 0.168 320.3)
XYZxyz(14.9893, 8.5883, 27.6507)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E91 #3F912E
analogous
#4F2E91 #802E91 #912E70
triadic
#802E91 #91802E #2E9180
tetradic
#802E91 #914F2E #3F912E #2E7091
square
#802E91 #914F2E #3F912E #2E7091
split-complementary
#802E91 #70912E #2E914F
monochromatic
#2E1134 #571F63 #802E91 #A93DBF #BE6AD0

Accessibility & contrast

On white

7.73
#802E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#802E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E91
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E91#FFFFFF#000000##FFFFFF
##802E911.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4D94
Deuteranopia (green-blind)
#37568F
Tritanopia (blue-blind)
#813F5C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #802e91;
/* rgb */ color: rgb(128, 46, 145);
/* oklch */ color: oklch(46.3% 0.168 320.3);
Tailwind
colors: {
  custom: {
    50: '#a86eb2',
    500: '#802e91',
    950: '#000000',
  },
}
SCSS
$custom: #802e91;
$custom-light: #a86eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#802e91",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 289.697,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.16808,
    "h": 320.3
  },
  "luminance": 0.08588
}

Semantic roles & 50–950 ramp

primary
#802E91
secondary
#72B764
accent
#DB4D65
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802E91

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

Preview Lab → · Contrast checker → · Palette generator →

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