#9B8DFD#9B8DFD

#9B8DFD is a light, vivid blue. Relative luminance 0.331; OKLCH L 70.4% C 0.160 H 287.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9B8DFD
RGBrgb(155, 141, 253)
HSLhsl(248, 97%, 77%)
HSVhsv(248, 44%, 99%)
CMYKcmyk(38.7%, 44.3%, 0%, 0.8%)
CIE-LABlab(64.25, 31.17, -54.18)
CIE-LCHlch(64.25, 62.51, 299.91°)
OKLaboklab(70.42% 0.0476 -0.1529)
OKLCHoklch(70.42% 0.16 287.3)
XYZxyz(40.7671, 33.1088, 97.1521)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8DFD #EFFD8D
analogous
#8DB7FD #9B8DFD #D38DFD
triadic
#9B8DFD #FD9B8D #8DFD9B
tetradic
#9B8DFD #FD8DB7 #EFFD8D #8DFDD3
square
#9B8DFD #FD8DB7 #EFFD8D #8DFDD3
split-complementary
#9B8DFD #FDD38D #B7FD8D
monochromatic
#3115FB #6651FC #9B8DFD #D0C9FE #E5E1FE

Accessibility & contrast

On white

2.76
#9B8DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#9B8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B8DFD
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8DFD#FFFFFF#000000##000000
##9B8DFD1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#6399FA
Tritanopia (blue-blind)
#80A3B9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9b8dfd;
/* rgb */ color: rgb(155, 141, 253);
/* oklch */ color: oklch(70.4% 0.160 287.3);
Tailwind
colors: {
  custom: {
    50: '#bcaefe',
    500: '#9b8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9b8dfd;
$custom-light: #bcaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8dfd",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 247.5,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70416,
    "c": 0.16017,
    "h": 287.3
  },
  "luminance": 0.3311
}

Semantic roles & 50–950 ramp

primary
#9B8DFD
secondary
#F2F7D4
accent
#E600C9
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #9B8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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