#80418B#80418B

#80418B is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.4% C 0.133 H 321.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#80418B
RGBrgb(128, 65, 139)
HSLhsl(291, 36%, 40%)
HSVhsv(291, 53%, 55%)
CMYKcmyk(7.9%, 53.2%, 0%, 45.5%)
CIE-LABlab(38.26, 39.01, -29.86)
CIE-LCHlch(38.26, 49.13, 322.57°)
OKLaboklab(48.4% 0.1039 -0.0826)
OKLCHoklch(48.4% 0.133 321.5)
XYZxyz(15.4521, 10.2345, 25.5826)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80418B #4C8B41
analogous
#5B418B #80418B #8B4171
triadic
#80418B #8B8041 #418B80
tetradic
#80418B #8B5B41 #4C8B41 #41718B
square
#80418B #8B5B41 #4C8B41 #41718B
split-complementary
#80418B #718B41 #418B5B
monochromatic
#331A38 #5A2D61 #80418B #A458B1 #BB82C5

Accessibility & contrast

On white

6.89
#80418B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#80418B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #80418B
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80418B#FFFFFF#000000##FFFFFF
##80418B1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558D
Deuteranopia (green-blind)
#495D89
Tritanopia (blue-blind)
#814B60
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #80418b;
/* rgb */ color: rgb(128, 65, 139);
/* oklch */ color: oklch(48.4% 0.133 321.5);
Tailwind
colors: {
  custom: {
    50: '#a778ad',
    500: '#80418b',
    950: '#000000',
  },
}
SCSS
$custom: #80418b;
$custom-light: #a778ad;
$custom-dark: #000000;
JSON
{
  "hex": "#80418b",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 291.081,
    "s": 36.275,
    "l": 40
  },
  "oklch": {
    "l": 0.48404,
    "c": 0.13276,
    "h": 321.5
  },
  "luminance": 0.10234
}

Semantic roles & 50–950 ramp

primary
#80418B
secondary
#81AF79
accent
#CC5C6C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #80418B

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

Preview Lab → · Contrast checker → · Palette generator →

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