#7E8EF3#7E8EF3

#7E8EF3 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.9% C 0.150 H 274.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7E8EF3
RGBrgb(126, 142, 243)
HSLhsl(232, 83%, 72%)
HSVhsv(232, 48%, 95%)
CMYKcmyk(48.1%, 41.6%, 0%, 4.7%)
CIE-LABlab(61.87, 20.85, -52.60)
CIE-LCHlch(61.87, 56.58, 291.62°)
OKLaboklab(67.91% 0.0128 -0.149)
OKLCHoklch(67.91% 0.15 274.9)
XYZxyz(34.4498, 30.2507, 88.8003)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8EF3 #F3E37E
analogous
#7EC8F3 #7E8EF3 #A97EF3
triadic
#7E8EF3 #F37E8E #8EF37E
tetradic
#7E8EF3 #F37EC8 #F3E37E #7EF3A9
square
#7E8EF3 #F37EC8 #F3E37E #7EF3A9
split-complementary
#7E8EF3 #F3A97E #C8F37E
monochromatic
#1531E2 #465DEE #7E8EF3 #B6BFF8 #E3E6FC

Accessibility & contrast

On white

2.98
#7E8EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#7E8EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E8EF3
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8EF3#FFFFFF#000000##000000
##7E8EF31.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF7
Deuteranopia (green-blind)
#5B91F1
Tritanopia (blue-blind)
#50A3B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7e8ef3;
/* rgb */ color: rgb(126, 142, 243);
/* oklch */ color: oklch(67.9% 0.150 274.9);
Tailwind
colors: {
  custom: {
    50: '#a9aef7',
    500: '#7e8ef3',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ef3;
$custom-light: #a9aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ef3",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 231.795,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67909,
    "c": 0.14952,
    "h": 274.9
  },
  "luminance": 0.30253
}

Semantic roles & 50–950 ramp

primary
#7E8EF3
secondary
#F4F0D7
accent
#C206DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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