#80229B#80229B

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

Color values

HEX#80229B
RGBrgb(128, 34, 155)
HSLhsl(287, 64%, 37%)
HSVhsv(287, 78%, 61%)
CMYKcmyk(17.4%, 78.1%, 0%, 39.2%)
CIE-LABlab(34.19, 56.18, -46.10)
CIE-LCHlch(34.19, 72.67, 320.63°)
OKLaboklab(45.77% 0.1407 -0.1298)
OKLCHoklch(45.77% 0.191 317.3)
XYZxyz(15.3896, 8.1005, 31.7569)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80229B #3D9B22
analogous
#44229B #80229B #9B2279
triadic
#80229B #9B8022 #229B80
tetradic
#80229B #9B4422 #3D9B22 #22799B
square
#80229B #9B4422 #3D9B22 #22799B
split-complementary
#80229B #799B22 #229B44
monochromatic
#2D0C37 #571769 #80229B #A92DCD #BF5CDB

Accessibility & contrast

On white

8.02
#80229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#80229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80229B
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80229B#FFFFFF#000000##FFFFFF
##80229B1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#255398
Tritanopia (blue-blind)
#7F3D5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #80229b;
/* rgb */ color: rgb(128, 34, 155);
/* oklch */ color: oklch(45.8% 0.191 317.3);
Tailwind
colors: {
  custom: {
    50: '#a968b9',
    500: '#80229b',
    950: '#000000',
  },
}
SCSS
$custom: #80229b;
$custom-light: #a968b9;
$custom-dark: #000000;
JSON
{
  "hex": "#80229b",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 286.612,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45773,
    "c": 0.19141,
    "h": 317.3
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#80229B
secondary
#70C059
accent
#E74166
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #80229B

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

Preview Lab → · Contrast checker → · Palette generator →

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