#7E7EF8#7E7EF8

#7E7EF8 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.2% C 0.177 H 280.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7E7EF8
RGBrgb(126, 126, 248)
HSLhsl(240, 90%, 73%)
HSVhsv(240, 49%, 97%)
CMYKcmyk(49.2%, 49.2%, 0%, 2.7%)
CIE-LABlab(58.16, 31.77, -61.27)
CIE-LCHlch(58.16, 69.02, 297.40°)
OKLaboklab(65.19% 0.0317 -0.1745)
OKLCHoklch(65.19% 0.177 280.3)
XYZxyz(33.0031, 26.1328, 92.0939)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7EF8 #F8F87E
analogous
#7EBBF8 #7E7EF8 #BB7EF8
triadic
#7E7EF8 #F87E7E #7EF87E
tetradic
#7E7EF8 #F87EBB #F8F87E #7EF8BB
square
#7E7EF8 #F87EBB #F8F87E #7EF8BB
split-complementary
#7E7EF8 #F8BB7E #BBF87E
monochromatic
#0D0DEF #4444F5 #7E7EF8 #B8B8FB #E2E2FD

Accessibility & contrast

On white

3.37
#7E7EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#7E7EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7EF8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7EF8#FFFFFF#000000##000000
##7E7EF81.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4591FC
Deuteranopia (green-blind)
#3A87F5
Tritanopia (blue-blind)
#4F99AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e7ef8;
/* rgb */ color: rgb(126, 126, 248);
/* oklch */ color: oklch(65.2% 0.177 280.3);
Tailwind
colors: {
  custom: {
    50: '#aba3fb',
    500: '#7e7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ef8;
$custom-light: #aba3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ef8",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 240,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65185,
    "c": 0.17737,
    "h": 280.3
  },
  "luminance": 0.26135
}

Semantic roles & 50–950 ramp

primary
#7E7EF8
secondary
#F6F6D5
accent
#E600E5
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7E7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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