#8E98FA#8E98FA

#8E98FA is a light, vivid blue. Relative luminance 0.351; OKLCH L 71.3% C 0.143 H 277.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8E98FA
RGBrgb(142, 152, 250)
HSLhsl(234, 92%, 77%)
HSVhsv(234, 43%, 98%)
CMYKcmyk(43.2%, 39.2%, 0%, 2%)
CIE-LABlab(65.83, 20.82, -50.10)
CIE-LCHlch(65.83, 54.25, 292.57°)
OKLaboklab(71.33% 0.0191 -0.1413)
OKLCHoklch(71.33% 0.143 277.7)
XYZxyz(39.6337, 35.1075, 95.1120)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E98FA #FAF08E
analogous
#8ECEFA #8E98FA #BA8EFA
triadic
#8E98FA #FA8E98 #98FA8E
tetradic
#8E98FA #FA8ECE #FAF08E #8EFABA
square
#8E98FA #FA8ECE #FAF08E #8EFABA
split-complementary
#8E98FA #FABA8E #CEFA8E
monochromatic
#192DF5 #5363F7 #8E98FA #C9CDFD #E2E4FE

Accessibility & contrast

On white

2.62
#8E98FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#8E98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E98FA
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E98FA#FFFFFF#000000##000000
##8E98FA1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FE
Deuteranopia (green-blind)
#6D9CF8
Tritanopia (blue-blind)
#6AACBD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8e98fa;
/* rgb */ color: rgb(142, 152, 250);
/* oklch */ color: oklch(71.3% 0.143 277.7);
Tailwind
colors: {
  custom: {
    50: '#b4b6fc',
    500: '#8e98fa',
    950: '#000000',
  },
}
SCSS
$custom: #8e98fa;
$custom-light: #b4b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e98fa",
  "rgb": {
    "r": 142,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 234.444,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7133,
    "c": 0.14255,
    "h": 277.7
  },
  "luminance": 0.35109
}

Semantic roles & 50–950 ramp

primary
#8E98FA
secondary
#F6F3D5
accent
#D000E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8E98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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