#7E96FC#7E96FC

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

Color values

HEX#7E96FC
RGBrgb(126, 150, 252)
HSLhsl(229, 95%, 74%)
HSVhsv(229, 50%, 99%)
CMYKcmyk(50%, 40.5%, 0%, 1.2%)
CIE-LABlab(64.38, 18.86, -53.55)
CIE-LCHlch(64.38, 56.77, 289.40°)
OKLaboklab(69.98% 0.0052 -0.1517)
OKLCHoklch(69.98% 0.152 272)
XYZxyz(37.0756, 33.2742, 96.5455)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E96FC #FCE47E
analogous
#7ED5FC #7E96FC #A57EFC
triadic
#7E96FC #FC7E96 #96FC7E
tetradic
#7E96FC #FC7ED5 #FCE47E #7EFCA5
square
#7E96FC #FC7ED5 #FCE47E #7EFCA5
split-complementary
#7E96FC #FCA57E #D5FC7E
monochromatic
#0635F9 #4265FB #7E96FC #BAC7FD #E1E7FE

Accessibility & contrast

On white

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

On black

7.66
#7E96FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E96FC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E96FC#FFFFFF#000000##000000
##7E96FC1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#6097FA
Tritanopia (blue-blind)
#48ACBD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7e96fc;
/* rgb */ color: rgb(126, 150, 252);
/* oklch */ color: oklch(70.0% 0.152 272.0);
Tailwind
colors: {
  custom: {
    50: '#aab4fe',
    500: '#7e96fc',
    950: '#000000',
  },
}
SCSS
$custom: #7e96fc;
$custom-light: #aab4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e96fc",
  "rgb": {
    "r": 126,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 228.571,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69984,
    "c": 0.15178,
    "h": 272
  },
  "luminance": 0.33277
}

Semantic roles & 50–950 ramp

primary
#7E96FC
secondary
#F7F0D4
accent
#BA00E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111118
muted
#808086

Preview Lab

Preview with #7E96FC

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

Preview Lab → · Contrast checker → · Palette generator →

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