#9C9AFB#9C9AFB

#9C9AFB is a light, vivid blue. Relative luminance 0.371; OKLCH L 72.8% C 0.139 H 283.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#9C9AFB
RGBrgb(156, 154, 251)
HSLhsl(241, 92%, 79%)
HSVhsv(241, 39%, 98%)
CMYKcmyk(37.8%, 38.6%, 0%, 1.6%)
CIE-LABlab(67.38, 23.45, -48.13)
CIE-LCHlch(67.38, 53.53, 295.98°)
OKLaboklab(72.79% 0.032 -0.1352)
OKLCHoklch(72.79% 0.139 283.3)
XYZxyz(42.6736, 37.1426, 96.1689)
Luminance0.3714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9AFB #F9FB9A
analogous
#9AC9FB #9C9AFB #CD9AFB
triadic
#9C9AFB #FB9C9A #9AFB9C
tetradic
#9C9AFB #FB9AC9 #F9FB9A #9AFBCD
square
#9C9AFB #FB9AC9 #F9FB9A #9AFBCD
split-complementary
#9C9AFB #FBCD9A #C9FB9A
monochromatic
#2924F6 #625FF9 #9C9AFB #D6D5FD #E2E2FE

Accessibility & contrast

On white

2.49
#9C9AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#9C9AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9AFB
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9AFB#FFFFFF#000000##000000
##9C9AFB1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#81ADBF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9c9afb;
/* rgb */ color: rgb(156, 154, 251);
/* oklch */ color: oklch(72.8% 0.139 283.3);
Tailwind
colors: {
  custom: {
    50: '#bcb7fd',
    500: '#9c9afb',
    950: '#000000',
  },
}
SCSS
$custom: #9c9afb;
$custom-light: #bcb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9afb",
  "rgb": {
    "r": 156,
    "g": 154,
    "b": 251
  },
  "hsl": {
    "h": 241.237,
    "s": 92.381,
    "l": 79.412
  },
  "oklch": {
    "l": 0.72786,
    "c": 0.13897,
    "h": 283.3
  },
  "luminance": 0.37144
}

Semantic roles & 50–950 ramp

primary
#9C9AFB
secondary
#F5F6D5
accent
#E600E1
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9C9AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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