#9C8BF7#9C8BF7

#9C8BF7 is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.8% C 0.155 H 289.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9C8BF7
RGBrgb(156, 139, 247)
HSLhsl(249, 87%, 76%)
HSVhsv(249, 44%, 97%)
CMYKcmyk(36.8%, 43.7%, 0%, 3.1%)
CIE-LABlab(63.55, 30.97, -52.00)
CIE-LCHlch(63.55, 60.52, 300.77°)
OKLaboklab(69.8% 0.0504 -0.1466)
OKLCHoklch(69.8% 0.155 289)
XYZxyz(39.7269, 32.2474, 92.1089)
Luminance0.3225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8BF7 #E6F78B
analogous
#8BB0F7 #9C8BF7 #D28BF7
triadic
#9C8BF7 #F79C8B #8BF79C
tetradic
#9C8BF7 #F78BB0 #E6F78B #8BF7D2
square
#9C8BF7 #F78BB0 #E6F78B #8BF7D2
split-complementary
#9C8BF7 #F7D28B #B0F78B
monochromatic
#3A18EF #6B52F3 #9C8BF7 #CDC4FB #E7E2FD

Accessibility & contrast

On white

2.82
#9C8BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#9C8BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8BF7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8BF7#FFFFFF#000000##000000
##9C8BF71.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFB
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#84A0B5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9c8bf7;
/* rgb */ color: rgb(156, 139, 247);
/* oklch */ color: oklch(69.8% 0.155 289.0);
Tailwind
colors: {
  custom: {
    50: '#bdadfa',
    500: '#9c8bf7',
    950: '#000000',
  },
}
SCSS
$custom: #9c8bf7;
$custom-light: #bdadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8bf7",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 249.444,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69805,
    "c": 0.15497,
    "h": 289
  },
  "luminance": 0.32249
}

Semantic roles & 50–950 ramp

primary
#9C8BF7
secondary
#F0F5D6
accent
#E402C0
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9C8BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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