#7E789E#7E789E

#7E789E is a mid, muted blue. Relative luminance 0.203; OKLCH L 59.2% C 0.058 H 291.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7E789E
RGBrgb(126, 120, 158)
HSLhsl(249, 16%, 55%)
HSVhsv(249, 24%, 62%)
CMYKcmyk(20.3%, 24.1%, 0%, 38%)
CIE-LABlab(52.22, 10.57, -19.56)
CIE-LCHlch(52.22, 22.24, 298.39°)
OKLaboklab(59.21% 0.0214 -0.0536)
OKLCHoklch(59.21% 0.058 291.8)
XYZxyz(21.4908, 20.3370, 35.1343)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E789E #989E78
analogous
#78859E #7E789E #91789E
triadic
#7E789E #9E7E78 #789E7E
tetradic
#7E789E #9E7885 #989E78 #789E91
square
#7E789E #9E7885 #989E78 #789E91
split-complementary
#7E789E #9E9178 #859E78
monochromatic
#45415B #605B7E #7E789E #A09CB8 #C2BFD1

Accessibility & contrast

On white

4.14
#7E789E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7E789E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E789E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E789E#FFFFFF#000000##000000
##7E789E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7DA0
Deuteranopia (green-blind)
#6F7C9D
Tritanopia (blue-blind)
#787E85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e789e;
/* rgb */ color: rgb(126, 120, 158);
/* oklch */ color: oklch(59.2% 0.058 291.8);
Tailwind
colors: {
  custom: {
    50: '#a49fba',
    500: '#7e789e',
    950: '#000000',
  },
}
SCSS
$custom: #7e789e;
$custom-light: #a49fba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e789e",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 158
  },
  "hsl": {
    "h": 249.474,
    "s": 16.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.05775,
    "h": 291.8
  },
  "luminance": 0.20337
}

Semantic roles & 50–950 ramp

primary
#7E789E
secondary
#BEC1B1
accent
#B96FAD
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0E11
muted
#7F7E80

Preview Lab

Preview with #7E789E

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

Preview Lab → · Contrast checker → · Palette generator →

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