#80298B#80298B

#80298B is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.169 H 323.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#80298B
RGBrgb(128, 41, 139)
HSLhsl(293, 54%, 35%)
HSVhsv(293, 71%, 55%)
CMYKcmyk(7.9%, 70.5%, 0%, 45.5%)
CIE-LABlab(34.07, 50.47, -36.50)
CIE-LCHlch(34.07, 62.28, 324.12°)
OKLaboklab(45.35% 0.1351 -0.1017)
OKLCHoklch(45.35% 0.169 323)
XYZxyz(14.3548, 8.0400, 25.2169)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80298B #348B29
analogous
#4F298B #80298B #8B2965
triadic
#80298B #8B8029 #298B80
tetradic
#80298B #8B4F29 #348B29 #29658B
square
#80298B #8B4F29 #348B29 #29658B
split-complementary
#80298B #658B29 #298B4F
monochromatic
#290D2C #541B5C #80298B #AC37BA #C35FD0

Accessibility & contrast

On white

8.05
#80298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#80298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80298B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80298B#FFFFFF#000000##FFFFFF
##80298B1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4A8E
Deuteranopia (green-blind)
#385489
Tritanopia (blue-blind)
#823A57
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #80298b;
/* rgb */ color: rgb(128, 41, 139);
/* oklch */ color: oklch(45.4% 0.169 323.0);
Tailwind
colors: {
  custom: {
    50: '#a86bad',
    500: '#80298b',
    950: '#000000',
  },
}
SCSS
$custom: #80298b;
$custom-light: #a86bad;
$custom-dark: #000000;
JSON
{
  "hex": "#80298b",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 293.265,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45351,
    "c": 0.16915,
    "h": 323
  },
  "luminance": 0.08039
}

Semantic roles & 50–950 ramp

primary
#80298B
secondary
#65B55B
accent
#DE4A5B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80298B

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

Preview Lab → · Contrast checker → · Palette generator →

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