#7E97FD#7E97FD

#7E97FD is a light, vivid blue. Relative luminance 0.337; OKLCH L 70.2% C 0.152 H 271.6°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7E97FD
RGBrgb(126, 151, 253)
HSLhsl(228, 97%, 74%)
HSVhsv(228, 50%, 99%)
CMYKcmyk(50.2%, 40.3%, 0%, 0.8%)
CIE-LABlab(64.69, 18.57, -53.61)
CIE-LCHlch(64.69, 56.73, 289.11°)
OKLaboklab(70.24% 0.0043 -0.1519)
OKLCHoklch(70.24% 0.152 271.6)
XYZxyz(37.3947, 33.6583, 97.4357)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97FD #FDE47E
analogous
#7ED7FD #7E97FD #A57EFD
triadic
#7E97FD #FD7E97 #97FD7E
tetradic
#7E97FD #FD7ED7 #FDE47E #7EFDA5
square
#7E97FD #FD7ED7 #FDE47E #7EFDA5
split-complementary
#7E97FD #FDA57E #D7FD7E
monochromatic
#0536FB #4266FC #7E97FD #BAC8FE #E1E7FF

Accessibility & contrast

On white

2.72
#7E97FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#7E97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E97FD
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E97FD#FFFFFF#000000##000000
##7E97FD1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#47ADBE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7e97fd;
/* rgb */ color: rgb(126, 151, 253);
/* oklch */ color: oklch(70.2% 0.152 271.6);
Tailwind
colors: {
  custom: {
    50: '#aab5fe',
    500: '#7e97fd',
    950: '#000000',
  },
}
SCSS
$custom: #7e97fd;
$custom-light: #aab5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97fd",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 228.189,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70237,
    "c": 0.15191,
    "h": 271.6
  },
  "luminance": 0.33661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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