#7A4591#7A4591

#7A4591 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 48.6% C 0.129 H 314.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7A4591
RGBrgb(122, 69, 145)
HSLhsl(282, 36%, 42%)
HSVhsv(282, 52%, 57%)
CMYKcmyk(15.9%, 52.4%, 0%, 43.1%)
CIE-LABlab(38.62, 36.35, -33.00)
CIE-LCHlch(38.62, 49.10, 317.77°)
OKLaboklab(48.6% 0.0911 -0.0919)
OKLCHoklch(48.6% 0.129 314.7)
XYZxyz(15.2642, 10.4386, 27.9933)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4591 #5C9145
analogous
#544591 #7A4591 #914582
triadic
#7A4591 #917A45 #45917A
tetradic
#7A4591 #915445 #5C9145 #458291
square
#7A4591 #915445 #5C9145 #458291
split-complementary
#7A4591 #829145 #459154
monochromatic
#341E3E #573168 #7A4591 #9A60B3 #B489C7

Accessibility & contrast

On white

6.80
#7A4591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7A4591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4591
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4591#FFFFFF#000000##FFFFFF
##7A45911.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345894
Deuteranopia (green-blind)
#445C8F
Tritanopia (blue-blind)
#785164
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a4591;
/* rgb */ color: rgb(122, 69, 145);
/* oklch */ color: oklch(48.6% 0.129 314.7);
Tailwind
colors: {
  custom: {
    50: '#a27bb1',
    500: '#7a4591',
    950: '#000000',
  },
}
SCSS
$custom: #7a4591;
$custom-light: #a27bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4591",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 281.842,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.486,
    "c": 0.12942,
    "h": 314.7
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#7A4591
secondary
#8FB280
accent
#CC5C7E
background
#FAF7FA
surface
#F4EEF5
border
#CEC9CF
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7A4591

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

Preview Lab → · Contrast checker → · Palette generator →

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