#7E98FB#7E98FB

#7E98FB is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.3% C 0.148 H 271.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7E98FB
RGBrgb(126, 152, 251)
HSLhsl(228, 94%, 74%)
HSVhsv(228, 50%, 98%)
CMYKcmyk(49.8%, 39.4%, 0%, 1.6%)
CIE-LABlab(64.85, 17.39, -52.27)
CIE-LCHlch(64.85, 55.08, 288.40°)
OKLaboklab(70.32% 0.0028 -0.1479)
OKLCHoklch(70.32% 0.148 271.1)
XYZxyz(37.2394, 33.8547, 95.8204)
Luminance0.3386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E98FB #FBE17E
analogous
#7ED7FB #7E98FB #A37EFB
triadic
#7E98FB #FB7E98 #98FB7E
tetradic
#7E98FB #FB7ED7 #FBE17E #7EFBA3
square
#7E98FB #FB7ED7 #FBE17E #7EFBA3
split-complementary
#7E98FB #FBA37E #D7FB7E
monochromatic
#0839F7 #4369F9 #7E98FB #B9C7FD #E1E7FE

Accessibility & contrast

On white

2.70
#7E98FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#7E98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E98FB
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E98FB#FFFFFF#000000##000000
##7E98FB1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#6498F9
Tritanopia (blue-blind)
#48ADBD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7e98fb;
/* rgb */ color: rgb(126, 152, 251);
/* oklch */ color: oklch(70.3% 0.148 271.1);
Tailwind
colors: {
  custom: {
    50: '#aab6fd',
    500: '#7e98fb',
    950: '#000000',
  },
}
SCSS
$custom: #7e98fb;
$custom-light: #aab6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e98fb",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 227.52,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70324,
    "c": 0.14796,
    "h": 271.1
  },
  "luminance": 0.33857
}

Semantic roles & 50–950 ramp

primary
#7E98FB
secondary
#F6EFD5
accent
#B600E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7E98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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