#7A77CA#7A77CA

#7A77CA is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.8% C 0.124 H 283.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7A77CA
RGBrgb(122, 119, 202)
HSLhsl(242, 44%, 63%)
HSVhsv(242, 41%, 79%)
CMYKcmyk(39.6%, 41.1%, 0%, 20.8%)
CIE-LABlab(53.59, 21.58, -42.79)
CIE-LCHlch(53.59, 47.92, 296.76°)
OKLaboklab(60.83% 0.0294 -0.1205)
OKLCHoklch(60.83% 0.124 283.7)
XYZxyz(25.2805, 21.5946, 58.7018)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A77CA #C7CA77
analogous
#779DCA #7A77CA #A377CA
triadic
#7A77CA #CA7A77 #77CA7A
tetradic
#7A77CA #CA779D #C7CA77 #77CAA3
square
#7A77CA #CA779D #C7CA77 #77CAA3
split-complementary
#7A77CA #CAA377 #9DCA77
monochromatic
#3B388F #4F4BB9 #7A77CA #A5A3DB #D0CFEC

Accessibility & contrast

On white

3.95
#7A77CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7A77CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A77CA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A77CA#FFFFFF#000000##000000
##7A77CA1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CD
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#638797
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a77ca;
/* rgb */ color: rgb(122, 119, 202);
/* oklch */ color: oklch(60.8% 0.124 283.7);
Tailwind
colors: {
  custom: {
    50: '#a49eda',
    500: '#7a77ca',
    950: '#000000',
  },
}
SCSS
$custom: #7a77ca;
$custom-light: #a49eda;
$custom-dark: #000000;
JSON
{
  "hex": "#7a77ca",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 242.169,
    "s": 43.915,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60832,
    "c": 0.12402,
    "h": 283.7
  },
  "luminance": 0.21595
}

Semantic roles & 50–950 ramp

primary
#7A77CA
secondary
#DCDDBF
accent
#B72EB2
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7A77CA

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

Preview Lab → · Contrast checker → · Palette generator →

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