#7EABFA#7EABFA

#7EABFA is a light, vivid blue. Relative luminance 0.405; OKLCH L 74.1% C 0.125 H 261.2°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7EABFA
RGBrgb(126, 171, 250)
HSLhsl(218, 93%, 74%)
HSVhsv(218, 50%, 98%)
CMYKcmyk(49.6%, 31.6%, 0%, 2%)
CIE-LABlab(69.80, 6.18, -43.92)
CIE-LCHlch(69.80, 44.36, 278.01°)
OKLaboklab(74.14% -0.0192 -0.1235)
OKLCHoklch(74.14% 0.125 261.2)
XYZxyz(40.4166, 40.4608, 96.1039)
Luminance0.4046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EABFA #FACD7E
analogous
#7EE9FA #7EABFA #8F7EFA
triadic
#7EABFA #FA7EAB #ABFA7E
tetradic
#7EABFA #FA7EE9 #FACD7E #7EFA8F
square
#7EABFA #FA7EE9 #FACD7E #7EFA8F
split-complementary
#7EABFA #FA8F7E #E9FA7E
monochromatic
#095FF4 #4385F8 #7EABFA #B9D1FC #E2ECFE

Accessibility & contrast

On white

2.31
#7EABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#7EABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EABFA
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EABFA#FFFFFF#000000##000000
##7EABFA1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FD
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#45BCC7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7eabfa;
/* rgb */ color: rgb(126, 171, 250);
/* oklch */ color: oklch(74.1% 0.125 261.2);
Tailwind
colors: {
  custom: {
    50: '#aac3fc',
    500: '#7eabfa',
    950: '#000000',
  },
}
SCSS
$custom: #7eabfa;
$custom-light: #aac3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7eabfa",
  "rgb": {
    "r": 126,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 218.226,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7414,
    "c": 0.12499,
    "h": 261.2
  },
  "luminance": 0.40464
}

Semantic roles & 50–950 ramp

primary
#7EABFA
secondary
#F6EAD5
accent
#9200E6
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7EABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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