#80417C#80417C

#80417C is a mid, moderate purple. Relative luminance 0.098; OKLCH L 47.6% C 0.118 H 329.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#80417C
RGBrgb(128, 65, 124)
HSLhsl(304, 33%, 38%)
HSVhsv(304, 49%, 50%)
CMYKcmyk(0%, 49.2%, 3.1%, 49.8%)
CIE-LABlab(37.53, 36.01, -21.78)
CIE-LCHlch(37.53, 42.09, 328.83°)
OKLaboklab(47.62% 0.1014 -0.0594)
OKLCHoklch(47.62% 0.118 329.6)
XYZxyz(14.4303, 9.8258, 20.2014)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80417C #418045
analogous
#654180 #80417C #80415C
triadic
#80417C #7C8041 #417C80
tetradic
#80417C #806541 #418045 #415C80
square
#80417C #806541 #418045 #415C80
split-complementary
#80417C #5C8041 #418065
monochromatic
#2F182D #572C55 #80417C #A956A3 #BD7EB9

Accessibility & contrast

On white

7.08
#80417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#80417C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80417C
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80417C#FFFFFF#000000##FFFFFF
##80417C1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#4F5B7A
Tritanopia (blue-blind)
#844659
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #80417c;
/* rgb */ color: rgb(128, 65, 124);
/* oklch */ color: oklch(47.6% 0.118 329.6);
Tailwind
colors: {
  custom: {
    50: '#a678a2',
    500: '#80417c',
    950: '#000000',
  },
}
SCSS
$custom: #80417c;
$custom-light: #a678a2;
$custom-dark: #000000;
JSON
{
  "hex": "#80417c",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 303.81,
    "s": 32.642,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47622,
    "c": 0.11753,
    "h": 329.6
  },
  "luminance": 0.09825
}

Semantic roles & 50–950 ramp

primary
#80417C
secondary
#75A878
accent
#C9665F
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #80417C

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

Preview Lab → · Contrast checker → · Palette generator →

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