#80249A#80249A

#80249A is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.188 H 317.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#80249A
RGBrgb(128, 36, 154)
HSLhsl(287, 62%, 37%)
HSVhsv(287, 77%, 60%)
CMYKcmyk(16.9%, 76.6%, 0%, 39.6%)
CIE-LABlab(34.36, 55.29, -45.21)
CIE-LCHlch(34.36, 71.42, 320.73°)
OKLaboklab(45.87% 0.139 -0.1272)
OKLCHoklch(45.87% 0.188 317.5)
XYZxyz(15.3649, 8.1847, 31.3361)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80249A #3E9A24
analogous
#45249A #80249A #9A2479
triadic
#80249A #9A8024 #249A80
tetradic
#80249A #9A4524 #3E9A24 #24799A
square
#80249A #9A4524 #3E9A24 #24799A
split-complementary
#80249A #799A24 #249A45
monochromatic
#2E0D37 #571868 #80249A #A930CC #BF5FDA

Accessibility & contrast

On white

7.96
#80249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#80249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80249A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80249A#FFFFFF#000000##FFFFFF
##80249A1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#285497
Tritanopia (blue-blind)
#7F3D5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #80249a;
/* rgb */ color: rgb(128, 36, 154);
/* oklch */ color: oklch(45.9% 0.188 317.5);
Tailwind
colors: {
  custom: {
    50: '#a969b8',
    500: '#80249a',
    950: '#000000',
  },
}
SCSS
$custom: #80249a;
$custom-light: #a969b8;
$custom-dark: #000000;
JSON
{
  "hex": "#80249a",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 286.78,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45873,
    "c": 0.18844,
    "h": 317.5
  },
  "luminance": 0.08184
}

Semantic roles & 50–950 ramp

primary
#80249A
secondary
#71BF5B
accent
#E54366
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #80249A

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

Preview Lab → · Contrast checker → · Palette generator →

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