#802E99#802E99

#802E99 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.176 H 317.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#802E99
RGBrgb(128, 46, 153)
HSLhsl(286, 54%, 39%)
HSVhsv(286, 70%, 60%)
CMYKcmyk(16.3%, 69.9%, 0%, 40%)
CIE-LABlab(35.68, 51.16, -42.49)
CIE-LCHlch(35.68, 66.50, 320.29°)
OKLaboklab(46.79% 0.129 -0.1193)
OKLCHoklch(46.79% 0.176 317.2)
XYZxyz(15.6280, 8.8437, 31.0146)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E99 #47992E
analogous
#4B2E99 #802E99 #992E7D
triadic
#802E99 #99802E #2E9980
tetradic
#802E99 #994B2E #47992E #2E7D99
square
#802E99 #994B2E #47992E #2E7D99
split-complementary
#802E99 #7D992E #2E994B
monochromatic
#31123B #59206A #802E99 #A63FC5 #BC6ED3

Accessibility & contrast

On white

7.59
#802E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#802E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E99
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E99#FFFFFF#000000##FFFFFF
##802E991.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#315697
Tritanopia (blue-blind)
#7F4360
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #802e99;
/* rgb */ color: rgb(128, 46, 153);
/* oklch */ color: oklch(46.8% 0.176 317.2);
Tailwind
colors: {
  custom: {
    50: '#a86eb8',
    500: '#802e99',
    950: '#000000',
  },
}
SCSS
$custom: #802e99;
$custom-light: #a86eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#802e99",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 285.981,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4679,
    "c": 0.17567,
    "h": 317.2
  },
  "luminance": 0.08843
}

Semantic roles & 50–950 ramp

primary
#802E99
secondary
#7BBB68
accent
#DD4B6D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #802E99

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

Preview Lab → · Contrast checker → · Palette generator →

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