#80418C#80418C

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

Color values

HEX#80418C
RGBrgb(128, 65, 140)
HSLhsl(290, 37%, 40%)
HSVhsv(290, 54%, 55%)
CMYKcmyk(8.6%, 53.6%, 0%, 45.1%)
CIE-LABlab(38.31, 39.22, -30.39)
CIE-LCHlch(38.31, 49.61, 322.23°)
OKLaboklab(48.46% 0.104 -0.0842)
OKLCHoklch(48.46% 0.134 321)
XYZxyz(15.5255, 10.2639, 25.9692)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80418C #4D8C41
analogous
#5A418C #80418C #8C4172
triadic
#80418C #8C8041 #418C80
tetradic
#80418C #8C5A41 #4D8C41 #41728C
square
#80418C #8C5A41 #4D8C41 #41728C
split-complementary
#80418C #728C41 #418C5A
monochromatic
#341A38 #5A2E62 #80418C #A359B2 #BA82C5

Accessibility & contrast

On white

6.88
#80418C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #80418C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80418C#FFFFFF#000000##FFFFFF
##80418C1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568E
Deuteranopia (green-blind)
#485D8A
Tritanopia (blue-blind)
#814B60
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #80418c;
/* rgb */ color: rgb(128, 65, 140);
/* oklch */ color: oklch(48.5% 0.134 321.0);
Tailwind
colors: {
  custom: {
    50: '#a778ae',
    500: '#80418c',
    950: '#000000',
  },
}
SCSS
$custom: #80418c;
$custom-light: #a778ae;
$custom-dark: #000000;
JSON
{
  "hex": "#80418c",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 290.4,
    "s": 36.585,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48459,
    "c": 0.13381,
    "h": 321
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#80418C
secondary
#82B079
accent
#CD5B6D
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #80418C

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

Preview Lab → · Contrast checker → · Palette generator →

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