#7E97FB#7E97FB

#7E97FB is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.1% C 0.149 H 271.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7E97FB
RGBrgb(126, 151, 251)
HSLhsl(228, 94%, 74%)
HSVhsv(228, 50%, 98%)
CMYKcmyk(49.8%, 39.8%, 0%, 1.6%)
CIE-LABlab(64.59, 17.97, -52.68)
CIE-LCHlch(64.59, 55.66, 288.84°)
OKLaboklab(70.13% 0.0039 -0.1491)
OKLCHoklch(70.13% 0.149 271.5)
XYZxyz(37.0778, 33.5315, 95.7665)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97FB #FBE27E
analogous
#7ED6FB #7E97FB #A47EFB
triadic
#7E97FB #FB7E97 #97FB7E
tetradic
#7E97FB #FB7ED6 #FBE27E #7EFBA4
square
#7E97FB #FB7ED6 #FBE27E #7EFBA4
split-complementary
#7E97FB #FBA47E #D6FB7E
monochromatic
#0838F7 #4367F9 #7E97FB #B9C7FD #E1E7FE

Accessibility & contrast

On white

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

On black

7.71
#7E97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E97FB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E97FB#FFFFFF#000000##000000
##7E97FB1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#6298F9
Tritanopia (blue-blind)
#49ACBD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7e97fb;
/* rgb */ color: rgb(126, 151, 251);
/* oklch */ color: oklch(70.1% 0.149 271.5);
Tailwind
colors: {
  custom: {
    50: '#aab5fd',
    500: '#7e97fb',
    950: '#000000',
  },
}
SCSS
$custom: #7e97fb;
$custom-light: #aab5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97fb",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 228,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70126,
    "c": 0.14918,
    "h": 271.5
  },
  "luminance": 0.33534
}

Semantic roles & 50–950 ramp

primary
#7E97FB
secondary
#F6F0D5
accent
#B800E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7E97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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