#7E99FE#7E99FE

#7E99FE is a light, vivid blue. Relative luminance 0.344; OKLCH L 70.7% C 0.151 H 270.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7E99FE
RGBrgb(126, 153, 254)
HSLhsl(227, 98%, 75%)
HSVhsv(227, 50%, 100%)
CMYKcmyk(50.4%, 39.8%, 0%, 0.4%)
CIE-LABlab(65.26, 17.71, -53.26)
CIE-LCHlch(65.26, 56.12, 288.39°)
OKLaboklab(70.69% 0.0022 -0.1508)
OKLCHoklch(70.69% 0.151 270.8)
XYZxyz(37.8790, 34.3714, 98.3850)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E99FE #FEE37E
analogous
#7ED9FE #7E99FE #A37EFE
triadic
#7E99FE #FE7E99 #99FE7E
tetradic
#7E99FE #FE7ED9 #FEE37E #7EFEA3
square
#7E99FE #FE7ED9 #FEE37E #7EFEA3
split-complementary
#7E99FE #FEA37E #D9FE7E
monochromatic
#0539FD #4169FE #7E99FE #BBC9FE #E1E7FF

Accessibility & contrast

On white

2.67
#7E99FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#7E99FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E99FE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E99FE#FFFFFF#000000##000000
##7E99FE1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#6399FC
Tritanopia (blue-blind)
#45AFBF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7e99fe;
/* rgb */ color: rgb(126, 153, 254);
/* oklch */ color: oklch(70.7% 0.151 270.8);
Tailwind
colors: {
  custom: {
    50: '#aab6ff',
    500: '#7e99fe',
    950: '#000000',
  },
}
SCSS
$custom: #7e99fe;
$custom-light: #aab6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e99fe",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 227.344,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70688,
    "c": 0.15083,
    "h": 270.8
  },
  "luminance": 0.34374
}

Semantic roles & 50–950 ramp

primary
#7E99FE
secondary
#F7F0D4
accent
#B500E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111118
muted
#808086

Preview Lab

Preview with #7E99FE

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

Preview Lab → · Contrast checker → · Palette generator →

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