#7EABFB#7EABFB

#7EABFB is a light, vivid blue. Relative luminance 0.405; OKLCH L 74.2% C 0.126 H 261.4°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7EABFB
RGBrgb(126, 171, 251)
HSLhsl(218, 94%, 74%)
HSVhsv(218, 50%, 98%)
CMYKcmyk(49.8%, 31.9%, 0%, 1.6%)
CIE-LABlab(69.84, 6.47, -44.40)
CIE-LCHlch(69.84, 44.87, 278.30°)
OKLaboklab(74.19% -0.0189 -0.1249)
OKLCHoklch(74.19% 0.126 261.4)
XYZxyz(40.5739, 40.5236, 96.9319)
Luminance0.4053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EABFB #FBCE7E
analogous
#7EEAFB #7EABFB #907EFB
triadic
#7EABFB #FB7EAB #ABFB7E
tetradic
#7EABFB #FB7EEA #FBCE7E #7EFB90
square
#7EABFB #FB7EEA #FBCE7E #7EFB90
split-complementary
#7EABFB #FB907E #EAFB7E
monochromatic
#085EF7 #4384F9 #7EABFB #B9D2FD #E1ECFE

Accessibility & contrast

On white

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

On black

9.11
#7EABFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EABFB
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EABFB#FFFFFF#000000##000000
##7EABFB1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FE
Deuteranopia (green-blind)
#7EA5F9
Tritanopia (blue-blind)
#44BCC8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7eabfb;
/* rgb */ color: rgb(126, 171, 251);
/* oklch */ color: oklch(74.2% 0.126 261.4);
Tailwind
colors: {
  custom: {
    50: '#aac3fd',
    500: '#7eabfb',
    950: '#000000',
  },
}
SCSS
$custom: #7eabfb;
$custom-light: #aac3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7eabfb",
  "rgb": {
    "r": 126,
    "g": 171,
    "b": 251
  },
  "hsl": {
    "h": 218.4,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74189,
    "c": 0.12631,
    "h": 261.4
  },
  "luminance": 0.40526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EABFB

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

Preview Lab → · Contrast checker → · Palette generator →

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