#9C8CFB#9C8CFB

#9C8CFB is a light, vivid blue. Relative luminance 0.328; OKLCH L 70.2% C 0.159 H 288.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9C8CFB
RGBrgb(156, 140, 251)
HSLhsl(249, 93%, 77%)
HSVhsv(249, 44%, 98%)
CMYKcmyk(37.8%, 44.2%, 0%, 1.6%)
CIE-LABlab(63.99, 31.46, -53.50)
CIE-LCHlch(63.99, 62.06, 300.46°)
OKLaboklab(70.21% 0.0497 -0.1509)
OKLCHoklch(70.21% 0.159 288.2)
XYZxyz(40.4962, 32.7879, 95.4431)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8CFB #EBFB8C
analogous
#8CB4FB #9C8CFB #D48CFB
triadic
#9C8CFB #FB9C8C #8CFB9C
tetradic
#9C8CFB #FB8CB4 #EBFB8C #8CFBD4
square
#9C8CFB #FB8CB4 #EBFB8C #8CFBD4
split-complementary
#9C8CFB #FBD48C #B4FB8C
monochromatic
#3616F7 #6951F9 #9C8CFB #CFC7FD #E6E1FE

Accessibility & contrast

On white

2.78
#9C8CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#9C8CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8CFB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8CFB#FFFFFF#000000##000000
##9C8CFB1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#6498F8
Tritanopia (blue-blind)
#82A2B7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9c8cfb;
/* rgb */ color: rgb(156, 140, 251);
/* oklch */ color: oklch(70.2% 0.159 288.2);
Tailwind
colors: {
  custom: {
    50: '#bdadfd',
    500: '#9c8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #9c8cfb;
$custom-light: #bdadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8cfb",
  "rgb": {
    "r": 156,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 248.649,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.70205,
    "c": 0.15888,
    "h": 288.2
  },
  "luminance": 0.32789
}

Semantic roles & 50–950 ramp

primary
#9C8CFB
secondary
#F1F6D5
accent
#E600C4
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #9C8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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