#7E77EB#7E77EB

#7E77EB is a light, vivid blue. Relative luminance 0.236; OKLCH L 63.1% C 0.169 H 283.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7E77EB
RGBrgb(126, 119, 235)
HSLhsl(244, 74%, 69%)
HSVhsv(244, 49%, 92%)
CMYKcmyk(46.4%, 49.4%, 0%, 7.8%)
CIE-LABlab(55.71, 32.06, -57.99)
CIE-LCHlch(55.71, 66.26, 298.93°)
OKLaboklab(63.1% 0.0385 -0.1649)
OKLCHoklch(63.1% 0.169 283.1)
XYZxyz(30.1920, 23.6260, 81.5506)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E77EB #E4EB77
analogous
#77AAEB #7E77EB #B877EB
triadic
#7E77EB #EB7E77 #77EB7E
tetradic
#7E77EB #EB77AA #E4EB77 #77EBB8
square
#7E77EB #EB77AA #E4EB77 #77EBB8
split-complementary
#7E77EB #EBB877 #AAEB77
monochromatic
#281ECA #4B42E3 #7E77EB #B1ACF3 #E3E2FB

Accessibility & contrast

On white

3.67
#7E77EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#7E77EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E77EB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E77EB#FFFFFF#000000##000000
##7E77EB1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EF
Deuteranopia (green-blind)
#3D82E8
Tritanopia (blue-blind)
#5990A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e77eb;
/* rgb */ color: rgb(126, 119, 235);
/* oklch */ color: oklch(63.1% 0.169 283.1);
Tailwind
colors: {
  custom: {
    50: '#a99ef2',
    500: '#7e77eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e77eb;
$custom-light: #a99ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e77eb",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 243.621,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63097,
    "c": 0.16934,
    "h": 283.1
  },
  "luminance": 0.23627
}

Semantic roles & 50–950 ramp

primary
#7E77EB
secondary
#EEF0CE
accent
#D60FCA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7E77EB

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

Preview Lab → · Contrast checker → · Palette generator →

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