#7E77BF#7E77BF

#7E77BF is a mid, moderate blue. Relative luminance 0.214; OKLCH L 60.6% C 0.108 H 287.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7E77BF
RGBrgb(126, 119, 191)
HSLhsl(246, 36%, 61%)
HSVhsv(246, 38%, 75%)
CMYKcmyk(34%, 37.7%, 0%, 25.1%)
CIE-LABlab(53.37, 19.63, -36.83)
CIE-LCHlch(53.37, 41.74, 298.05°)
OKLaboklab(60.57% 0.0319 -0.1031)
OKLCHoklch(60.57% 0.108 287.2)
XYZxyz(24.6025, 21.3902, 52.1126)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E77BF #B8BF77
analogous
#7794BF #7E77BF #A277BF
triadic
#7E77BF #BF7E77 #77BF7E
tetradic
#7E77BF #BF7794 #B8BF77 #77BFA2
square
#7E77BF #BF7794 #B8BF77 #77BFA2
split-complementary
#7E77BF #BFA277 #94BF77
monochromatic
#433C80 #5850A9 #7E77BF #A5A1D3 #CDCAE6

Accessibility & contrast

On white

3.98
#7E77BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7E77BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E77BF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E77BF#FFFFFF#000000##000000
##7E77BF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C2
Deuteranopia (green-blind)
#607EBD
Tritanopia (blue-blind)
#6E8492
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e77bf;
/* rgb */ color: rgb(126, 119, 191);
/* oklch */ color: oklch(60.6% 0.108 287.2);
Tailwind
colors: {
  custom: {
    50: '#a59ed2',
    500: '#7e77bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e77bf;
$custom-light: #a59ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e77bf",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 191
  },
  "hsl": {
    "h": 245.833,
    "s": 36,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60566,
    "c": 0.1079,
    "h": 287.2
  },
  "luminance": 0.21391
}

Semantic roles & 50–950 ramp

primary
#7E77BF
secondary
#D4D7BB
accent
#AF37A3
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E77BF

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

Preview Lab → · Contrast checker → · Palette generator →

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