#80249B#80249B

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

Color values

HEX#80249B
RGBrgb(128, 36, 155)
HSLhsl(286, 62%, 37%)
HSVhsv(286, 77%, 61%)
CMYKcmyk(17.4%, 76.8%, 0%, 39.2%)
CIE-LABlab(34.43, 55.48, -45.71)
CIE-LCHlch(34.43, 71.89, 320.52°)
OKLaboklab(45.94% 0.1389 -0.1286)
OKLCHoklch(45.94% 0.189 317.2)
XYZxyz(15.4485, 8.2182, 31.7765)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80249B #3F9B24
analogous
#45249B #80249B #9B247A
triadic
#80249B #9B8024 #249B80
tetradic
#80249B #9B4524 #3F9B24 #247A9B
square
#80249B #9B4524 #3F9B24 #247A9B
split-complementary
#80249B #7A9B24 #249B45
monochromatic
#2E0D38 #571869 #80249B #A930CD #BE5FDA

Accessibility & contrast

On white

7.94
#80249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80249B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80249B#FFFFFF#000000##FFFFFF
##80249B1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#265498
Tritanopia (blue-blind)
#7F3E5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #80249b;
/* rgb */ color: rgb(128, 36, 155);
/* oklch */ color: oklch(45.9% 0.189 317.2);
Tailwind
colors: {
  custom: {
    50: '#a969b9',
    500: '#80249b',
    950: '#000000',
  },
}
SCSS
$custom: #80249b;
$custom-light: #a969b9;
$custom-dark: #000000;
JSON
{
  "hex": "#80249b",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 286.387,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45944,
    "c": 0.18933,
    "h": 317.2
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#80249B
secondary
#72BF5C
accent
#E54267
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #80249B

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

Preview Lab → · Contrast checker → · Palette generator →

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