#80229A#80229A

#80229A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.191 H 317.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#80229A
RGBrgb(128, 34, 154)
HSLhsl(287, 64%, 37%)
HSVhsv(287, 78%, 60%)
CMYKcmyk(16.9%, 77.9%, 0%, 39.6%)
CIE-LABlab(34.12, 55.98, -45.60)
CIE-LCHlch(34.12, 72.20, 320.84°)
OKLaboklab(45.7% 0.1408 -0.1283)
OKLCHoklch(45.7% 0.191 317.7)
XYZxyz(15.3060, 8.0670, 31.3164)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80229A #3C9A22
analogous
#44229A #80229A #9A2278
triadic
#80229A #9A8022 #229A80
tetradic
#80229A #9A4422 #3C9A22 #22789A
square
#80229A #9A4422 #3C9A22 #22789A
split-complementary
#80229A #789A22 #229A44
monochromatic
#2D0C36 #561768 #80229A #AA2DCC #BF5BDB

Accessibility & contrast

On white

8.04
#80229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#80229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80229A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80229A#FFFFFF#000000##FFFFFF
##80229A1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#265397
Tritanopia (blue-blind)
#7F3C5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #80229a;
/* rgb */ color: rgb(128, 34, 154);
/* oklch */ color: oklch(45.7% 0.191 317.7);
Tailwind
colors: {
  custom: {
    50: '#a968b8',
    500: '#80229a',
    950: '#000000',
  },
}
SCSS
$custom: #80229a;
$custom-light: #a968b8;
$custom-dark: #000000;
JSON
{
  "hex": "#80229a",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 287,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45702,
    "c": 0.19053,
    "h": 317.7
  },
  "luminance": 0.08066
}

Semantic roles & 50–950 ramp

primary
#80229A
secondary
#6FBF58
accent
#E74165
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #80229A

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

Preview Lab → · Contrast checker → · Palette generator →

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