#7E98FC#7E98FC

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

Color values

HEX#7E98FC
RGBrgb(126, 152, 252)
HSLhsl(228, 95%, 74%)
HSVhsv(228, 50%, 99%)
CMYKcmyk(50%, 39.7%, 0%, 1.2%)
CIE-LABlab(64.90, 17.69, -52.73)
CIE-LCHlch(64.90, 55.62, 288.54°)
OKLaboklab(70.38% 0.003 -0.1493)
OKLCHoklch(70.38% 0.149 271.1)
XYZxyz(37.3975, 33.9180, 96.6528)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E98FC #FCE27E
analogous
#7ED7FC #7E98FC #A37EFC
triadic
#7E98FC #FC7E98 #98FC7E
tetradic
#7E98FC #FC7ED7 #FCE27E #7EFCA3
square
#7E98FC #FC7ED7 #FCE27E #7EFCA3
split-complementary
#7E98FC #FCA37E #D7FC7E
monochromatic
#0638F9 #4268FB #7E98FC #BAC8FD #E1E7FE

Accessibility & contrast

On white

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

On black

7.78
#7E98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E98FC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E98FC#FFFFFF#000000##000000
##7E98FC1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#6398FA
Tritanopia (blue-blind)
#47ADBE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7e98fc;
/* rgb */ color: rgb(126, 152, 252);
/* oklch */ color: oklch(70.4% 0.149 271.1);
Tailwind
colors: {
  custom: {
    50: '#aab6fe',
    500: '#7e98fc',
    950: '#000000',
  },
}
SCSS
$custom: #7e98fc;
$custom-light: #aab6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e98fc",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 227.619,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70379,
    "c": 0.14932,
    "h": 271.1
  },
  "luminance": 0.3392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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