#7EABFC#7EABFC

#7EABFC is a light, vivid blue. Relative luminance 0.406; OKLCH L 74.2% C 0.128 H 261.6°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7EABFC
RGBrgb(126, 171, 252)
HSLhsl(219, 95%, 74%)
HSVhsv(219, 50%, 99%)
CMYKcmyk(50%, 32.1%, 0%, 1.2%)
CIE-LABlab(69.89, 6.77, -44.87)
CIE-LCHlch(69.89, 45.38, 278.58°)
OKLaboklab(74.24% -0.0187 -0.1262)
OKLCHoklch(74.24% 0.128 261.6)
XYZxyz(40.7319, 40.5869, 97.7643)
Luminance0.4059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EABFC #FCCF7E
analogous
#7EEAFC #7EABFC #907EFC
triadic
#7EABFC #FC7EAB #ABFC7E
tetradic
#7EABFC #FC7EEA #FCCF7E #7EFC90
square
#7EABFC #FC7EEA #FCCF7E #7EFC90
split-complementary
#7EABFC #FC907E #EAFC7E
monochromatic
#065DF9 #4284FB #7EABFC #BAD2FD #E1ECFE

Accessibility & contrast

On white

2.30
#7EABFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#7EABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EABFC
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EABFC#FFFFFF#000000##000000
##7EABFC1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FF
Deuteranopia (green-blind)
#7DA5FA
Tritanopia (blue-blind)
#43BDC8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7eabfc;
/* rgb */ color: rgb(126, 171, 252);
/* oklch */ color: oklch(74.2% 0.128 261.6);
Tailwind
colors: {
  custom: {
    50: '#aac3fd',
    500: '#7eabfc',
    950: '#000000',
  },
}
SCSS
$custom: #7eabfc;
$custom-light: #aac3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7eabfc",
  "rgb": {
    "r": 126,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 218.571,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74238,
    "c": 0.12762,
    "h": 261.6
  },
  "luminance": 0.4059
}

Semantic roles & 50–950 ramp

primary
#7EABFC
secondary
#F7EAD4
accent
#9400E6
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7EABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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