#80249E#80249E

#80249E is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.192 H 316.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#80249E
RGBrgb(128, 36, 158)
HSLhsl(285, 63%, 38%)
HSVhsv(285, 77%, 62%)
CMYKcmyk(19%, 77.2%, 0%, 38%)
CIE-LABlab(34.64, 56.08, -47.19)
CIE-LCHlch(34.64, 73.30, 319.92°)
OKLaboklab(46.16% 0.1385 -0.133)
OKLCHoklch(46.16% 0.192 316.2)
XYZxyz(15.7036, 8.3202, 33.1199)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80249E #429E24
analogous
#43249E #80249E #9E247F
triadic
#80249E #9E8024 #249E80
tetradic
#80249E #9E4324 #429E24 #247F9E
square
#80249E #9E4324 #429E24 #247F9E
split-complementary
#80249E #7F9E24 #249E43
monochromatic
#2F0D3A #58196C #80249E #A82FD0 #BD61DB

Accessibility & contrast

On white

7.88
#80249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#80249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80249E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80249E#FFFFFF#000000##FFFFFF
##80249E1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#23549B
Tritanopia (blue-blind)
#7E3F60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #80249e;
/* rgb */ color: rgb(128, 36, 158);
/* oklch */ color: oklch(46.2% 0.192 316.2);
Tailwind
colors: {
  custom: {
    50: '#a969bb',
    500: '#80249e',
    950: '#000000',
  },
}
SCSS
$custom: #80249e;
$custom-light: #a969bb;
$custom-dark: #000000;
JSON
{
  "hex": "#80249e",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 285.246,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46157,
    "c": 0.19201,
    "h": 316.2
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#80249E
secondary
#76C05E
accent
#E6426A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #80249E

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

Preview Lab → · Contrast checker → · Palette generator →

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