#80418E#80418E

#80418E is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.6% C 0.136 H 320.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#80418E
RGBrgb(128, 65, 142)
HSLhsl(289, 37%, 41%)
HSVhsv(289, 54%, 56%)
CMYKcmyk(9.9%, 54.2%, 0%, 44.3%)
CIE-LABlab(38.42, 39.64, -31.44)
CIE-LCHlch(38.42, 50.59, 321.57°)
OKLaboklab(48.57% 0.1043 -0.0872)
OKLCHoklch(48.57% 0.136 320.1)
XYZxyz(15.6743, 10.3234, 26.7529)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80418E #4F8E41
analogous
#59418E #80418E #8E4175
triadic
#80418E #8E8041 #418E80
tetradic
#80418E #8E5941 #4F8E41 #41758E
square
#80418E #8E5941 #4F8E41 #41758E
split-complementary
#80418E #758E41 #418E59
monochromatic
#341B3A #5A2E64 #80418E #A359B3 #BA83C6

Accessibility & contrast

On white

6.85
#80418E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #80418E
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80418E#FFFFFF#000000##FFFFFF
##80418E1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#475D8C
Tritanopia (blue-blind)
#814C61
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #80418e;
/* rgb */ color: rgb(128, 65, 142);
/* oklch */ color: oklch(48.6% 0.136 320.1);
Tailwind
colors: {
  custom: {
    50: '#a778af',
    500: '#80418e',
    950: '#000000',
  },
}
SCSS
$custom: #80418e;
$custom-light: #a778af;
$custom-dark: #000000;
JSON
{
  "hex": "#80418e",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 289.091,
    "s": 37.198,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4857,
    "c": 0.13594,
    "h": 320.1
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#80418E
secondary
#84B17A
accent
#CD5B6F
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #80418E

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

Preview Lab → · Contrast checker → · Palette generator →

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