#7E487A#7E487A

#7E487A is a mid, moderate purple. Relative luminance 0.105; OKLCH L 48.4% C 0.101 H 329.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7E487A
RGBrgb(126, 72, 122)
HSLhsl(304, 27%, 39%)
HSVhsv(304, 43%, 49%)
CMYKcmyk(0%, 42.9%, 3.2%, 50.6%)
CIE-LABlab(38.68, 31.05, -18.78)
CIE-LCHlch(38.68, 36.29, 328.84°)
OKLaboklab(48.4% 0.0874 -0.051)
OKLCHoklch(48.4% 0.101 329.7)
XYZxyz(14.4342, 10.4762, 19.6704)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E487A #487E4C
analogous
#67487E #7E487A #7E485F
triadic
#7E487A #7A7E48 #487A7E
tetradic
#7E487A #7E6748 #487E4C #485F7E
square
#7E487A #7E6748 #487E4C #485F7E
split-complementary
#7E487A #5F7E48 #487E67
monochromatic
#301B2F #573254 #7E487A #A45F9F #BA86B6

Accessibility & contrast

On white

6.79
#7E487A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7E487A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E487A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E487A#FFFFFF#000000##FFFFFF
##7E487A1.006.793.106.79
#FFFFFF6.791.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45567C
Deuteranopia (green-blind)
#545E78
Tritanopia (blue-blind)
#824C5B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e487a;
/* rgb */ color: rgb(126, 72, 122);
/* oklch */ color: oklch(48.4% 0.101 329.7);
Tailwind
colors: {
  custom: {
    50: '#a47ca0',
    500: '#7e487a',
    950: '#000000',
  },
}
SCSS
$custom: #7e487a;
$custom-light: #a47ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e487a",
  "rgb": {
    "r": 126,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 304.444,
    "s": 27.273,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48397,
    "c": 0.10117,
    "h": 329.7
  },
  "luminance": 0.10475
}

Semantic roles & 50–950 ramp

primary
#7E487A
secondary
#7CA67F
accent
#C46B64
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #7E487A

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

Preview Lab → · Contrast checker → · Palette generator →

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