#80298F#80298F

#80298F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.173 H 321.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#80298F
RGBrgb(128, 41, 143)
HSLhsl(291, 55%, 36%)
HSVhsv(291, 71%, 56%)
CMYKcmyk(10.5%, 71.3%, 0%, 43.9%)
CIE-LABlab(34.31, 51.24, -38.57)
CIE-LCHlch(34.31, 64.13, 323.03°)
OKLaboklab(45.61% 0.135 -0.1078)
OKLCHoklch(45.61% 0.173 321.4)
XYZxyz(14.6524, 8.1590, 26.7843)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80298F #388F29
analogous
#4D298F #80298F #8F296B
triadic
#80298F #8F8029 #298F80
tetradic
#80298F #8F4D29 #388F29 #296B8F
square
#80298F #8F4D29 #388F29 #296B8F
split-complementary
#80298F #6B8F29 #298F4D
monochromatic
#2B0E30 #551B5F #80298F #AB37BF #C161D2

Accessibility & contrast

On white

7.98
#80298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#80298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80298F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80298F#FFFFFF#000000##FFFFFF
##80298F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#35548D
Tritanopia (blue-blind)
#813B59
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #80298f;
/* rgb */ color: rgb(128, 41, 143);
/* oklch */ color: oklch(45.6% 0.173 321.4);
Tailwind
colors: {
  custom: {
    50: '#a86bb0',
    500: '#80298f',
    950: '#000000',
  },
}
SCSS
$custom: #80298f;
$custom-light: #a86bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#80298f",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 291.176,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.17275,
    "h": 321.4
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#80298F
secondary
#6AB75C
accent
#DF495F
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80298F

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

Preview Lab → · Contrast checker → · Palette generator →

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