#7E667C#7E667C

#7E667C is a mid, muted purple. Relative luminance 0.154; OKLCH L 54.1% C 0.045 H 328.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7E667C
RGBrgb(126, 102, 124)
HSLhsl(305, 11%, 45%)
HSVhsv(305, 19%, 49%)
CMYKcmyk(0%, 19%, 1.6%, 50.6%)
CIE-LABlab(46.17, 13.70, -8.62)
CIE-LCHlch(46.17, 16.19, 327.82°)
OKLaboklab(54.12% 0.0382 -0.023)
OKLCHoklch(54.12% 0.045 328.9)
XYZxyz(16.9932, 15.3940, 21.1410)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E667C #667E68
analogous
#74667E #7E667C #7E6670
triadic
#7E667C #7C7E66 #667C7E
tetradic
#7E667C #7E7466 #667E68 #66707E
square
#7E667C #7E7466 #667E68 #66707E
split-complementary
#7E667C #707E66 #667E74
monochromatic
#3A2F39 #5C4B5B #7E667C #9C859A #B8A7B6

Accessibility & contrast

On white

5.15
#7E667C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7E667C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E667C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E667C#FFFFFF#000000##FFFFFF
##7E667C1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656B7D
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#80686D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e667c;
/* rgb */ color: rgb(126, 102, 124);
/* oklch */ color: oklch(54.1% 0.045 328.9);
Tailwind
colors: {
  custom: {
    50: '#a391a2',
    500: '#7e667c',
    950: '#000000',
  },
}
SCSS
$custom: #7e667c;
$custom-light: #a391a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e667c",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 124
  },
  "hsl": {
    "h": 305,
    "s": 10.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54123,
    "c": 0.04459,
    "h": 328.9
  },
  "luminance": 0.15394
}

Semantic roles & 50–950 ramp

primary
#7E667C
secondary
#99A79A
accent
#B37A74
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#0F0D0F
muted
#7F7D7E

Preview Lab

Preview with #7E667C

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

Preview Lab → · Contrast checker → · Palette generator →

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