#9D8DFD#9D8DFD

#9D8DFD is a light, vivid blue. Relative luminance 0.333; OKLCH L 70.6% C 0.160 H 288.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9D8DFD
RGBrgb(157, 141, 253)
HSLhsl(249, 97%, 77%)
HSVhsv(249, 44%, 99%)
CMYKcmyk(37.9%, 44.3%, 0%, 0.8%)
CIE-LABlab(64.41, 31.67, -53.92)
CIE-LCHlch(64.41, 62.53, 300.43°)
OKLaboklab(70.58% 0.0499 -0.1521)
OKLCHoklch(70.58% 0.16 288.1)
XYZxyz(41.1543, 33.3084, 97.1703)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8DFD #EDFD8D
analogous
#8DB5FD #9D8DFD #D58DFD
triadic
#9D8DFD #FD9D8D #8DFD9D
tetradic
#9D8DFD #FD8DB5 #EDFD8D #8DFDD5
square
#9D8DFD #FD8DB5 #EDFD8D #8DFDD5
split-complementary
#9D8DFD #FDD58D #B5FD8D
monochromatic
#3615FB #6951FC #9D8DFD #D1C9FE #E5E1FE

Accessibility & contrast

On white

2.74
#9D8DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#9D8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D8DFD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8DFD#FFFFFF#000000##000000
##9D8DFD1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d8dfd;
/* rgb */ color: rgb(157, 141, 253);
/* oklch */ color: oklch(70.6% 0.160 288.1);
Tailwind
colors: {
  custom: {
    50: '#beaefe',
    500: '#9d8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9d8dfd;
$custom-light: #beaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8dfd",
  "rgb": {
    "r": 157,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 248.571,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70577,
    "c": 0.16008,
    "h": 288.1
  },
  "luminance": 0.3331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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