#7E809C#7E809C

#7E809C is a mid, muted blue. Relative luminance 0.223; OKLCH L 60.8% C 0.042 H 281.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7E809C
RGBrgb(126, 128, 156)
HSLhsl(236, 13%, 55%)
HSVhsv(236, 19%, 61%)
CMYKcmyk(19.2%, 17.9%, 0%, 38.8%)
CIE-LABlab(54.32, 5.40, -15.20)
CIE-LCHlch(54.32, 16.14, 289.56°)
OKLaboklab(60.82% 0.0087 -0.0414)
OKLCHoklch(60.82% 0.042 281.8)
XYZxyz(22.3227, 22.2739, 34.5693)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E809C #9C9A7E
analogous
#7E8F9C #7E809C #8B7E9C
triadic
#7E809C #9C7E80 #809C7E
tetradic
#7E809C #9C7E8F #9C9A7E #7E9C8B
square
#7E809C #9C7E8F #9C9A7E #7E9C8B
split-complementary
#7E809C #9C8B7E #8F9C7E
monochromatic
#45475A #60627D #7E809C #A1A2B7 #C3C4D1

Accessibility & contrast

On white

3.85
#7E809C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7E809C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E809C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E809C#FFFFFF#000000##000000
##7E809C1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839D
Deuteranopia (green-blind)
#78819B
Tritanopia (blue-blind)
#778589
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e809c;
/* rgb */ color: rgb(126, 128, 156);
/* oklch */ color: oklch(60.8% 0.042 281.8);
Tailwind
colors: {
  custom: {
    50: '#a3a4b9',
    500: '#7e809c',
    950: '#000000',
  },
}
SCSS
$custom: #7e809c;
$custom-light: #a3a4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e809c",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 156
  },
  "hsl": {
    "h": 236,
    "s": 13.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60815,
    "c": 0.04234,
    "h": 281.8
  },
  "luminance": 0.22274
}

Semantic roles & 50–950 ramp

primary
#7E809C
secondary
#C1C0B5
accent
#B172B6
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#0F0F11
muted
#7F7F80

Preview Lab

Preview with #7E809C

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

Preview Lab → · Contrast checker → · Palette generator →

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