#7E77CD#7E77CD

#7E77CD is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.128 H 285.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7E77CD
RGBrgb(126, 119, 205)
HSLhsl(245, 46%, 64%)
HSVhsv(245, 42%, 80%)
CMYKcmyk(38.5%, 42%, 0%, 19.6%)
CIE-LABlab(54.07, 23.47, -43.73)
CIE-LCHlch(54.07, 49.63, 298.23°)
OKLaboklab(61.32% 0.0346 -0.1231)
OKLCHoklch(61.32% 0.128 285.7)
XYZxyz(26.2174, 22.0362, 60.6178)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E77CD #C6CD77
analogous
#779BCD #7E77CD #A977CD
triadic
#7E77CD #CD7E77 #77CD7E
tetradic
#7E77CD #CD779B #C6CD77 #77CDA9
square
#7E77CD #CD779B #C6CD77 #77CDA9
split-complementary
#7E77CD #CDA977 #9BCD77
monochromatic
#3E3693 #544ABD #7E77CD #A8A4DD #D3D0EE

Accessibility & contrast

On white

3.88
#7E77CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7E77CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E77CD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E77CD#FFFFFF#000000##000000
##7E77CD1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D0
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#688898
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e77cd;
/* rgb */ color: rgb(126, 119, 205);
/* oklch */ color: oklch(61.3% 0.128 285.7);
Tailwind
colors: {
  custom: {
    50: '#a69edc',
    500: '#7e77cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e77cd;
$custom-light: #a69edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e77cd",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 244.884,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61319,
    "c": 0.1279,
    "h": 285.7
  },
  "luminance": 0.22037
}

Semantic roles & 50–950 ramp

primary
#7E77CD
secondary
#DDDFC1
accent
#B92CAE
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E77CD

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

Preview Lab → · Contrast checker → · Palette generator →

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