#9C8DFD#9C8DFD

#9C8DFD is a light, vivid blue. Relative luminance 0.332; OKLCH L 70.5% C 0.160 H 287.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9C8DFD
RGBrgb(156, 141, 253)
HSLhsl(248, 97%, 77%)
HSVhsv(248, 44%, 99%)
CMYKcmyk(38.3%, 44.3%, 0%, 0.8%)
CIE-LABlab(64.33, 31.42, -54.05)
CIE-LCHlch(64.33, 62.52, 300.17°)
OKLaboklab(70.5% 0.0487 -0.1525)
OKLCHoklch(70.5% 0.16 287.7)
XYZxyz(40.9599, 33.2082, 97.1612)
Luminance0.3321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8DFD #EEFD8D
analogous
#8DB6FD #9C8DFD #D48DFD
triadic
#9C8DFD #FD9C8D #8DFD9C
tetradic
#9C8DFD #FD8DB6 #EEFD8D #8DFDD4
square
#9C8DFD #FD8DB6 #EEFD8D #8DFDD4
split-complementary
#9C8DFD #FDD48D #B6FD8D
monochromatic
#3415FB #6851FC #9C8DFD #D0C9FE #E5E1FE

Accessibility & contrast

On white

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

On black

7.64
#9C8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8DFD
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8DFD#FFFFFF#000000##000000
##9C8DFD1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8dfd;
/* rgb */ color: rgb(156, 141, 253);
/* oklch */ color: oklch(70.5% 0.160 287.7);
Tailwind
colors: {
  custom: {
    50: '#bdaefe',
    500: '#9c8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9c8dfd;
$custom-light: #bdaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8dfd",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 248.036,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70496,
    "c": 0.16013,
    "h": 287.7
  },
  "luminance": 0.3321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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