#7E77CA#7E77CA

#7E77CA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.124 H 286.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7E77CA
RGBrgb(126, 119, 202)
HSLhsl(245, 44%, 63%)
HSVhsv(245, 41%, 79%)
CMYKcmyk(37.6%, 41.1%, 0%, 20.8%)
CIE-LABlab(53.91, 22.64, -42.26)
CIE-LCHlch(53.91, 47.94, 298.17°)
OKLaboklab(61.15% 0.034 -0.1189)
OKLCHoklch(61.15% 0.124 286)
XYZxyz(25.8587, 21.8927, 58.7289)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E77CA #C3CA77
analogous
#7799CA #7E77CA #A777CA
triadic
#7E77CA #CA7E77 #77CA7E
tetradic
#7E77CA #CA7799 #C3CA77 #77CAA7
square
#7E77CA #CA7799 #C3CA77 #77CAA7
split-complementary
#7E77CA #CAA777 #99CA77
monochromatic
#3F388F #544BB9 #7E77CA #A8A3DB #D2CFEC

Accessibility & contrast

On white

3.90
#7E77CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7E77CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E77CA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E77CA#FFFFFF#000000##000000
##7E77CA1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#597FC8
Tritanopia (blue-blind)
#698797
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e77ca;
/* rgb */ color: rgb(126, 119, 202);
/* oklch */ color: oklch(61.2% 0.124 286.0);
Tailwind
colors: {
  custom: {
    50: '#a69eda',
    500: '#7e77ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e77ca;
$custom-light: #a69eda;
$custom-dark: #000000;
JSON
{
  "hex": "#7e77ca",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 245.06,
    "s": 43.915,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61154,
    "c": 0.12365,
    "h": 286
  },
  "luminance": 0.21894
}

Semantic roles & 50–950 ramp

primary
#7E77CA
secondary
#DBDDBF
accent
#B72EAC
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E77CA

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

Preview Lab → · Contrast checker → · Palette generator →

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