#80248F#80248F

#80248F is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.179 H 321.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#80248F
RGBrgb(128, 36, 143)
HSLhsl(292, 60%, 35%)
HSVhsv(292, 75%, 56%)
CMYKcmyk(10.5%, 74.8%, 0%, 43.9%)
CIE-LABlab(33.64, 53.15, -39.65)
CIE-LCHlch(33.64, 66.31, 323.28°)
OKLaboklab(45.12% 0.1402 -0.1109)
OKLCHoklch(45.12% 0.179 321.6)
XYZxyz(14.4903, 7.8349, 26.7303)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80248F #338F24
analogous
#4B248F #80248F #8F2468
triadic
#80248F #8F8024 #248F80
tetradic
#80248F #8F4B24 #338F24 #24688F
square
#80248F #8F4B24 #338F24 #24688F
split-complementary
#80248F #688F24 #248F4B
monochromatic
#280B2D #54185E #80248F #AC30C0 #C458D5

Accessibility & contrast

On white

8.18
#80248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#80248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80248F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80248F#FFFFFF#000000##FFFFFF
##80248F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#32528D
Tritanopia (blue-blind)
#813858
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #80248f;
/* rgb */ color: rgb(128, 36, 143);
/* oklch */ color: oklch(45.1% 0.179 321.6);
Tailwind
colors: {
  custom: {
    50: '#a869b0',
    500: '#80248f',
    950: '#000000',
  },
}
SCSS
$custom: #80248f;
$custom-light: #a869b0;
$custom-dark: #000000;
JSON
{
  "hex": "#80248f",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 291.589,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45124,
    "c": 0.17873,
    "h": 321.6
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#80248F
secondary
#63B955
accent
#E3455B
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80248F

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

Preview Lab → · Contrast checker → · Palette generator →

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