#80298C#80298C

#80298C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.170 H 322.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#80298C
RGBrgb(128, 41, 140)
HSLhsl(293, 55%, 35%)
HSVhsv(293, 71%, 55%)
CMYKcmyk(8.6%, 70.7%, 0%, 45.1%)
CIE-LABlab(34.13, 50.66, -37.02)
CIE-LCHlch(34.13, 62.74, 323.84°)
OKLaboklab(45.41% 0.1351 -0.1033)
OKLCHoklch(45.41% 0.17 322.6)
XYZxyz(14.4282, 8.0693, 25.6034)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80298C #358C29
analogous
#4E298C #80298C #8C2966
triadic
#80298C #8C8029 #298C80
tetradic
#80298C #8C4E29 #358C29 #29668C
square
#80298C #8C4E29 #358C29 #29668C
split-complementary
#80298C #668C29 #298C4E
monochromatic
#290D2D #551B5D #80298C #AB37BB #C35FD0

Accessibility & contrast

On white

8.03
#80298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80298C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80298C#FFFFFF#000000##FFFFFF
##80298C1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084A8F
Deuteranopia (green-blind)
#37548A
Tritanopia (blue-blind)
#823A57
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #80298c;
/* rgb */ color: rgb(128, 41, 140);
/* oklch */ color: oklch(45.4% 0.170 322.6);
Tailwind
colors: {
  custom: {
    50: '#a86bae',
    500: '#80298c',
    950: '#000000',
  },
}
SCSS
$custom: #80298c;
$custom-light: #a86bae;
$custom-dark: #000000;
JSON
{
  "hex": "#80298c",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 292.727,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45414,
    "c": 0.17004,
    "h": 322.6
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#80298C
secondary
#66B65B
accent
#DE4A5C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80298C

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

Preview Lab → · Contrast checker → · Palette generator →

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