#7E7882#7E7882

#7E7882 is a mid, near-neutral grey. Relative luminance 0.195; OKLCH L 58.1% C 0.017 H 312.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7E7882
RGBrgb(126, 120, 130)
HSLhsl(276, 4%, 49%)
HSVhsv(276, 8%, 51%)
CMYKcmyk(3.1%, 7.7%, 0%, 49%)
CIE-LABlab(51.24, 4.29, -4.63)
CIE-LCHlch(51.24, 6.31, 312.79°)
OKLaboklab(58.13% 0.0112 -0.0123)
OKLCHoklch(58.13% 0.017 312.2)
XYZxyz(19.3493, 19.4803, 23.8555)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7882 #7C8278
analogous
#797882 #7E7882 #827881
triadic
#7E7882 #827E78 #78827E
tetradic
#7E7882 #827978 #7C8278 #788182
square
#7E7882 #827978 #7C8278 #788182
split-complementary
#7E7882 #818278 #788279
monochromatic
#403D42 #5F5B62 #7E7882 #9C98A0 #BBB7BD

Accessibility & contrast

On white

4.29
#7E7882 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7E7882 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7882
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7882#FFFFFF#000000##000000
##7E78821.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#777A82
Deuteranopia (green-blind)
#787A82
Tritanopia (blue-blind)
#7E797B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e7882;
/* rgb */ color: rgb(126, 120, 130);
/* oklch */ color: oklch(58.1% 0.017 312.2);
Tailwind
colors: {
  custom: {
    50: '#a39fa6',
    500: '#7e7882',
    950: '#000000',
  },
}
SCSS
$custom: #7e7882;
$custom-light: #a39fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7882",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 130
  },
  "hsl": {
    "h": 276,
    "s": 4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5813,
    "c": 0.01664,
    "h": 312.2
  },
  "luminance": 0.1948
}

Semantic roles & 50–950 ramp

primary
#7E7882
secondary
#AAADA9
accent
#AD7B8F
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E0F
muted
#7F7E7F

Preview Lab

Preview with #7E7882

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

Preview Lab → · Contrast checker → · Palette generator →

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