#7C4580#7C4580

#7C4580 is a mid, moderate purple. Relative luminance 0.101; OKLCH L 47.9% C 0.112 H 324.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7C4580
RGBrgb(124, 69, 128)
HSLhsl(296, 30%, 39%)
HSVhsv(296, 46%, 50%)
CMYKcmyk(3.1%, 46.1%, 0%, 49.8%)
CIE-LABlab(38.02, 33.30, -23.52)
CIE-LCHlch(38.02, 40.77, 324.76°)
OKLaboklab(47.93% 0.091 -0.0645)
OKLCHoklch(47.93% 0.112 324.6)
XYZxyz(14.3362, 10.1005, 21.6123)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4580 #498045
analogous
#5E4580 #7C4580 #804566
triadic
#7C4580 #807C45 #45807C
tetradic
#7C4580 #805E45 #498045 #456680
square
#7C4580 #805E45 #498045 #456680
split-complementary
#7C4580 #668045 #45805E
monochromatic
#2F1A30 #553058 #7C4580 #A25BA7 #B883BC

Accessibility & contrast

On white

6.95
#7C4580 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7C4580 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4580
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4580#FFFFFF#000000##FFFFFF
##7C45801.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5582
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#7E4C5C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c4580;
/* rgb */ color: rgb(124, 69, 128);
/* oklch */ color: oklch(47.9% 0.112 324.6);
Tailwind
colors: {
  custom: {
    50: '#a37aa5',
    500: '#7c4580',
    950: '#000000',
  },
}
SCSS
$custom: #7c4580;
$custom-light: #a37aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4580",
  "rgb": {
    "r": 124,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 295.932,
    "s": 29.949,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47934,
    "c": 0.11155,
    "h": 324.6
  },
  "luminance": 0.101
}

Semantic roles & 50–950 ramp

primary
#7C4580
secondary
#7CA879
accent
#C66268
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #7C4580

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

Preview Lab → · Contrast checker → · Palette generator →

#7C4580 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva