#7C487B#7C487B

#7C487B is a mid, moderate purple. Relative luminance 0.103; OKLCH L 48.2% C 0.101 H 327.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7C487B
RGBrgb(124, 72, 123)
HSLhsl(301, 27%, 38%)
HSVhsv(301, 42%, 49%)
CMYKcmyk(0%, 41.9%, 0.8%, 51.4%)
CIE-LABlab(38.46, 30.58, -19.76)
CIE-LCHlch(38.46, 36.40, 327.13°)
OKLaboklab(48.19% 0.0851 -0.0538)
OKLCHoklch(48.19% 0.101 327.7)
XYZxyz(14.2044, 10.3505, 19.9847)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C487B #487C49
analogous
#63487C #7C487B #7C4861
triadic
#7C487B #7B7C48 #487B7C
tetradic
#7C487B #7C6348 #487C49 #48617C
square
#7C487B #7C6348 #487C49 #48617C
split-complementary
#7C487B #617C48 #487C63
monochromatic
#2F1B2E #553255 #7C487B #A25FA1 #B986B8

Accessibility & contrast

On white

6.84
#7C487B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C487B
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C487B#FFFFFF#000000##FFFFFF
##7C487B1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567D
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#7F4D5C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c487b;
/* rgb */ color: rgb(124, 72, 123);
/* oklch */ color: oklch(48.2% 0.101 327.7);
Tailwind
colors: {
  custom: {
    50: '#a37ca1',
    500: '#7c487b',
    950: '#000000',
  },
}
SCSS
$custom: #7c487b;
$custom-light: #a37ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c487b",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 301.154,
    "s": 26.531,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4819,
    "c": 0.10069,
    "h": 327.7
  },
  "luminance": 0.1035
}

Semantic roles & 50–950 ramp

primary
#7C487B
secondary
#7BA57C
accent
#C36765
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F090F
muted
#7F7B7E

Preview Lab

Preview with #7C487B

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

Preview Lab → · Contrast checker → · Palette generator →

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