#7E98FD#7E98FD

#7E98FD is a light, vivid blue. Relative luminance 0.340; OKLCH L 70.4% C 0.151 H 271.2°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7E98FD
RGBrgb(126, 152, 253)
HSLhsl(228, 97%, 74%)
HSVhsv(228, 50%, 99%)
CMYKcmyk(50.2%, 39.9%, 0%, 0.8%)
CIE-LABlab(64.95, 17.99, -53.20)
CIE-LCHlch(64.95, 56.16, 288.68°)
OKLaboklab(70.44% 0.0032 -0.1506)
OKLCHoklch(70.44% 0.151 271.2)
XYZxyz(37.5563, 33.9815, 97.4895)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E98FD #FDE37E
analogous
#7ED7FD #7E98FD #A47EFD
triadic
#7E98FD #FD7E98 #98FD7E
tetradic
#7E98FD #FD7ED7 #FDE37E #7EFDA4
square
#7E98FD #FD7ED7 #FDE37E #7EFDA4
split-complementary
#7E98FD #FDA47E #D7FD7E
monochromatic
#0538FB #4268FC #7E98FD #BAC8FE #E1E7FF

Accessibility & contrast

On white

2.69
#7E98FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#7E98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E98FD
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E98FD#FFFFFF#000000##000000
##7E98FD1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#6298FB
Tritanopia (blue-blind)
#47AEBE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7e98fd;
/* rgb */ color: rgb(126, 152, 253);
/* oklch */ color: oklch(70.4% 0.151 271.2);
Tailwind
colors: {
  custom: {
    50: '#aab6fe',
    500: '#7e98fd',
    950: '#000000',
  },
}
SCSS
$custom: #7e98fd;
$custom-light: #aab6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e98fd",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 227.717,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70435,
    "c": 0.15068,
    "h": 271.2
  },
  "luminance": 0.33984
}

Semantic roles & 50–950 ramp

primary
#7E98FD
secondary
#F7F0D4
accent
#B700E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111118
muted
#808086

Preview Lab

Preview with #7E98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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