#80418F#80418F

#80418F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 48.6% C 0.137 H 319.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#80418F
RGBrgb(128, 65, 143)
HSLhsl(288, 38%, 41%)
HSVhsv(288, 55%, 56%)
CMYKcmyk(10.5%, 54.5%, 0%, 43.9%)
CIE-LABlab(38.47, 39.85, -31.97)
CIE-LCHlch(38.47, 51.09, 321.26°)
OKLaboklab(48.63% 0.1044 -0.0887)
OKLCHoklch(48.63% 0.137 319.6)
XYZxyz(15.7497, 10.3536, 27.1501)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80418F #508F41
analogous
#59418F #80418F #8F4177
triadic
#80418F #8F8041 #418F80
tetradic
#80418F #8F5941 #508F41 #41778F
square
#80418F #8F5941 #508F41 #41778F
split-complementary
#80418F #778F41 #418F59
monochromatic
#351B3B #5A2E65 #80418F #A259B4 #BA84C7

Accessibility & contrast

On white

6.84
#80418F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#80418F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #80418F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80418F#FFFFFF#000000##FFFFFF
##80418F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325692
Deuteranopia (green-blind)
#475D8D
Tritanopia (blue-blind)
#814C62
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #80418f;
/* rgb */ color: rgb(128, 65, 143);
/* oklch */ color: oklch(48.6% 0.137 319.6);
Tailwind
colors: {
  custom: {
    50: '#a778b0',
    500: '#80418f',
    950: '#000000',
  },
}
SCSS
$custom: #80418f;
$custom-light: #a778b0;
$custom-dark: #000000;
JSON
{
  "hex": "#80418f",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 288.462,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48626,
    "c": 0.137,
    "h": 319.6
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#80418F
secondary
#85B17A
accent
#CD5A70
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #80418F

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

Preview Lab → · Contrast checker → · Palette generator →

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