#7C4591#7C4591

#7C4591 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 48.8% C 0.130 H 315.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7C4591
RGBrgb(124, 69, 145)
HSLhsl(283, 36%, 42%)
HSVhsv(283, 52%, 57%)
CMYKcmyk(14.5%, 52.4%, 0%, 43.1%)
CIE-LABlab(38.87, 36.94, -32.58)
CIE-LCHlch(38.87, 49.26, 318.59°)
OKLaboklab(48.85% 0.0937 -0.0907)
OKLCHoklch(48.85% 0.13 315.9)
XYZxyz(15.5504, 10.5861, 28.0068)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4591 #5A9145
analogous
#564591 #7C4591 #914580
triadic
#7C4591 #917C45 #45917C
tetradic
#7C4591 #915645 #5A9145 #458091
square
#7C4591 #915645 #5A9145 #458091
split-complementary
#7C4591 #809145 #459156
monochromatic
#351E3E #593168 #7C4591 #9C60B3 #B689C7

Accessibility & contrast

On white

6.74
#7C4591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7C4591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4591
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4591#FFFFFF#000000##FFFFFF
##7C45911.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355894
Deuteranopia (green-blind)
#465D8F
Tritanopia (blue-blind)
#7B5164
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c4591;
/* rgb */ color: rgb(124, 69, 145);
/* oklch */ color: oklch(48.8% 0.130 315.9);
Tailwind
colors: {
  custom: {
    50: '#a47bb1',
    500: '#7c4591',
    950: '#000000',
  },
}
SCSS
$custom: #7c4591;
$custom-light: #a47bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4591",
  "rgb": {
    "r": 124,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 283.421,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48845,
    "c": 0.13037,
    "h": 315.9
  },
  "luminance": 0.10586
}

Semantic roles & 50–950 ramp

primary
#7C4591
secondary
#8EB280
accent
#CC5C7B
background
#FAF7FA
surface
#F4EEF5
border
#CEC9CF
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7C4591

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

Preview Lab → · Contrast checker → · Palette generator →

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