#80299A#80299A

#80299A is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.183 H 317.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#80299A
RGBrgb(128, 41, 154)
HSLhsl(286, 58%, 38%)
HSVhsv(286, 73%, 60%)
CMYKcmyk(16.9%, 73.4%, 0%, 39.6%)
CIE-LABlab(35.02, 53.41, -44.15)
CIE-LCHlch(35.02, 69.30, 320.42°)
OKLaboklab(46.34% 0.1342 -0.1241)
OKLCHoklch(46.34% 0.183 317.2)
XYZxyz(15.5269, 8.5088, 31.3901)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80299A #439A29
analogous
#47299A #80299A #9A297B
triadic
#80299A #9A8029 #299A80
tetradic
#80299A #9A4729 #439A29 #297B9A
square
#80299A #9A4729 #439A29 #297B9A
split-complementary
#80299A #7B9A29 #299A47
monochromatic
#300F39 #581C6A #80299A #A837CA #BD67D7

Accessibility & contrast

On white

7.77
#80299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#80299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80299A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80299A#FFFFFF#000000##FFFFFF
##80299A1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#2C5597
Tritanopia (blue-blind)
#7F405F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #80299a;
/* rgb */ color: rgb(128, 41, 154);
/* oklch */ color: oklch(46.3% 0.183 317.2);
Tailwind
colors: {
  custom: {
    50: '#a86bb8',
    500: '#80299a',
    950: '#000000',
  },
}
SCSS
$custom: #80299a;
$custom-light: #a86bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#80299a",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 286.195,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46339,
    "c": 0.18281,
    "h": 317.2
  },
  "luminance": 0.08508
}

Semantic roles & 50–950 ramp

primary
#80299A
secondary
#77BD62
accent
#E1476A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #80299A

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

Preview Lab → · Contrast checker → · Palette generator →

#80299A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva