#7C507A#7C507A

#7C507A is a mid, moderate purple. Relative luminance 0.114; OKLCH L 49.6% C 0.084 H 328.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7C507A
RGBrgb(124, 80, 122)
HSLhsl(303, 22%, 40%)
HSVhsv(303, 35%, 49%)
CMYKcmyk(0%, 35.5%, 1.6%, 51.4%)
CIE-LABlab(40.29, 25.71, -16.33)
CIE-LCHlch(40.29, 30.46, 327.58°)
OKLaboklab(49.55% 0.0717 -0.0442)
OKLCHoklch(49.55% 0.084 328.3)
XYZxyz(14.6934, 11.4281, 19.8405)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C507A #507C52
analogous
#68507C #7C507A #7C5064
triadic
#7C507A #7A7C50 #507A7C
tetradic
#7C507A #7C6850 #507C52 #50647C
square
#7C507A #7C6850 #507C52 #50647C
split-complementary
#7C507A #647C50 #507C68
monochromatic
#322031 #573855 #7C507A #9F6A9D #B78FB5

Accessibility & contrast

On white

6.39
#7C507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7C507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C507A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C507A#FFFFFF#000000##FFFFFF
##7C507A1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B7C
Deuteranopia (green-blind)
#586179
Tritanopia (blue-blind)
#7F545F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c507a;
/* rgb */ color: rgb(124, 80, 122);
/* oklch */ color: oklch(49.6% 0.084 328.3);
Tailwind
colors: {
  custom: {
    50: '#a382a0',
    500: '#7c507a',
    950: '#000000',
  },
}
SCSS
$custom: #7c507a;
$custom-light: #a382a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c507a",
  "rgb": {
    "r": 124,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 302.727,
    "s": 21.569,
    "l": 40
  },
  "oklch": {
    "l": 0.49553,
    "c": 0.08427,
    "h": 328.3
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

primary
#7C507A
secondary
#84A485
accent
#BE6E6A
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7C507A

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

Preview Lab → · Contrast checker → · Palette generator →

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