#7EABFE#7EABFE

#7EABFE is a light, vivid blue. Relative luminance 0.407; OKLCH L 74.3% C 0.130 H 262.0°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7EABFE
RGBrgb(126, 171, 254)
HSLhsl(219, 98%, 75%)
HSVhsv(219, 50%, 100%)
CMYKcmyk(50.4%, 32.7%, 0%, 0.4%)
CIE-LABlab(69.98, 7.36, -45.81)
CIE-LCHlch(69.98, 46.40, 279.13°)
OKLaboklab(74.34% -0.0182 -0.129)
OKLCHoklch(74.34% 0.13 262)
XYZxyz(41.0505, 40.7143, 99.4422)
Luminance0.4072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EABFE #FED17E
analogous
#7EEBFE #7EABFE #917EFE
triadic
#7EABFE #FE7EAB #ABFE7E
tetradic
#7EABFE #FE7EEB #FED17E #7EFE91
square
#7EABFE #FE7EEB #FED17E #7EFE91
split-complementary
#7EABFE #FE917E #EBFE7E
monochromatic
#055CFD #4183FE #7EABFE #BBD3FE #E1EBFF

Accessibility & contrast

On white

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

On black

9.14
#7EABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EABFE
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EABFE#FFFFFF#000000##000000
##7EABFE1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB2FF
Deuteranopia (green-blind)
#7CA6FC
Tritanopia (blue-blind)
#41BDC9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7eabfe;
/* rgb */ color: rgb(126, 171, 254);
/* oklch */ color: oklch(74.3% 0.130 262.0);
Tailwind
colors: {
  custom: {
    50: '#aac3ff',
    500: '#7eabfe',
    950: '#000000',
  },
}
SCSS
$custom: #7eabfe;
$custom-light: #aac3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7eabfe",
  "rgb": {
    "r": 126,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 218.906,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74338,
    "c": 0.13026,
    "h": 262
  },
  "luminance": 0.40717
}

Semantic roles & 50–950 ramp

primary
#7EABFE
secondary
#F7EBD4
accent
#9500E6
background
#FAFBFF
surface
#F5F7FF
border
#CFD0D7
text
#101218
muted
#7F8186

Preview Lab

Preview with #7EABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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