#7C627E#7C627E

#7C627E is a mid, muted purple. Relative luminance 0.145; OKLCH L 53.2% C 0.053 H 324.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7C627E
RGBrgb(124, 98, 126)
HSLhsl(296, 13%, 44%)
HSVhsv(296, 22%, 49%)
CMYKcmyk(1.6%, 22.2%, 0%, 50.6%)
CIE-LABlab(44.98, 15.77, -11.64)
CIE-LCHlch(44.98, 19.60, 323.58°)
OKLaboklab(53.18% 0.0431 -0.0313)
OKLCHoklch(53.18% 0.053 324)
XYZxyz(16.4453, 14.5272, 21.6723)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C627E #647E62
analogous
#6E627E #7C627E #7E6272
triadic
#7C627E #7E7C62 #627E7C
tetradic
#7C627E #7E6E62 #647E62 #62727E
square
#7C627E #7E6E62 #647E62 #62727E
split-complementary
#7C627E #727E62 #627E6E
monochromatic
#382C39 #5A475C #7C627E #9B819D #B6A3B7

Accessibility & contrast

On white

5.38
#7C627E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7C627E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C627E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C627E#FFFFFF#000000##FFFFFF
##7C627E1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60687F
Deuteranopia (green-blind)
#666B7D
Tritanopia (blue-blind)
#7D646C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c627e;
/* rgb */ color: rgb(124, 98, 126);
/* oklch */ color: oklch(53.2% 0.053 324.0);
Tailwind
colors: {
  custom: {
    50: '#a28ea3',
    500: '#7c627e',
    950: '#000000',
  },
}
SCSS
$custom: #7c627e;
$custom-light: #a28ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c627e",
  "rgb": {
    "r": 124,
    "g": 98,
    "b": 126
  },
  "hsl": {
    "h": 295.714,
    "s": 12.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53181,
    "c": 0.05325,
    "h": 324
  },
  "luminance": 0.14527
}

Semantic roles & 50–950 ramp

primary
#7C627E
secondary
#97A695
accent
#B57277
background
#FAF8FA
surface
#F3F0F3
border
#CDCBCD
text
#0F0C0F
muted
#7F7D7F

Preview Lab

Preview with #7C627E

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

Preview Lab → · Contrast checker → · Palette generator →

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