#9C8CF8#9C8CF8

#9C8CF8 is a light, vivid blue. Relative luminance 0.326; OKLCH L 70.0% C 0.155 H 288.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9C8CF8
RGBrgb(156, 140, 248)
HSLhsl(249, 89%, 76%)
HSVhsv(249, 44%, 97%)
CMYKcmyk(37.1%, 43.5%, 0%, 2.7%)
CIE-LABlab(63.84, 30.66, -52.09)
CIE-LCHlch(63.84, 60.45, 300.48°)
OKLaboklab(70.04% 0.0492 -0.1468)
OKLCHoklch(70.04% 0.155 288.5)
XYZxyz(40.0270, 32.6002, 92.9723)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8CF8 #E8F88C
analogous
#8CB2F8 #9C8CF8 #D28CF8
triadic
#9C8CF8 #F89C8C #8CF89C
tetradic
#9C8CF8 #F88CB2 #E8F88C #8CF8D2
square
#9C8CF8 #F88CB2 #E8F88C #8CF8D2
split-complementary
#9C8CF8 #F8D28C #B2F88C
monochromatic
#3919F1 #6A52F4 #9C8CF8 #CEC6FC #E6E2FD

Accessibility & contrast

On white

2.79
#9C8CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#9C8CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8CF8
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8CF8#FFFFFF#000000##000000
##9C8CF81.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#6698F5
Tritanopia (blue-blind)
#84A1B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9c8cf8;
/* rgb */ color: rgb(156, 140, 248);
/* oklch */ color: oklch(70.0% 0.155 288.5);
Tailwind
colors: {
  custom: {
    50: '#bdadfb',
    500: '#9c8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #9c8cf8;
$custom-light: #bdadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8cf8",
  "rgb": {
    "r": 156,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 248.889,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7004,
    "c": 0.15486,
    "h": 288.5
  },
  "luminance": 0.32601
}

Semantic roles & 50–950 ramp

primary
#9C8CF8
secondary
#F1F5D6
accent
#E500C3
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9C8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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