#7C487A#7C487A

#7C487A is a mid, moderate purple. Relative luminance 0.103; OKLCH L 48.1% C 0.100 H 328.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7C487A
RGBrgb(124, 72, 122)
HSLhsl(302, 27%, 38%)
HSVhsv(302, 42%, 49%)
CMYKcmyk(0%, 41.9%, 1.6%, 51.4%)
CIE-LABlab(38.42, 30.38, -19.21)
CIE-LCHlch(38.42, 35.94, 327.70°)
OKLaboklab(48.14% 0.0849 -0.0523)
OKLCHoklch(48.14% 0.1 328.4)
XYZxyz(14.1422, 10.3256, 19.6567)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C487A #487C4A
analogous
#64487C #7C487A #7C4860
triadic
#7C487A #7A7C48 #487A7C
tetradic
#7C487A #7C6448 #487C4A #48607C
square
#7C487A #7C6448 #487C4A #48607C
split-complementary
#7C487A #607C48 #487C64
monochromatic
#2F1B2E #553254 #7C487A #A25FA0 #B986B7

Accessibility & contrast

On white

6.85
#7C487A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7C487A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C487A
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C487A#FFFFFF#000000##FFFFFF
##7C487A1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45567C
Deuteranopia (green-blind)
#535D78
Tritanopia (blue-blind)
#7F4D5B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c487a;
/* rgb */ color: rgb(124, 72, 122);
/* oklch */ color: oklch(48.1% 0.100 328.4);
Tailwind
colors: {
  custom: {
    50: '#a37ca0',
    500: '#7c487a',
    950: '#000000',
  },
}
SCSS
$custom: #7c487a;
$custom-light: #a37ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c487a",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 302.308,
    "s": 26.531,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48143,
    "c": 0.09966,
    "h": 328.4
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#7C487A
secondary
#7BA57D
accent
#C36965
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #7C487A

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

Preview Lab → · Contrast checker → · Palette generator →

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