#7A4C82#7A4C82

#7A4C82 is a mid, moderate purple. Relative luminance 0.109; OKLCH L 49.0% C 0.099 H 321.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7A4C82
RGBrgb(122, 76, 130)
HSLhsl(291, 26%, 40%)
HSVhsv(291, 42%, 51%)
CMYKcmyk(6.2%, 41.5%, 0%, 49%)
CIE-LABlab(39.44, 29.04, -22.56)
CIE-LCHlch(39.44, 36.77, 322.15°)
OKLaboklab(48.97% 0.0778 -0.0619)
OKLCHoklch(48.97% 0.099 321.5)
XYZxyz(14.6393, 10.9187, 22.4511)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4C82 #54824C
analogous
#5F4C82 #7A4C82 #824C6F
triadic
#7A4C82 #827A4C #4C827A
tetradic
#7A4C82 #825F4C #54824C #4C6F82
square
#7A4C82 #825F4C #54824C #4C6F82
split-complementary
#7A4C82 #6F824C #4C825F
monochromatic
#321F35 #56355B #7A4C82 #9C66A5 #B58CBC

Accessibility & contrast

On white

6.60
#7A4C82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7A4C82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4C82
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4C82#FFFFFF#000000##FFFFFF
##7A4C821.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455A84
Deuteranopia (green-blind)
#515F80
Tritanopia (blue-blind)
#7B5261
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a4c82;
/* rgb */ color: rgb(122, 76, 130);
/* oklch */ color: oklch(49.0% 0.099 321.5);
Tailwind
colors: {
  custom: {
    50: '#a17fa6',
    500: '#7a4c82',
    950: '#000000',
  },
}
SCSS
$custom: #7a4c82;
$custom-light: #a17fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4c82",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 130
  },
  "hsl": {
    "h": 291.111,
    "s": 26.214,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48972,
    "c": 0.09941,
    "h": 321.5
  },
  "luminance": 0.10918
}

Semantic roles & 50–950 ramp

primary
#7A4C82
secondary
#87A881
accent
#C36573
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7A4C82

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

Preview Lab → · Contrast checker → · Palette generator →

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