#7E8EF5#7E8EF5

#7E8EF5 is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.0% C 0.152 H 275.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7E8EF5
RGBrgb(126, 142, 245)
HSLhsl(232, 86%, 73%)
HSVhsv(232, 49%, 96%)
CMYKcmyk(48.6%, 42%, 0%, 3.9%)
CIE-LABlab(61.97, 21.44, -53.54)
CIE-LCHlch(61.97, 57.67, 291.83°)
OKLaboklab(68.02% 0.0132 -0.1517)
OKLCHoklch(68.02% 0.152 275)
XYZxyz(34.7534, 30.3721, 90.3996)
Luminance0.3037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8EF5 #F5E57E
analogous
#7EC9F5 #7E8EF5 #AA7EF5
triadic
#7E8EF5 #F57E8E #8EF57E
tetradic
#7E8EF5 #F57EC9 #F5E57E #7EF5AA
square
#7E8EF5 #F57EC9 #F5E57E #7EF5AA
split-complementary
#7E8EF5 #F5AA7E #C9F57E
monochromatic
#122EE7 #455CF1 #7E8EF5 #B7C0F9 #E3E6FD

Accessibility & contrast

On white

2.97
#7E8EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#7E8EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E8EF5
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8EF5#FFFFFF#000000##000000
##7E8EF51.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF9
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#4FA4B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7e8ef5;
/* rgb */ color: rgb(126, 142, 245);
/* oklch */ color: oklch(68.0% 0.152 275.0);
Tailwind
colors: {
  custom: {
    50: '#aaaef9',
    500: '#7e8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ef5;
$custom-light: #aaaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ef5",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 231.933,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68022,
    "c": 0.15228,
    "h": 275
  },
  "luminance": 0.30374
}

Semantic roles & 50–950 ramp

primary
#7E8EF5
secondary
#F5F1D6
accent
#C403E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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