#9D8EF7#9D8EF7

#9D8EF7 is a light, vivid blue. Relative luminance 0.332; OKLCH L 70.4% C 0.151 H 288.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9D8EF7
RGBrgb(157, 142, 247)
HSLhsl(249, 87%, 76%)
HSVhsv(249, 43%, 97%)
CMYKcmyk(36.4%, 42.5%, 0%, 3.1%)
CIE-LABlab(64.35, 29.50, -50.73)
CIE-LCHlch(64.35, 58.69, 300.18°)
OKLaboklab(70.43% 0.0477 -0.1428)
OKLCHoklch(70.43% 0.151 288.5)
XYZxyz(40.3616, 33.2283, 92.2648)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8EF7 #E8F78E
analogous
#8EB4F7 #9D8EF7 #D28EF7
triadic
#9D8EF7 #F79D8E #8EF79D
tetradic
#9D8EF7 #F78EB4 #E8F78E #8EF7D2
square
#9D8EF7 #F78EB4 #E8F78E #8EF7D2
split-complementary
#9D8EF7 #F7D28E #B4F78E
monochromatic
#3A1CEF #6B55F3 #9D8EF7 #CFC7FB #E6E2FD

Accessibility & contrast

On white

2.75
#9D8EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#9D8EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D8EF7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8EF7#FFFFFF#000000##000000
##9D8EF71.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#85A2B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9d8ef7;
/* rgb */ color: rgb(157, 142, 247);
/* oklch */ color: oklch(70.4% 0.151 288.5);
Tailwind
colors: {
  custom: {
    50: '#bdaffa',
    500: '#9d8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #9d8ef7;
$custom-light: #bdaffa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8ef7",
  "rgb": {
    "r": 157,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 248.571,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70429,
    "c": 0.15057,
    "h": 288.5
  },
  "luminance": 0.3323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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