#7E77C7#7E77C7

#7E77C7 is a mid, moderate blue. Relative luminance 0.218; OKLCH L 61.0% C 0.119 H 286.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7E77C7
RGBrgb(126, 119, 199)
HSLhsl(245, 42%, 62%)
HSVhsv(245, 40%, 78%)
CMYKcmyk(36.7%, 40.2%, 0%, 22%)
CIE-LABlab(53.76, 21.81, -40.79)
CIE-LCHlch(53.76, 46.26, 298.13°)
OKLaboklab(60.99% 0.0335 -0.1146)
OKLCHoklch(60.99% 0.119 286.3)
XYZxyz(25.5070, 21.7520, 56.8764)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E77C7 #C0C777
analogous
#7798C7 #7E77C7 #A677C7
triadic
#7E77C7 #C77E77 #77C77E
tetradic
#7E77C7 #C77798 #C0C777 #77C7A6
square
#7E77C7 #C77798 #C0C777 #77C7A6
split-complementary
#7E77C7 #C7A677 #98C777
monochromatic
#40398B #554CB5 #7E77C7 #A7A2D9 #D0CEEB

Accessibility & contrast

On white

3.92
#7E77C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7E77C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E77C7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E77C7#FFFFFF#000000##000000
##7E77C71.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#5B7EC5
Tritanopia (blue-blind)
#6B8695
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e77c7;
/* rgb */ color: rgb(126, 119, 199);
/* oklch */ color: oklch(61.0% 0.119 286.3);
Tailwind
colors: {
  custom: {
    50: '#a69ed8',
    500: '#7e77c7',
    950: '#000000',
  },
}
SCSS
$custom: #7e77c7;
$custom-light: #a69ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e77c7",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 199
  },
  "hsl": {
    "h": 245.25,
    "s": 41.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.11938,
    "h": 286.3
  },
  "luminance": 0.21753
}

Semantic roles & 50–950 ramp

primary
#7E77C7
secondary
#D9DCBE
accent
#B531A9
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #7E77C7

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

Preview Lab → · Contrast checker → · Palette generator →

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