#7E98F5#7E98F5

#7E98F5 is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.0% C 0.140 H 270.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7E98F5
RGBrgb(126, 152, 245)
HSLhsl(227, 86%, 73%)
HSVhsv(227, 49%, 96%)
CMYKcmyk(48.6%, 38%, 0%, 3.9%)
CIE-LABlab(64.55, 15.60, -49.45)
CIE-LCHlch(64.55, 51.86, 287.50°)
OKLaboklab(70% 0.0016 -0.1397)
OKLCHoklch(70% 0.14 270.6)
XYZxyz(36.3086, 33.4824, 90.9180)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E98F5 #F5DB7E
analogous
#7ED3F5 #7E98F5 #9F7EF5
triadic
#7E98F5 #F57E98 #98F57E
tetradic
#7E98F5 #F57ED3 #F5DB7E #7EF59F
square
#7E98F5 #F57ED3 #F5DB7E #7EF59F
split-complementary
#7E98F5 #F59F7E #D3F57E
monochromatic
#1240E7 #456BF1 #7E98F5 #B7C5F9 #E3E8FD

Accessibility & contrast

On white

2.73
#7E98F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#7E98F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E98F5
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E98F5#FFFFFF#000000##000000
##7E98F51.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A2F9
Deuteranopia (green-blind)
#6898F3
Tritanopia (blue-blind)
#4DACBB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7e98f5;
/* rgb */ color: rgb(126, 152, 245);
/* oklch */ color: oklch(70.0% 0.140 270.6);
Tailwind
colors: {
  custom: {
    50: '#a9b6f9',
    500: '#7e98f5',
    950: '#000000',
  },
}
SCSS
$custom: #7e98f5;
$custom-light: #a9b6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e98f5",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 245
  },
  "hsl": {
    "h": 226.891,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69998,
    "c": 0.13972,
    "h": 270.6
  },
  "luminance": 0.33485
}

Semantic roles & 50–950 ramp

primary
#7E98F5
secondary
#F5EED6
accent
#B103E2
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7E98F5

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

Preview Lab → · Contrast checker → · Palette generator →

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