#7A77E2#7A77E2

#7A77E2 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.2% C 0.158 H 282.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7A77E2
RGBrgb(122, 119, 226)
HSLhsl(242, 65%, 68%)
HSVhsv(242, 47%, 89%)
CMYKcmyk(46%, 47.3%, 0%, 11.4%)
CIE-LABlab(54.89, 28.51, -54.29)
CIE-LCHlch(54.89, 61.32, 297.71°)
OKLaboklab(62.23% 0.0329 -0.1541)
OKLCHoklch(62.23% 0.158 282.1)
XYZxyz(28.3462, 22.8208, 74.8480)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A77E2 #DFE277
analogous
#77AAE2 #7A77E2 #AF77E2
triadic
#7A77E2 #E27A77 #77E27A
tetradic
#7A77E2 #E277AA #DFE277 #77E2AF
square
#7A77E2 #E277AA #DFE277 #77E2AF
split-complementary
#7A77E2 #E2AF77 #AAE277
monochromatic
#2B27B7 #4945D7 #7A77E2 #ABA9ED #DDDCF8

Accessibility & contrast

On white

3.77
#7A77E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7A77E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A77E2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A77E2#FFFFFF#000000##000000
##7A77E21.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A87E6
Deuteranopia (green-blind)
#4380E0
Tritanopia (blue-blind)
#578EA2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7a77e2;
/* rgb */ color: rgb(122, 119, 226);
/* oklch */ color: oklch(62.2% 0.158 282.1);
Tailwind
colors: {
  custom: {
    50: '#a69eec',
    500: '#7a77e2',
    950: '#000000',
  },
}
SCSS
$custom: #7a77e2;
$custom-light: #a69eec;
$custom-dark: #000000;
JSON
{
  "hex": "#7a77e2",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 226
  },
  "hsl": {
    "h": 241.682,
    "s": 64.848,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62232,
    "c": 0.15763,
    "h": 282.1
  },
  "luminance": 0.22822
}

Semantic roles & 50–950 ramp

primary
#7A77E2
secondary
#EAEBCA
accent
#CD19C8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7A77E2

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

Preview Lab → · Contrast checker → · Palette generator →

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