#7B77DC#7B77DC

#7B77DC is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.149 H 282.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7B77DC
RGBrgb(123, 119, 220)
HSLhsl(242, 59%, 66%)
HSVhsv(242, 46%, 86%)
CMYKcmyk(44.1%, 45.9%, 0%, 13.7%)
CIE-LABlab(54.63, 26.99, -51.33)
CIE-LCHlch(54.63, 57.99, 297.74°)
OKLaboklab(61.95% 0.0334 -0.1454)
OKLCHoklch(61.95% 0.149 282.9)
XYZxyz(27.6797, 22.5707, 70.5944)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B77DC #D8DC77
analogous
#77A6DC #7B77DC #AE77DC
triadic
#7B77DC #DC7B77 #77DC7B
tetradic
#7B77DC #DC77A6 #D8DC77 #77DCAE
square
#7B77DC #DC77A6 #D8DC77 #77DCAE
split-complementary
#7B77DC #DCAE77 #A6DC77
monochromatic
#312CAC #4C46CF #7B77DC #AAA8E9 #D9D8F5

Accessibility & contrast

On white

3.81
#7B77DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7B77DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B77DC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B77DC#FFFFFF#000000##000000
##7B77DC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86E0
Deuteranopia (green-blind)
#4A7FDA
Tritanopia (blue-blind)
#5C8C9F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b77dc;
/* rgb */ color: rgb(123, 119, 220);
/* oklch */ color: oklch(61.9% 0.149 282.9);
Tailwind
colors: {
  custom: {
    50: '#a69ee7',
    500: '#7b77dc',
    950: '#000000',
  },
}
SCSS
$custom: #7b77dc;
$custom-light: #a69ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b77dc",
  "rgb": {
    "r": 123,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 242.376,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61946,
    "c": 0.14922,
    "h": 282.9
  },
  "luminance": 0.22572
}

Semantic roles & 50–950 ramp

primary
#7B77DC
secondary
#E6E8C7
accent
#C71FC0
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7B77DC

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

Preview Lab → · Contrast checker → · Palette generator →

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