#7E7AB3#7E7AB3

#7E7AB3 is a mid, moderate blue. Relative luminance 0.216; OKLCH L 60.6% C 0.086 H 286.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7E7AB3
RGBrgb(126, 122, 179)
HSLhsl(244, 27%, 59%)
HSVhsv(244, 32%, 70%)
CMYKcmyk(29.6%, 31.8%, 0%, 29.8%)
CIE-LABlab(53.61, 14.66, -29.58)
CIE-LCHlch(53.61, 33.01, 296.36°)
OKLaboklab(60.57% 0.0247 -0.0821)
OKLCHoklch(60.57% 0.086 286.7)
XYZxyz(23.6983, 21.6088, 45.5614)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7AB3 #AFB37A
analogous
#7A93B3 #7E7AB3 #9B7AB3
triadic
#7E7AB3 #B37E7A #7AB37E
tetradic
#7E7AB3 #B37A93 #AFB37A #7AB39B
square
#7E7AB3 #B37A93 #AFB37A #7AB39B
split-complementary
#7E7AB3 #B39B7A #93B37A
monochromatic
#444172 #5C5799 #7E7AB3 #A4A1C9 #CAC8E0

Accessibility & contrast

On white

3.95
#7E7AB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7E7AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7AB3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7AB3#FFFFFF#000000##000000
##7E7AB31.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A82B5
Deuteranopia (green-blind)
#697FB2
Tritanopia (blue-blind)
#71848E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e7ab3;
/* rgb */ color: rgb(126, 122, 179);
/* oklch */ color: oklch(60.6% 0.086 286.7);
Tailwind
colors: {
  custom: {
    50: '#a5a0ca',
    500: '#7e7ab3',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ab3;
$custom-light: #a5a0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ab3",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 179
  },
  "hsl": {
    "h": 244.211,
    "s": 27.273,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60567,
    "c": 0.08579,
    "h": 286.7
  },
  "luminance": 0.21609
}

Semantic roles & 50–950 ramp

primary
#7E7AB3
secondary
#CED0B9
accent
#C464BD
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7E7AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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