#7E4599#7E4599

#7E4599 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.6% C 0.140 H 313.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7E4599
RGBrgb(126, 69, 153)
HSLhsl(281, 38%, 44%)
HSVhsv(281, 55%, 60%)
CMYKcmyk(17.6%, 54.9%, 0%, 40%)
CIE-LABlab(39.57, 39.30, -36.31)
CIE-LCHlch(39.57, 53.51, 317.27°)
OKLaboklab(49.55% 0.0971 -0.1014)
OKLCHoklch(49.55% 0.14 313.7)
XYZxyz(16.4811, 10.9922, 31.3843)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4599 #609945
analogous
#544599 #7E4599 #99458A
triadic
#7E4599 #997E45 #45997E
tetradic
#7E4599 #995445 #609945 #458A99
square
#7E4599 #995445 #609945 #458A99
split-complementary
#7E4599 #8A9945 #459954
monochromatic
#391F45 #5B326F #7E4599 #9D63B9 #B78DCC

Accessibility & contrast

On white

6.57
#7E4599 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7E4599 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4599
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4599#FFFFFF#000000##FFFFFF
##7E45991.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#425F97
Tritanopia (blue-blind)
#7C5368
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e4599;
/* rgb */ color: rgb(126, 69, 153);
/* oklch */ color: oklch(49.6% 0.140 313.7);
Tailwind
colors: {
  custom: {
    50: '#a57bb7',
    500: '#7e4599',
    950: '#000000',
  },
}
SCSS
$custom: #7e4599;
$custom-light: #a57bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4599",
  "rgb": {
    "r": 126,
    "g": 69,
    "b": 153
  },
  "hsl": {
    "h": 280.714,
    "s": 37.838,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49554,
    "c": 0.14038,
    "h": 313.7
  },
  "luminance": 0.10992
}

Semantic roles & 50–950 ramp

primary
#7E4599
secondary
#94B783
accent
#CE5A7F
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7E4599

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

Preview Lab → · Contrast checker → · Palette generator →

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