#7E80EB#7E80EB

#7E80EB is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.8% C 0.157 H 280.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7E80EB
RGBrgb(126, 128, 235)
HSLhsl(239, 73%, 71%)
HSVhsv(239, 46%, 92%)
CMYKcmyk(46.4%, 45.5%, 0%, 7.8%)
CIE-LABlab(57.91, 26.74, -54.47)
CIE-LCHlch(57.91, 60.68, 296.15°)
OKLaboklab(64.76% 0.028 -0.1545)
OKLCHoklch(64.76% 0.157 280.3)
XYZxyz(31.3142, 25.8705, 81.9247)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E80EB #EBE97E
analogous
#7EB6EB #7E80EB #B27EEB
triadic
#7E80EB #EB7E80 #80EB7E
tetradic
#7E80EB #EB7EB6 #EBE97E #7EEBB2
square
#7E80EB #EB7EB6 #EBE97E #7EEBB2
split-complementary
#7E80EB #EBB27E #B6EB7E
monochromatic
#2023CF #494CE3 #7E80EB #B3B4F3 #E5E5FB

Accessibility & contrast

On white

3.40
#7E80EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7E80EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E80EB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E80EB#FFFFFF#000000##000000
##7E80EB1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEF
Deuteranopia (green-blind)
#4C87E9
Tritanopia (blue-blind)
#5896AA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e80eb;
/* rgb */ color: rgb(126, 128, 235);
/* oklch */ color: oklch(64.8% 0.157 280.3);
Tailwind
colors: {
  custom: {
    50: '#a9a4f2',
    500: '#7e80eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e80eb;
$custom-light: #a9a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e80eb",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 238.899,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64759,
    "c": 0.15704,
    "h": 280.3
  },
  "luminance": 0.25872
}

Semantic roles & 50–950 ramp

primary
#7E80EB
secondary
#F1F1D4
accent
#D210D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7E80EB

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

Preview Lab → · Contrast checker → · Palette generator →

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