#7A507A#7A507A

#7A507A is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.3% C 0.083 H 326.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7A507A
RGBrgb(122, 80, 122)
HSLhsl(300, 21%, 40%)
HSVhsv(300, 34%, 48%)
CMYKcmyk(0%, 34.4%, 0%, 52.2%)
CIE-LABlab(40.05, 25.00, -16.72)
CIE-LCHlch(40.05, 30.08, 326.22°)
OKLaboklab(49.32% 0.0692 -0.0454)
OKLCHoklch(49.32% 0.083 326.7)
XYZxyz(14.4072, 11.2806, 19.8270)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A507A #507A50
analogous
#65507A #7A507A #7A5065
triadic
#7A507A #7A7A50 #507A7A
tetradic
#7A507A #7A6550 #507A50 #50657A
square
#7A507A #7A6550 #507A50 #50657A
split-complementary
#7A507A #657A50 #507A65
monochromatic
#302030 #553855 #7A507A #9D6A9D #B58FB5

Accessibility & contrast

On white

6.45
#7A507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7A507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A507A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A507A#FFFFFF#000000##FFFFFF
##7A507A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7C
Deuteranopia (green-blind)
#576079
Tritanopia (blue-blind)
#7D545F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a507a;
/* rgb */ color: rgb(122, 80, 122);
/* oklch */ color: oklch(49.3% 0.083 326.7);
Tailwind
colors: {
  custom: {
    50: '#a182a0',
    500: '#7a507a',
    950: '#000000',
  },
}
SCSS
$custom: #7a507a;
$custom-light: #a182a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a507a",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 300,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49315,
    "c": 0.08275,
    "h": 326.7
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#7A507A
secondary
#83A383
accent
#BD6A6A
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7A507A

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

Preview Lab → · Contrast checker → · Palette generator →

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