#7E77BA#7E77BA

#7E77BA is a mid, moderate blue. Relative luminance 0.212; OKLCH L 60.3% C 0.101 H 287.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7E77BA
RGBrgb(126, 119, 186)
HSLhsl(246, 33%, 60%)
HSVhsv(246, 36%, 73%)
CMYKcmyk(32.3%, 36%, 0%, 27.1%)
CIE-LABlab(53.14, 18.29, -34.33)
CIE-LCHlch(53.14, 38.90, 298.04°)
OKLaboklab(60.31% 0.0307 -0.0958)
OKLCHoklch(60.31% 0.101 287.8)
XYZxyz(24.0616, 21.1739, 49.2641)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E77BA #B3BA77
analogous
#7791BA #7E77BA #A077BA
triadic
#7E77BA #BA7E77 #77BA7E
tetradic
#7E77BA #BA7791 #B3BA77 #77BAA0
square
#7E77BA #BA7791 #B3BA77 #77BAA0
split-complementary
#7E77BA #BAA077 #91BA77
monochromatic
#443D79 #5A52A2 #7E77BA #A5A0CF #CBC8E3

Accessibility & contrast

On white

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

On black

5.23
#7E77BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E77BA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E77BA#FFFFFF#000000##000000
##7E77BA1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6380BD
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#6F8390
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e77ba;
/* rgb */ color: rgb(126, 119, 186);
/* oklch */ color: oklch(60.3% 0.101 287.8);
Tailwind
colors: {
  custom: {
    50: '#a59ecf',
    500: '#7e77ba',
    950: '#000000',
  },
}
SCSS
$custom: #7e77ba;
$custom-light: #a59ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e77ba",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 186
  },
  "hsl": {
    "h": 246.269,
    "s": 32.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6031,
    "c": 0.10065,
    "h": 287.8
  },
  "luminance": 0.21174
}

Semantic roles & 50–950 ramp

primary
#7E77BA
secondary
#D1D3B9
accent
#C95FBE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E77BA

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

Preview Lab → · Contrast checker → · Palette generator →

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