#7E97F8#7E97F8

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

Color values

HEX#7E97F8
RGBrgb(126, 151, 248)
HSLhsl(228, 90%, 73%)
HSVhsv(228, 49%, 97%)
CMYKcmyk(49.2%, 39.1%, 0%, 2.7%)
CIE-LABlab(64.44, 17.07, -51.27)
CIE-LCHlch(64.44, 54.04, 288.42°)
OKLaboklab(69.96% 0.0033 -0.145)
OKLCHoklch(69.96% 0.145 271.3)
XYZxyz(36.6086, 33.3438, 93.2957)
Luminance0.3335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97F8 #F8DF7E
analogous
#7ED4F8 #7E97F8 #A27EF8
triadic
#7E97F8 #F87E97 #97F87E
tetradic
#7E97F8 #F87ED4 #F8DF7E #7EF8A2
square
#7E97F8 #F87ED4 #F8DF7E #7EF8A2
split-complementary
#7E97F8 #F8A27E #D4F87E
monochromatic
#0D3BEF #4468F5 #7E97F8 #B8C6FB #E2E8FD

Accessibility & contrast

On white

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

On black

7.67
#7E97F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E97F8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E97F8#FFFFFF#000000##000000
##7E97F81.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#6597F6
Tritanopia (blue-blind)
#4BACBC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7e97f8;
/* rgb */ color: rgb(126, 151, 248);
/* oklch */ color: oklch(70.0% 0.145 271.3);
Tailwind
colors: {
  custom: {
    50: '#aab5fb',
    500: '#7e97f8',
    950: '#000000',
  },
}
SCSS
$custom: #7e97f8;
$custom-light: #aab5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97f8",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 248
  },
  "hsl": {
    "h": 227.705,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69961,
    "c": 0.14507,
    "h": 271.3
  },
  "luminance": 0.33346
}

Semantic roles & 50–950 ramp

primary
#7E97F8
secondary
#F6EFD5
accent
#B600E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7E97F8

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

Preview Lab → · Contrast checker → · Palette generator →

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