#7D4591#7D4591

#7D4591 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.0% C 0.131 H 316.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7D4591
RGBrgb(125, 69, 145)
HSLhsl(284, 36%, 42%)
HSVhsv(284, 52%, 57%)
CMYKcmyk(13.8%, 52.4%, 0%, 43.1%)
CIE-LABlab(39.00, 37.23, -32.37)
CIE-LCHlch(39.00, 49.33, 318.99°)
OKLaboklab(48.97% 0.095 -0.09)
OKLCHoklch(48.97% 0.131 316.5)
XYZxyz(15.6956, 10.6611, 28.0136)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4591 #599145
analogous
#574591 #7D4591 #91457F
triadic
#7D4591 #917D45 #45917D
tetradic
#7D4591 #915745 #599145 #457F91
square
#7D4591 #915745 #599145 #457F91
split-complementary
#7D4591 #7F9145 #459157
monochromatic
#361E3E #593168 #7D4591 #9D60B3 #B789C7

Accessibility & contrast

On white

6.70
#7D4591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7D4591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4591
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4591#FFFFFF#000000##FFFFFF
##7D45911.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d4591;
/* rgb */ color: rgb(125, 69, 145);
/* oklch */ color: oklch(49.0% 0.131 316.5);
Tailwind
colors: {
  custom: {
    50: '#a47bb1',
    500: '#7d4591',
    950: '#000000',
  },
}
SCSS
$custom: #7d4591;
$custom-light: #a47bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4591",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 284.211,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48969,
    "c": 0.13085,
    "h": 316.5
  },
  "luminance": 0.10661
}

Semantic roles & 50–950 ramp

primary
#7D4591
secondary
#8DB280
accent
#CC5C7A
background
#FAF7FA
surface
#F4EEF5
border
#CEC9CF
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7D4591

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

Preview Lab → · Contrast checker → · Palette generator →

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