#7E8FEE#7E8FEE

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

Color values

HEX#7E8FEE
RGBrgb(126, 143, 238)
HSLhsl(231, 77%, 71%)
HSVhsv(231, 47%, 93%)
CMYKcmyk(47.1%, 39.9%, 0%, 6.7%)
CIE-LABlab(61.87, 18.78, -49.84)
CIE-LCHlch(61.87, 53.26, 290.64°)
OKLaboklab(67.83% 0.0107 -0.1409)
OKLCHoklch(67.83% 0.141 274.4)
XYZxyz(33.8544, 30.2517, 84.9276)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8FEE #EEDD7E
analogous
#7EC7EE #7E8FEE #A57EEE
triadic
#7E8FEE #EE7E8F #8FEE7E
tetradic
#7E8FEE #EE7EC7 #EEDD7E #7EEEA5
square
#7E8FEE #EE7EC7 #EEDD7E #7EEEA5
split-complementary
#7E8FEE #EEA57E #C7EE7E
monochromatic
#1C38D5 #4860E7 #7E8FEE #B4BEF5 #E4E8FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E8FEE#FFFFFF#000000##000000
##7E8FEE1.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)
#6B9AF2
Deuteranopia (green-blind)
#6091EC
Tritanopia (blue-blind)
#54A3B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7e8fee;
/* rgb */ color: rgb(126, 143, 238);
/* oklch */ color: oklch(67.8% 0.141 274.4);
Tailwind
colors: {
  custom: {
    50: '#a9aff4',
    500: '#7e8fee',
    950: '#000000',
  },
}
SCSS
$custom: #7e8fee;
$custom-light: #a9aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8fee",
  "rgb": {
    "r": 126,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 230.893,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67826,
    "c": 0.14131,
    "h": 274.4
  },
  "luminance": 0.30254
}

Semantic roles & 50–950 ramp

primary
#7E8FEE
secondary
#F2EED5
accent
#BA0DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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