#7E97FF#7E97FF

#7E97FF is a light, vivid blue. Relative luminance 0.338; OKLCH L 70.3% C 0.155 H 271.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7E97FF
RGBrgb(126, 151, 255)
HSLhsl(228, 100%, 75%)
HSVhsv(228, 51%, 100%)
CMYKcmyk(50.6%, 40.8%, 0%, 0%)
CIE-LABlab(64.79, 19.18, -54.54)
CIE-LCHlch(64.79, 57.81, 289.37°)
OKLaboklab(70.35% 0.0046 -0.1546)
OKLCHoklch(70.35% 0.155 271.7)
XYZxyz(37.7150, 33.7864, 99.1224)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97FF #FFE67E
analogous
#7ED8FF #7E97FF #A67EFF
triadic
#7E97FF #FF7E97 #97FF7E
tetradic
#7E97FF #FF7ED8 #FFE67E #7EFFA6
square
#7E97FF #FF7ED8 #FFE67E #7EFFA6
split-complementary
#7E97FF #FFA67E #D8FF7E
monochromatic
#0434FF #4166FF #7E97FF #BBC8FF #E0E6FF

Accessibility & contrast

On white

2.71
#7E97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#7E97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E97FF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E97FF#FFFFFF#000000##000000
##7E97FF1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#5F98FD
Tritanopia (blue-blind)
#45ADBF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7e97ff;
/* rgb */ color: rgb(126, 151, 255);
/* oklch */ color: oklch(70.3% 0.155 271.7);
Tailwind
colors: {
  custom: {
    50: '#aab5ff',
    500: '#7e97ff',
    950: '#000000',
  },
}
SCSS
$custom: #7e97ff;
$custom-light: #aab5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97ff",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 228.372,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70349,
    "c": 0.15464,
    "h": 271.7
  },
  "luminance": 0.33789
}

Semantic roles & 50–950 ramp

primary
#7E97FF
secondary
#F7F0D4
accent
#B900E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #7E97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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