#7E77BB#7E77BB

#7E77BB is a mid, moderate blue. Relative luminance 0.212; OKLCH L 60.4% C 0.102 H 287.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7E77BB
RGBrgb(126, 119, 187)
HSLhsl(246, 33%, 60%)
HSVhsv(246, 36%, 73%)
CMYKcmyk(32.6%, 36.4%, 0%, 26.7%)
CIE-LABlab(53.19, 18.55, -34.84)
CIE-LCHlch(53.19, 39.47, 298.04°)
OKLaboklab(60.36% 0.031 -0.0973)
OKLCHoklch(60.36% 0.102 287.6)
XYZxyz(24.1683, 21.2165, 49.8259)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E77BB #B4BB77
analogous
#7792BB #7E77BB #A077BB
triadic
#7E77BB #BB7E77 #77BB7E
tetradic
#7E77BB #BB7792 #B4BB77 #77BBA0
square
#7E77BB #BB7792 #B4BB77 #77BBA0
split-complementary
#7E77BB #BBA077 #92BB77
monochromatic
#433D7A #5A52A3 #7E77BB #A5A0CF #CBC9E4

Accessibility & contrast

On white

4.01
#7E77BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7E77BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E77BB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E77BB#FFFFFF#000000##000000
##7E77BB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BE
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#6F8390
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e77bb;
/* rgb */ color: rgb(126, 119, 187);
/* oklch */ color: oklch(60.4% 0.102 287.6);
Tailwind
colors: {
  custom: {
    50: '#a59ecf',
    500: '#7e77bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e77bb;
$custom-light: #a59ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e77bb",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 246.176,
    "s": 33.333,
    "l": 60
  },
  "oklch": {
    "l": 0.6036,
    "c": 0.1021,
    "h": 287.6
  },
  "luminance": 0.21217
}

Semantic roles & 50–950 ramp

primary
#7E77BB
secondary
#D1D4BA
accent
#C95EBE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E77BB

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

Preview Lab → · Contrast checker → · Palette generator →

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