#8E98ED#8E98ED

#8E98ED is a light, vivid blue. Relative luminance 0.343; OKLCH L 70.7% C 0.124 H 277.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8E98ED
RGBrgb(142, 152, 237)
HSLhsl(234, 73%, 74%)
HSVhsv(234, 40%, 93%)
CMYKcmyk(40.1%, 35.9%, 0%, 7.1%)
CIE-LABlab(65.22, 17.19, -43.94)
CIE-LCHlch(65.22, 47.18, 291.36°)
OKLaboklab(70.66% 0.0165 -0.1233)
OKLCHoklch(70.66% 0.124 277.6)
XYZxyz(37.6651, 34.3200, 84.7442)
Luminance0.3432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E98ED #EDE38E
analogous
#8EC8ED #8E98ED #B48EED
triadic
#8E98ED #ED8E98 #98ED8E
tetradic
#8E98ED #ED8EC8 #EDE38E #8EEDB4
square
#8E98ED #ED8EC8 #EDE38E #8EEDB4
split-complementary
#8E98ED #EDB48E #C8ED8E
monochromatic
#2438DC #5968E5 #8E98ED #C3C8F5 #E5E7FB

Accessibility & contrast

On white

2.67
#8E98ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#8E98ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E98ED
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E98ED#FFFFFF#000000##000000
##8E98ED1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F0
Deuteranopia (green-blind)
#759BEB
Tritanopia (blue-blind)
#71A9B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8e98ed;
/* rgb */ color: rgb(142, 152, 237);
/* oklch */ color: oklch(70.7% 0.124 277.6);
Tailwind
colors: {
  custom: {
    50: '#b2b6f3',
    500: '#8e98ed',
    950: '#000000',
  },
}
SCSS
$custom: #8e98ed;
$custom-light: #b2b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e98ed",
  "rgb": {
    "r": 142,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 233.684,
    "s": 72.519,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70656,
    "c": 0.12444,
    "h": 277.6
  },
  "luminance": 0.34322
}

Semantic roles & 50–950 ramp

primary
#8E98ED
secondary
#F2F0D9
accent
#C011D5
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8E98ED

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

Preview Lab → · Contrast checker → · Palette generator →

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