#7E97FC#7E97FC

#7E97FC is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.2% C 0.151 H 271.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7E97FC
RGBrgb(126, 151, 252)
HSLhsl(228, 95%, 74%)
HSVhsv(228, 50%, 99%)
CMYKcmyk(50%, 40.1%, 0%, 1.2%)
CIE-LABlab(64.64, 18.27, -53.14)
CIE-LCHlch(64.64, 56.20, 288.97°)
OKLaboklab(70.18% 0.0041 -0.1505)
OKLCHoklch(70.18% 0.151 271.6)
XYZxyz(37.2358, 33.5947, 96.5989)
Luminance0.3360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97FC #FCE37E
analogous
#7ED6FC #7E97FC #A47EFC
triadic
#7E97FC #FC7E97 #97FC7E
tetradic
#7E97FC #FC7ED6 #FCE37E #7EFCA4
square
#7E97FC #FC7ED6 #FCE37E #7EFCA4
split-complementary
#7E97FC #FCA47E #D6FC7E
monochromatic
#0637F9 #4267FB #7E97FC #BAC7FD #E1E7FE

Accessibility & contrast

On white

2.72
#7E97FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#7E97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E97FC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E97FC#FFFFFF#000000##000000
##7E97FC1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#48ADBD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7e97fc;
/* rgb */ color: rgb(126, 151, 252);
/* oklch */ color: oklch(70.2% 0.151 271.6);
Tailwind
colors: {
  custom: {
    50: '#aab5fe',
    500: '#7e97fc',
    950: '#000000',
  },
}
SCSS
$custom: #7e97fc;
$custom-light: #aab5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97fc",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 228.095,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70181,
    "c": 0.15055,
    "h": 271.6
  },
  "luminance": 0.33597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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