#7E96EA#7E96EA

#7E96EA is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.0% C 0.127 H 270.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7E96EA
RGBrgb(126, 150, 234)
HSLhsl(227, 72%, 71%)
HSVhsv(227, 46%, 92%)
CMYKcmyk(46.2%, 35.9%, 0%, 8.2%)
CIE-LABlab(63.50, 13.52, -45.07)
CIE-LCHlch(63.50, 47.05, 286.69°)
OKLaboklab(69.01% 0.0016 -0.1269)
OKLCHoklch(69.01% 0.127 270.7)
XYZxyz(34.3571, 32.1868, 82.2282)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E96EA #EAD27E
analogous
#7ECCEA #7E96EA #9C7EEA
triadic
#7E96EA #EA7E96 #96EA7E
tetradic
#7E96EA #EA7ECC #EAD27E #7EEA9C
square
#7E96EA #EA7ECC #EAD27E #7EEA9C
split-complementary
#7E96EA #EA9C7E #CCEA7E
monochromatic
#2147CC #496BE1 #7E96EA #B3C1F3 #E5EAFB

Accessibility & contrast

On white

2.82
#7E96EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#7E96EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E96EA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E96EA#FFFFFF#000000##000000
##7E96EA1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FED
Deuteranopia (green-blind)
#6D95E8
Tritanopia (blue-blind)
#55A7B5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7e96ea;
/* rgb */ color: rgb(126, 150, 234);
/* oklch */ color: oklch(69.0% 0.127 270.7);
Tailwind
colors: {
  custom: {
    50: '#a8b4f1',
    500: '#7e96ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e96ea;
$custom-light: #a8b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e96ea",
  "rgb": {
    "r": 126,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 226.667,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69014,
    "c": 0.12694,
    "h": 270.7
  },
  "luminance": 0.32189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E96EA

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

Preview Lab → · Contrast checker → · Palette generator →

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