#8E98FD#8E98FD

#8E98FD is a light, vivid blue. Relative luminance 0.353; OKLCH L 71.5% C 0.147 H 277.7°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8E98FD
RGBrgb(142, 152, 253)
HSLhsl(235, 97%, 77%)
HSVhsv(235, 44%, 99%)
CMYKcmyk(43.9%, 39.9%, 0%, 0.8%)
CIE-LABlab(65.98, 21.67, -51.50)
CIE-LCHlch(65.98, 55.87, 292.82°)
OKLaboklab(71.49% 0.0197 -0.1454)
OKLCHoklch(71.49% 0.147 277.7)
XYZxyz(40.1078, 35.2971, 97.6091)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E98FD #FDF38E
analogous
#8ECFFD #8E98FD #BC8EFD
triadic
#8E98FD #FD8E98 #98FD8E
tetradic
#8E98FD #FD8ECF #FDF38E #8EFDBC
square
#8E98FD #FD8ECF #FDF38E #8EFDBC
split-complementary
#8E98FD #FDBC8E #CFFD8E
monochromatic
#162AFB #5261FC #8E98FD #CACFFE #E1E4FE

Accessibility & contrast

On white

2.61
#8E98FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#8E98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E98FD
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E98FD#FFFFFF#000000##000000
##8E98FD1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#6B9CFB
Tritanopia (blue-blind)
#69ADBE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8e98fd;
/* rgb */ color: rgb(142, 152, 253);
/* oklch */ color: oklch(71.5% 0.147 277.7);
Tailwind
colors: {
  custom: {
    50: '#b4b6fe',
    500: '#8e98fd',
    950: '#000000',
  },
}
SCSS
$custom: #8e98fd;
$custom-light: #b4b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8e98fd",
  "rgb": {
    "r": 142,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 234.595,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71491,
    "c": 0.14669,
    "h": 277.7
  },
  "luminance": 0.35299
}

Semantic roles & 50–950 ramp

primary
#8E98FD
secondary
#F7F4D4
accent
#D100E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8E98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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