#9C8CFA#9C8CFA

#9C8CFA is a light, vivid blue. Relative luminance 0.327; OKLCH L 70.2% C 0.158 H 288.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9C8CFA
RGBrgb(156, 140, 250)
HSLhsl(249, 92%, 76%)
HSVhsv(249, 44%, 98%)
CMYKcmyk(37.6%, 44%, 0%, 2%)
CIE-LABlab(63.94, 31.19, -53.03)
CIE-LCHlch(63.94, 61.52, 300.46°)
OKLaboklab(70.15% 0.0495 -0.1495)
OKLCHoklch(70.15% 0.158 288.3)
XYZxyz(40.3390, 32.7250, 94.6151)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8CFA #EAFA8C
analogous
#8CB3FA #9C8CFA #D38CFA
triadic
#9C8CFA #FA9C8C #8CFA9C
tetradic
#9C8CFA #FA8CB3 #EAFA8C #8CFAD3
square
#9C8CFA #FA8CB3 #EAFA8C #8CFAD3
split-complementary
#9C8CFA #FAD38C #B3FA8C
monochromatic
#3717F5 #6A51F7 #9C8CFA #CEC7FD #E6E2FE

Accessibility & contrast

On white

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

On black

7.55
#9C8CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8CFA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8CFA#FFFFFF#000000##000000
##9C8CFA1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#6598F7
Tritanopia (blue-blind)
#83A2B7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9c8cfa;
/* rgb */ color: rgb(156, 140, 250);
/* oklch */ color: oklch(70.2% 0.158 288.3);
Tailwind
colors: {
  custom: {
    50: '#bdadfc',
    500: '#9c8cfa',
    950: '#000000',
  },
}
SCSS
$custom: #9c8cfa;
$custom-light: #bdadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8cfa",
  "rgb": {
    "r": 156,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 248.727,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7015,
    "c": 0.15754,
    "h": 288.3
  },
  "luminance": 0.32726
}

Semantic roles & 50–950 ramp

primary
#9C8CFA
secondary
#F1F6D5
accent
#E600C4
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9C8CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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