#80229F#80229F

#80229F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.195 H 315.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#80229F
RGBrgb(128, 34, 159)
HSLhsl(285, 65%, 38%)
HSVhsv(285, 79%, 62%)
CMYKcmyk(19.5%, 78.6%, 0%, 37.6%)
CIE-LABlab(34.47, 56.97, -48.07)
CIE-LCHlch(34.47, 74.54, 319.84°)
OKLaboklab(46.06% 0.1401 -0.1356)
OKLCHoklch(46.06% 0.195 315.9)
XYZxyz(15.7311, 8.2371, 33.5554)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80229F #419F22
analogous
#41229F #80229F #9F227F
triadic
#80229F #9F8022 #229F80
tetradic
#80229F #9F4122 #419F22 #227F9F
square
#80229F #9F4122 #419F22 #227F9F
split-complementary
#80229F #7F9F22 #229F41
monochromatic
#2F0C3A #57176D #80229F #A92DD1 #BD5FDD

Accessibility & contrast

On white

7.93
#80229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#80229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80229F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80229F#FFFFFF#000000##FFFFFF
##80229F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#1F549C
Tritanopia (blue-blind)
#7E3F60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #80229f;
/* rgb */ color: rgb(128, 34, 159);
/* oklch */ color: oklch(46.1% 0.195 315.9);
Tailwind
colors: {
  custom: {
    50: '#a969bc',
    500: '#80229f',
    950: '#000000',
  },
}
SCSS
$custom: #80229f;
$custom-light: #a969bc;
$custom-dark: #000000;
JSON
{
  "hex": "#80229f",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 285.12,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.19493,
    "h": 315.9
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#80229F
secondary
#75C15B
accent
#E8406A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #80229F

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

Preview Lab → · Contrast checker → · Palette generator →

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