#7A627E#7A627E

#7A627E is a mid, muted purple. Relative luminance 0.144; OKLCH L 53.0% C 0.052 H 321.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7A627E
RGBrgb(122, 98, 126)
HSLhsl(291, 13%, 44%)
HSVhsv(291, 22%, 49%)
CMYKcmyk(3.2%, 22.2%, 0%, 50.6%)
CIE-LABlab(44.77, 15.04, -11.97)
CIE-LCHlch(44.77, 19.22, 321.48°)
OKLaboklab(52.97% 0.0406 -0.0323)
OKLCHoklch(52.97% 0.052 321.5)
XYZxyz(16.1591, 14.3796, 21.6589)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A627E #667E62
analogous
#6C627E #7A627E #7E6274
triadic
#7A627E #7E7A62 #627E7A
tetradic
#7A627E #7E6C62 #667E62 #62747E
square
#7A627E #7E6C62 #667E62 #62747E
split-complementary
#7A627E #747E62 #627E6C
monochromatic
#372C39 #59475C #7A627E #99819D #B5A3B7

Accessibility & contrast

On white

5.42
#7A627E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7A627E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A627E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A627E#FFFFFF#000000##FFFFFF
##7A627E1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F687F
Deuteranopia (green-blind)
#656B7D
Tritanopia (blue-blind)
#7B656C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a627e;
/* rgb */ color: rgb(122, 98, 126);
/* oklch */ color: oklch(53.0% 0.052 321.5);
Tailwind
colors: {
  custom: {
    50: '#a08ea3',
    500: '#7a627e',
    950: '#000000',
  },
}
SCSS
$custom: #7a627e;
$custom-light: #a08ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a627e",
  "rgb": {
    "r": 122,
    "g": 98,
    "b": 126
  },
  "hsl": {
    "h": 291.429,
    "s": 12.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52973,
    "c": 0.05185,
    "h": 321.5
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#7A627E
secondary
#98A695
accent
#B5727C
background
#F9F8FA
surface
#F2F0F3
border
#CCCBCD
text
#0F0C0F
muted
#7E7D7F

Preview Lab

Preview with #7A627E

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

Preview Lab → · Contrast checker → · Palette generator →

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