#7E99EC#7E99EC

#7E99EC is a light, vivid blue. Relative luminance 0.333; OKLCH L 69.7% C 0.126 H 269.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7E99EC
RGBrgb(126, 153, 236)
HSLhsl(225, 74%, 71%)
HSVhsv(225, 47%, 93%)
CMYKcmyk(46.6%, 35.2%, 0%, 7.5%)
CIE-LABlab(64.38, 12.36, -44.78)
CIE-LCHlch(64.38, 46.45, 285.43°)
OKLaboklab(69.73% -0.0016 -0.1261)
OKLCHoklch(69.73% 0.126 269.3)
XYZxyz(35.1309, 33.2721, 83.9116)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E99EC #ECD17E
analogous
#7ED0EC #7E99EC #9A7EEC
triadic
#7E99EC #EC7E99 #99EC7E
tetradic
#7E99EC #EC7ED0 #ECD17E #7EEC9A
square
#7E99EC #EC7ED0 #ECD17E #7EEC9A
split-complementary
#7E99EC #EC9A7E #D0EC7E
monochromatic
#1F4AD1 #496FE4 #7E99EC #B3C3F4 #E4EAFB

Accessibility & contrast

On white

2.74
#7E99EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#7E99EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E99EC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E99EC#FFFFFF#000000##000000
##7E99EC1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EF
Deuteranopia (green-blind)
#6F98EA
Tritanopia (blue-blind)
#53AAB7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7e99ec;
/* rgb */ color: rgb(126, 153, 236);
/* oklch */ color: oklch(69.7% 0.126 269.3);
Tailwind
colors: {
  custom: {
    50: '#a8b6f2',
    500: '#7e99ec',
    950: '#000000',
  },
}
SCSS
$custom: #7e99ec;
$custom-light: #a8b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e99ec",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 225.273,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69727,
    "c": 0.12609,
    "h": 269.3
  },
  "luminance": 0.33274
}

Semantic roles & 50–950 ramp

primary
#7E99EC
secondary
#F2EAD4
accent
#A60FD6
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7E99EC

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

Preview Lab → · Contrast checker → · Palette generator →

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