#7E627A#7E627A

#7E627A is a mid, muted purple. Relative luminance 0.146; OKLCH L 53.2% C 0.050 H 331.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7E627A
RGBrgb(126, 98, 122)
HSLhsl(309, 13%, 44%)
HSVhsv(309, 22%, 49%)
CMYKcmyk(0%, 22.2%, 3.2%, 50.6%)
CIE-LABlab(45.05, 15.69, -9.10)
CIE-LCHlch(45.05, 18.14, 329.90°)
OKLaboklab(53.24% 0.0441 -0.0243)
OKLCHoklch(53.24% 0.05 331.1)
XYZxyz(16.4844, 14.5766, 20.3538)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E627A #627E66
analogous
#74627E #7E627A #7E626C
triadic
#7E627A #7A7E62 #627A7E
tetradic
#7E627A #7E7462 #627E66 #626C7E
square
#7E627A #7E7462 #627E66 #626C7E
split-complementary
#7E627A #6C7E62 #627E74
monochromatic
#392C37 #5C4759 #7E627A #9D8199 #B7A3B5

Accessibility & contrast

On white

5.36
#7E627A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7E627A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E627A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E627A#FFFFFF#000000##FFFFFF
##7E627A1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61687B
Deuteranopia (green-blind)
#686C79
Tritanopia (blue-blind)
#81636A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e627a;
/* rgb */ color: rgb(126, 98, 122);
/* oklch */ color: oklch(53.2% 0.050 331.1);
Tailwind
colors: {
  custom: {
    50: '#a38fa0',
    500: '#7e627a',
    950: '#000000',
  },
}
SCSS
$custom: #7e627a;
$custom-light: #a38fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e627a",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 122
  },
  "hsl": {
    "h": 308.571,
    "s": 12.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53236,
    "c": 0.05037,
    "h": 331.1
  },
  "luminance": 0.14576
}

Semantic roles & 50–950 ramp

primary
#7E627A
secondary
#95A698
accent
#B57C72
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#0F0C0E
muted
#7F7D7E

Preview Lab

Preview with #7E627A

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

Preview Lab → · Contrast checker → · Palette generator →

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