#7E7488#7E7488

#7E7488 is a mid, muted grey. Relative luminance 0.187; OKLCH L 57.5% C 0.032 H 307.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7E7488
RGBrgb(126, 116, 136)
HSLhsl(270, 8%, 49%)
HSVhsv(270, 15%, 53%)
CMYKcmyk(7.4%, 14.7%, 0%, 46.7%)
CIE-LABlab(50.34, 7.90, -9.51)
CIE-LCHlch(50.34, 12.37, 309.72°)
OKLaboklab(57.49% 0.0199 -0.0256)
OKLCHoklch(57.49% 0.032 307.8)
XYZxyz(19.2927, 18.7040, 25.8816)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7488 #7E8874
analogous
#747488 #7E7488 #887488
triadic
#7E7488 #887E74 #74887E
tetradic
#7E7488 #887474 #7E8874 #748888
square
#7E7488 #887474 #7E8874 #748888
split-complementary
#7E7488 #888874 #748874
monochromatic
#413C46 #5F5867 #7E7488 #9D95A4 #BBB6C1

Accessibility & contrast

On white

4.43
#7E7488 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7E7488 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7488
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7488#FFFFFF#000000##000000
##7E74881.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#717789
Deuteranopia (green-blind)
#737887
Tritanopia (blue-blind)
#7D767B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e7488;
/* rgb */ color: rgb(126, 116, 136);
/* oklch */ color: oklch(57.5% 0.032 307.8);
Tailwind
colors: {
  custom: {
    50: '#a39caa',
    500: '#7e7488',
    950: '#000000',
  },
}
SCSS
$custom: #7e7488;
$custom-light: #a39caa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7488",
  "rgb": {
    "r": 126,
    "g": 116,
    "b": 136
  },
  "hsl": {
    "h": 270,
    "s": 7.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.03241,
    "h": 307.8
  },
  "luminance": 0.18704
}

Semantic roles & 50–950 ramp

primary
#7E7488
secondary
#ACB1A7
accent
#B17794
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E10
muted
#7F7E7F

Preview Lab

Preview with #7E7488

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

Preview Lab → · Contrast checker → · Palette generator →

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