#7E7486#7E7486

#7E7486 is a mid, muted grey. Relative luminance 0.186; OKLCH L 57.4% C 0.030 H 310.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7E7486
RGBrgb(126, 116, 134)
HSLhsl(273, 7%, 49%)
HSVhsv(273, 13%, 53%)
CMYKcmyk(6%, 13.4%, 0%, 47.5%)
CIE-LABlab(50.27, 7.47, -8.43)
CIE-LCHlch(50.27, 11.27, 311.55°)
OKLaboklab(57.41% 0.0191 -0.0226)
OKLCHoklch(57.41% 0.03 310.2)
XYZxyz(19.1519, 18.6477, 25.1401)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7486 #7C8674
analogous
#757486 #7E7486 #867485
triadic
#7E7486 #867E74 #74867E
tetradic
#7E7486 #867574 #7C8674 #748586
square
#7E7486 #867574 #7C8674 #748586
split-complementary
#7E7486 #858674 #748675
monochromatic
#403B44 #5F5865 #7E7486 #9C94A3 #BBB5BF

Accessibility & contrast

On white

4.44
#7E7486 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7E7486 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7486
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7486#FFFFFF#000000##000000
##7E74861.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#727787
Deuteranopia (green-blind)
#737885
Tritanopia (blue-blind)
#7D767A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e7486;
/* rgb */ color: rgb(126, 116, 134);
/* oklch */ color: oklch(57.4% 0.030 310.2);
Tailwind
colors: {
  custom: {
    50: '#a39ca9',
    500: '#7e7486',
    950: '#000000',
  },
}
SCSS
$custom: #7e7486;
$custom-light: #a39ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7486",
  "rgb": {
    "r": 126,
    "g": 116,
    "b": 134
  },
  "hsl": {
    "h": 273.333,
    "s": 7.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57414,
    "c": 0.02963,
    "h": 310.2
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#7E7486
secondary
#AAAFA7
accent
#B07891
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E0F
muted
#7F7E7F

Preview Lab

Preview with #7E7486

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

Preview Lab → · Contrast checker → · Palette generator →

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