#7E97F7#7E97F7

#7E97F7 is a light, vivid blue. Relative luminance 0.333; OKLCH L 69.9% C 0.144 H 271.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7E97F7
RGBrgb(126, 151, 247)
HSLhsl(228, 88%, 73%)
HSVhsv(228, 49%, 97%)
CMYKcmyk(49%, 38.9%, 0%, 3.1%)
CIE-LABlab(64.39, 16.77, -50.80)
CIE-LCHlch(64.39, 53.50, 288.27°)
OKLaboklab(69.91% 0.0031 -0.1437)
OKLCHoklch(69.91% 0.144 271.3)
XYZxyz(36.4539, 33.2820, 92.4808)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97F7 #F7DE7E
analogous
#7ED4F7 #7E97F7 #A17EF7
triadic
#7E97F7 #F77E97 #97F77E
tetradic
#7E97F7 #F77ED4 #F7DE7E #7EF7A1
square
#7E97F7 #F77ED4 #F7DE7E #7EF7A1
split-complementary
#7E97F7 #F7A17E #D4F77E
monochromatic
#0F3CEC #4469F3 #7E97F7 #B8C5FB #E2E8FD

Accessibility & contrast

On white

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

On black

7.66
#7E97F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E97F7
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E97F7#FFFFFF#000000##000000
##7E97F71.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#6597F5
Tritanopia (blue-blind)
#4CABBB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7e97f7;
/* rgb */ color: rgb(126, 151, 247);
/* oklch */ color: oklch(69.9% 0.144 271.3);
Tailwind
colors: {
  custom: {
    50: '#aab5fa',
    500: '#7e97f7',
    950: '#000000',
  },
}
SCSS
$custom: #7e97f7;
$custom-light: #aab5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97f7",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 227.603,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69907,
    "c": 0.14369,
    "h": 271.3
  },
  "luminance": 0.33284
}

Semantic roles & 50–950 ramp

primary
#7E97F7
secondary
#F5EFD6
accent
#B601E5
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7E97F7

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

Preview Lab → · Contrast checker → · Palette generator →

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