#802E89#802E89

#802E89 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.161 H 323.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#802E89
RGBrgb(128, 46, 137)
HSLhsl(294, 50%, 36%)
HSVhsv(294, 66%, 54%)
CMYKcmyk(6.6%, 66.4%, 0%, 46.3%)
CIE-LABlab(34.70, 47.97, -34.26)
CIE-LCHlch(34.70, 58.95, 324.47°)
OKLaboklab(45.77% 0.1293 -0.0952)
OKLCHoklch(45.77% 0.161 323.6)
XYZxyz(14.3940, 8.3501, 24.5156)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E89 #37892E
analogous
#522E89 #802E89 #892E64
triadic
#802E89 #89802E #2E8980
tetradic
#802E89 #89522E #37892E #2E6489
square
#802E89 #89522E #37892E #2E6489
split-complementary
#802E89 #64892E #2E8952
monochromatic
#2A0F2D #551F5B #802E89 #AB3DB7 #C266CC

Accessibility & contrast

On white

7.87
#802E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#802E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E89
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E89#FFFFFF#000000##FFFFFF
##802E891.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8C
Deuteranopia (green-blind)
#3C5587
Tritanopia (blue-blind)
#823C57
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #802e89;
/* rgb */ color: rgb(128, 46, 137);
/* oklch */ color: oklch(45.8% 0.161 323.6);
Tailwind
colors: {
  custom: {
    50: '#a86dac',
    500: '#802e89',
    950: '#000000',
  },
}
SCSS
$custom: #802e89;
$custom-light: #a86dac;
$custom-dark: #000000;
JSON
{
  "hex": "#802e89",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 294.066,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4577,
    "c": 0.16061,
    "h": 323.6
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#802E89
secondary
#69B260
accent
#D94F5C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802E89

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

Preview Lab → · Contrast checker → · Palette generator →

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