#9D8BF9#9D8BF9

#9D8BF9 is a light, vivid blue. Relative luminance 0.325; OKLCH L 70.0% C 0.158 H 289.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9D8BF9
RGBrgb(157, 139, 249)
HSLhsl(250, 90%, 76%)
HSVhsv(250, 44%, 98%)
CMYKcmyk(36.9%, 44.2%, 0%, 2.4%)
CIE-LABlab(63.73, 31.75, -52.80)
CIE-LCHlch(63.73, 61.61, 301.02°)
OKLaboklab(70% 0.0518 -0.1489)
OKLCHoklch(70% 0.158 289.2)
XYZxyz(40.2315, 32.4717, 93.7521)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8BF9 #E7F98B
analogous
#8BB0F9 #9D8BF9 #D48BF9
triadic
#9D8BF9 #F99D8B #8BF99D
tetradic
#9D8BF9 #F98BB0 #E7F98B #8BF9D4
square
#9D8BF9 #F98BB0 #E7F98B #8BF9D4
split-complementary
#9D8BF9 #F9D48B #B0F98B
monochromatic
#3B17F3 #6C51F6 #9D8BF9 #CEC5FC #E6E2FD

Accessibility & contrast

On white

2.80
#9D8BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#9D8BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D8BF9
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8BF9#FFFFFF#000000##000000
##9D8BF91.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFD
Deuteranopia (green-blind)
#6598F6
Tritanopia (blue-blind)
#85A0B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9d8bf9;
/* rgb */ color: rgb(157, 139, 249);
/* oklch */ color: oklch(70.0% 0.158 289.2);
Tailwind
colors: {
  custom: {
    50: '#bdadfc',
    500: '#9d8bf9',
    950: '#000000',
  },
}
SCSS
$custom: #9d8bf9;
$custom-light: #bdadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8bf9",
  "rgb": {
    "r": 157,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 249.818,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69997,
    "c": 0.15762,
    "h": 289.2
  },
  "luminance": 0.32473
}

Semantic roles & 50–950 ramp

primary
#9D8BF9
secondary
#F0F6D5
accent
#E600C0
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9D8BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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