#7E97EA#7E97EA

#7E97EA is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.2% C 0.126 H 270.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7E97EA
RGBrgb(126, 151, 234)
HSLhsl(226, 72%, 71%)
HSVhsv(226, 46%, 92%)
CMYKcmyk(46.2%, 35.5%, 0%, 8.2%)
CIE-LABlab(63.76, 12.93, -44.65)
CIE-LCHlch(63.76, 46.49, 286.15°)
OKLaboklab(69.22% 0.0004 -0.1257)
OKLCHoklch(69.22% 0.126 270.2)
XYZxyz(34.5174, 32.5073, 82.2817)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97EA #EAD17E
analogous
#7ECDEA #7E97EA #9B7EEA
triadic
#7E97EA #EA7E97 #97EA7E
tetradic
#7E97EA #EA7ECD #EAD17E #7EEA9B
square
#7E97EA #EA7ECD #EAD17E #7EEA9B
split-complementary
#7E97EA #EA9B7E #CDEA7E
monochromatic
#2149CC #496DE1 #7E97EA #B3C1F3 #E5EAFB

Accessibility & contrast

On white

2.80
#7E97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#7E97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E97EA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E97EA#FFFFFF#000000##000000
##7E97EA1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#789FED
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#55A8B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7e97ea;
/* rgb */ color: rgb(126, 151, 234);
/* oklch */ color: oklch(69.2% 0.126 270.2);
Tailwind
colors: {
  custom: {
    50: '#a8b5f1',
    500: '#7e97ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e97ea;
$custom-light: #a8b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97ea",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 226.111,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69217,
    "c": 0.12572,
    "h": 270.2
  },
  "luminance": 0.32509
}

Semantic roles & 50–950 ramp

primary
#7E97EA
secondary
#F1EAD3
accent
#A711D4
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7E97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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