#7E97EE#7E97EE

#7E97EE is a light, vivid blue. Relative luminance 0.327; OKLCH L 69.4% C 0.131 H 270.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7E97EE
RGBrgb(126, 151, 238)
HSLhsl(227, 77%, 71%)
HSVhsv(227, 47%, 93%)
CMYKcmyk(47.1%, 36.6%, 0%, 6.7%)
CIE-LABlab(63.95, 14.11, -46.56)
CIE-LCHlch(63.95, 48.65, 286.86°)
OKLaboklab(69.43% 0.0013 -0.1313)
OKLCHoklch(69.43% 0.131 270.5)
XYZxyz(35.0985, 32.7398, 85.3423)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97EE #EED57E
analogous
#7ECFEE #7E97EE #9D7EEE
triadic
#7E97EE #EE7E97 #97EE7E
tetradic
#7E97EE #EE7ECF #EED57E #7EEE9D
square
#7E97EE #EE7ECF #EED57E #7EEE9D
split-complementary
#7E97EE #EE9D7E #CFEE7E
monochromatic
#1C46D5 #486BE7 #7E97EE #B4C3F5 #E4E9FB

Accessibility & contrast

On white

2.78
#7E97EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#7E97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E97EE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E97EE#FFFFFF#000000##000000
##7E97EE1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F1
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#52A9B7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7e97ee;
/* rgb */ color: rgb(126, 151, 238);
/* oklch */ color: oklch(69.4% 0.131 270.5);
Tailwind
colors: {
  custom: {
    50: '#a9b5f4',
    500: '#7e97ee',
    950: '#000000',
  },
}
SCSS
$custom: #7e97ee;
$custom-light: #a9b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97ee",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 226.607,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69425,
    "c": 0.13128,
    "h": 270.5
  },
  "luminance": 0.32742
}

Semantic roles & 50–950 ramp

primary
#7E97EE
secondary
#F2ECD5
accent
#AB0DD9
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7E97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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