#9E8DFD#9E8DFD

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

Color values

HEX#9E8DFD
RGBrgb(158, 141, 253)
HSLhsl(249, 97%, 77%)
HSVhsv(249, 44%, 99%)
CMYKcmyk(37.5%, 44.3%, 0%, 0.8%)
CIE-LABlab(64.49, 31.92, -53.78)
CIE-LCHlch(64.49, 62.54, 300.69°)
OKLaboklab(70.66% 0.051 -0.1517)
OKLCHoklch(70.66% 0.16 288.6)
XYZxyz(41.3502, 33.4095, 97.1795)
Luminance0.3341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8DFD #ECFD8D
analogous
#8DB4FD #9E8DFD #D68DFD
triadic
#9E8DFD #FD9E8D #8DFD9E
tetradic
#9E8DFD #FD8DB4 #ECFD8D #8DFDD6
square
#9E8DFD #FD8DB4 #ECFD8D #8DFDD6
split-complementary
#9E8DFD #FDD68D #B4FD8D
monochromatic
#3815FB #6B51FC #9E8DFD #D1C9FE #E5E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E8DFD#FFFFFF#000000##000000
##9E8DFD1.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)
#659FFF
Deuteranopia (green-blind)
#659AFA
Tritanopia (blue-blind)
#85A3B9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9e8dfd;
/* rgb */ color: rgb(158, 141, 253);
/* oklch */ color: oklch(70.7% 0.160 288.6);
Tailwind
colors: {
  custom: {
    50: '#beaefe',
    500: '#9e8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9e8dfd;
$custom-light: #beaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8dfd",
  "rgb": {
    "r": 158,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 249.107,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70658,
    "c": 0.16005,
    "h": 288.6
  },
  "luminance": 0.33411
}

Semantic roles & 50–950 ramp

primary
#9E8DFD
secondary
#F2F7D4
accent
#E600C3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #9E8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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