#80229C#80229C

#80229C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.192 H 317.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#80229C
RGBrgb(128, 34, 156)
HSLhsl(286, 64%, 37%)
HSVhsv(286, 78%, 61%)
CMYKcmyk(17.9%, 78.2%, 0%, 38.8%)
CIE-LABlab(34.26, 56.38, -46.59)
CIE-LCHlch(34.26, 73.14, 320.43°)
OKLaboklab(45.84% 0.1406 -0.1312)
OKLCHoklch(45.84% 0.192 317)
XYZxyz(15.4740, 8.1342, 32.2010)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80229C #3E9C22
analogous
#43229C #80229C #9C227B
triadic
#80229C #9C8022 #229C80
tetradic
#80229C #9C4322 #3E9C22 #227B9C
square
#80229C #9C4322 #3E9C22 #227B9C
split-complementary
#80229C #7B9C22 #229C43
monochromatic
#2E0C38 #57176A #80229C #A92DCE #BF5DDC

Accessibility & contrast

On white

7.99
#80229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#80229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80229C
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80229C#FFFFFF#000000##FFFFFF
##80229C1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#245399
Tritanopia (blue-blind)
#7E3D5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #80229c;
/* rgb */ color: rgb(128, 34, 156);
/* oklch */ color: oklch(45.8% 0.192 317.0);
Tailwind
colors: {
  custom: {
    50: '#a968ba',
    500: '#80229c',
    950: '#000000',
  },
}
SCSS
$custom: #80229c;
$custom-light: #a968ba;
$custom-dark: #000000;
JSON
{
  "hex": "#80229c",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 286.23,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45844,
    "c": 0.19229,
    "h": 317
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#80229C
secondary
#71C05A
accent
#E74167
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #80229C

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

Preview Lab → · Contrast checker → · Palette generator →

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