#9E8EF8#9E8EF8

#9E8EF8 is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.6% C 0.152 H 288.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9E8EF8
RGBrgb(158, 142, 248)
HSLhsl(249, 88%, 76%)
HSVhsv(249, 43%, 97%)
CMYKcmyk(36.3%, 42.7%, 0%, 2.7%)
CIE-LABlab(64.48, 30.02, -51.07)
CIE-LCHlch(64.48, 59.24, 300.45°)
OKLaboklab(70.57% 0.049 -0.1438)
OKLCHoklch(70.57% 0.152 288.8)
XYZxyz(40.7122, 33.3913, 93.0889)
Luminance0.3339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8EF8 #E8F88E
analogous
#8EB3F8 #9E8EF8 #D38EF8
triadic
#9E8EF8 #F89E8E #8EF89E
tetradic
#9E8EF8 #F88EB3 #E8F88E #8EF8D3
square
#9E8EF8 #F88EB3 #E8F88E #8EF8D3
split-complementary
#9E8EF8 #F8D38E #B3F88E
monochromatic
#3B1BF1 #6D54F4 #9E8EF8 #CFC8FC #E6E2FD

Accessibility & contrast

On white

2.73
#9E8EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#9E8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E8EF8
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8EF8#FFFFFF#000000##000000
##9E8EF81.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFC
Deuteranopia (green-blind)
#6A9AF5
Tritanopia (blue-blind)
#87A2B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9e8ef8;
/* rgb */ color: rgb(158, 142, 248);
/* oklch */ color: oklch(70.6% 0.152 288.8);
Tailwind
colors: {
  custom: {
    50: '#beaffb',
    500: '#9e8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #9e8ef8;
$custom-light: #beaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8ef8",
  "rgb": {
    "r": 158,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 249.057,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70565,
    "c": 0.1519,
    "h": 288.8
  },
  "luminance": 0.33392
}

Semantic roles & 50–950 ramp

primary
#9E8EF8
secondary
#F1F5D6
accent
#E501C2
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9E8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

#9E8EF8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva