#7E8EF1#7E8EF1

#7E8EF1 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.8% C 0.147 H 274.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7E8EF1
RGBrgb(126, 142, 241)
HSLhsl(232, 80%, 72%)
HSVhsv(232, 48%, 95%)
CMYKcmyk(47.7%, 41.1%, 0%, 5.5%)
CIE-LABlab(61.77, 20.25, -51.66)
CIE-LCHlch(61.77, 55.49, 291.41°)
OKLaboklab(67.8% 0.0125 -0.1462)
OKLCHoklch(67.8% 0.147 274.9)
XYZxyz(34.1494, 30.1305, 87.2184)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8EF1 #F1E17E
analogous
#7EC8F1 #7E8EF1 #A87EF1
triadic
#7E8EF1 #F17E8E #8EF17E
tetradic
#7E8EF1 #F17EC8 #F1E17E #7EF1A8
square
#7E8EF1 #F17EC8 #F1E17E #7EF1A8
split-complementary
#7E8EF1 #F1A87E #C8F17E
monochromatic
#1833DD #475EEB #7E8EF1 #B5BEF7 #E3E7FC

Accessibility & contrast

On white

2.99
#7E8EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7E8EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E8EF1
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8EF1#FFFFFF#000000##000000
##7E8EF11.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF5
Deuteranopia (green-blind)
#5D91EF
Tritanopia (blue-blind)
#52A3B4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7e8ef1;
/* rgb */ color: rgb(126, 142, 241);
/* oklch */ color: oklch(67.8% 0.147 274.9);
Tailwind
colors: {
  custom: {
    50: '#a9aef6',
    500: '#7e8ef1',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ef1;
$custom-light: #a9aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ef1",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 241
  },
  "hsl": {
    "h": 231.652,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67796,
    "c": 0.14675,
    "h": 274.9
  },
  "luminance": 0.30132
}

Semantic roles & 50–950 ramp

primary
#7E8EF1
secondary
#F4F0D7
accent
#BF09DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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