#80298D#80298D

#80298D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.171 H 322.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#80298D
RGBrgb(128, 41, 141)
HSLhsl(292, 55%, 36%)
HSVhsv(292, 71%, 55%)
CMYKcmyk(9.2%, 70.9%, 0%, 44.7%)
CIE-LABlab(34.19, 50.85, -37.54)
CIE-LCHlch(34.19, 63.20, 323.56°)
OKLaboklab(45.48% 0.1351 -0.1048)
OKLCHoklch(45.48% 0.171 322.2)
XYZxyz(14.5022, 8.0990, 25.9935)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80298D #368D29
analogous
#4E298D #80298D #8D2968
triadic
#80298D #8D8029 #298D80
tetradic
#80298D #8D4E29 #368D29 #29688D
square
#80298D #8D4E29 #368D29 #29688D
split-complementary
#80298D #688D29 #298D4E
monochromatic
#2A0D2E #551B5E #80298D #AB37BC #C260D1

Accessibility & contrast

On white

8.02
#80298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#80298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80298D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80298D#FFFFFF#000000##FFFFFF
##80298D1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054A90
Deuteranopia (green-blind)
#37548B
Tritanopia (blue-blind)
#823B58
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #80298d;
/* rgb */ color: rgb(128, 41, 141);
/* oklch */ color: oklch(45.5% 0.171 322.2);
Tailwind
colors: {
  custom: {
    50: '#a86baf',
    500: '#80298d',
    950: '#000000',
  },
}
SCSS
$custom: #80298d;
$custom-light: #a86baf;
$custom-dark: #000000;
JSON
{
  "hex": "#80298d",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 292.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45478,
    "c": 0.17093,
    "h": 322.2
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#80298D
secondary
#67B65B
accent
#DE4A5D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80298D

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

Preview Lab → · Contrast checker → · Palette generator →

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