#7E9EFE#7E9EFE

#7E9EFE is a light, vivid blue. Relative luminance 0.360; OKLCH L 71.7% C 0.145 H 268.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7E9EFE
RGBrgb(126, 158, 254)
HSLhsl(225, 98%, 75%)
HSVhsv(225, 50%, 100%)
CMYKcmyk(50.4%, 37.8%, 0%, 0.4%)
CIE-LABlab(66.55, 14.81, -51.20)
CIE-LCHlch(66.55, 53.30, 286.13°)
OKLaboklab(71.69% -0.0034 -0.1448)
OKLCHoklch(71.69% 0.145 268.6)
XYZxyz(38.7146, 36.0425, 98.6636)
Luminance0.3604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9EFE #FEDE7E
analogous
#7EDEFE #7E9EFE #9E7EFE
triadic
#7E9EFE #FE7E9E #9EFE7E
tetradic
#7E9EFE #FE7EDE #FEDE7E #7EFE9E
square
#7E9EFE #FE7EDE #FEDE7E #7EFE9E
split-complementary
#7E9EFE #FE9E7E #DEFE7E
monochromatic
#0543FD #4170FE #7E9EFE #BBCCFE #E1E8FF

Accessibility & contrast

On white

2.56
#7E9EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#7E9EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E9EFE
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9EFE#FFFFFF#000000##000000
##7E9EFE1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#6A9DFC
Tritanopia (blue-blind)
#44B3C2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7e9efe;
/* rgb */ color: rgb(126, 158, 254);
/* oklch */ color: oklch(71.7% 0.145 268.6);
Tailwind
colors: {
  custom: {
    50: '#aabaff',
    500: '#7e9efe',
    950: '#000000',
  },
}
SCSS
$custom: #7e9efe;
$custom-light: #aabaff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9efe",
  "rgb": {
    "r": 126,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 225,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71686,
    "c": 0.14482,
    "h": 268.6
  },
  "luminance": 0.36045
}

Semantic roles & 50–950 ramp

primary
#7E9EFE
secondary
#F7EED4
accent
#AC00E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111118
muted
#808086

Preview Lab

Preview with #7E9EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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