#80418D#80418D

#80418D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.5% C 0.135 H 320.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#80418D
RGBrgb(128, 65, 141)
HSLhsl(290, 37%, 40%)
HSVhsv(290, 54%, 55%)
CMYKcmyk(9.2%, 53.9%, 0%, 44.7%)
CIE-LABlab(38.36, 39.43, -30.92)
CIE-LCHlch(38.36, 50.10, 321.90°)
OKLaboklab(48.51% 0.1041 -0.0857)
OKLCHoklch(48.51% 0.135 320.5)
XYZxyz(15.5995, 10.2935, 26.3593)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80418D #4E8D41
analogous
#5A418D #80418D #8D4174
triadic
#80418D #8D8041 #418D80
tetradic
#80418D #8D5A41 #4E8D41 #41748D
square
#80418D #8D5A41 #4E8D41 #41748D
split-complementary
#80418D #748D41 #418D5A
monochromatic
#341A39 #5A2E63 #80418D #A359B2 #BA83C6

Accessibility & contrast

On white

6.87
#80418D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#80418D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #80418D
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80418D#FFFFFF#000000##FFFFFF
##80418D1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#485D8B
Tritanopia (blue-blind)
#814C61
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #80418d;
/* rgb */ color: rgb(128, 65, 141);
/* oklch */ color: oklch(48.5% 0.135 320.5);
Tailwind
colors: {
  custom: {
    50: '#a778ae',
    500: '#80418d',
    950: '#000000',
  },
}
SCSS
$custom: #80418d;
$custom-light: #a778ae;
$custom-dark: #000000;
JSON
{
  "hex": "#80418d",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 289.737,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48514,
    "c": 0.13487,
    "h": 320.5
  },
  "luminance": 0.10293
}

Semantic roles & 50–950 ramp

primary
#80418D
secondary
#83B079
accent
#CD5B6E
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #80418D

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

Preview Lab → · Contrast checker → · Palette generator →

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