#7E97EF#7E97EF

#7E97EF is a light, vivid blue. Relative luminance 0.328; OKLCH L 69.5% C 0.133 H 270.6°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7E97EF
RGBrgb(126, 151, 239)
HSLhsl(227, 78%, 72%)
HSVhsv(227, 47%, 94%)
CMYKcmyk(47.3%, 36.8%, 0%, 6.3%)
CIE-LABlab(64.00, 14.40, -47.03)
CIE-LCHlch(64.00, 49.19, 287.03°)
OKLaboklab(69.48% 0.0015 -0.1326)
OKLCHoklch(69.48% 0.133 270.6)
XYZxyz(35.2458, 32.7987, 86.1182)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97EF #EFD67E
analogous
#7ECFEF #7E97EF #9E7EEF
triadic
#7E97EF #EF7E97 #97EF7E
tetradic
#7E97EF #EF7ECF #EFD67E #7EEF9E
square
#7E97EF #EF7ECF #EFD67E #7EEF9E
split-complementary
#7E97EF #EF9E7E #CFEF7E
monochromatic
#1B45D8 #486BE8 #7E97EF #B4C3F6 #E4E9FC

Accessibility & contrast

On white

2.78
#7E97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#7E97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E97EF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E97EF#FFFFFF#000000##000000
##7E97EF1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F3
Deuteranopia (green-blind)
#6B97ED
Tritanopia (blue-blind)
#52A9B8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7e97ef;
/* rgb */ color: rgb(126, 151, 239);
/* oklch */ color: oklch(69.5% 0.133 270.6);
Tailwind
colors: {
  custom: {
    50: '#a9b5f4',
    500: '#7e97ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e97ef;
$custom-light: #a9b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97ef",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 226.726,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69478,
    "c": 0.13266,
    "h": 270.6
  },
  "luminance": 0.32801
}

Semantic roles & 50–950 ramp

primary
#7E97EF
secondary
#F3ECD6
accent
#AC0BDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7E97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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