#9C9AF7#9C9AF7

#9C9AF7 is a light, vivid blue. Relative luminance 0.369; OKLCH L 72.6% C 0.133 H 283.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#9C9AF7
RGBrgb(156, 154, 247)
HSLhsl(241, 85%, 79%)
HSVhsv(241, 38%, 97%)
CMYKcmyk(36.8%, 37.7%, 0%, 3.1%)
CIE-LABlab(67.20, 22.38, -46.24)
CIE-LCHlch(67.20, 51.37, 295.83°)
OKLaboklab(72.58% 0.0312 -0.1297)
OKLCHoklch(72.58% 0.133 283.5)
XYZxyz(42.0497, 36.8931, 92.8832)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9AF7 #F5F79A
analogous
#9AC6F7 #9C9AF7 #CA9AF7
triadic
#9C9AF7 #F79C9A #9AF79C
tetradic
#9C9AF7 #F79AC6 #F5F79A #9AF7CA
square
#9C9AF7 #F79AC6 #F5F79A #9AF7CA
split-complementary
#9C9AF7 #F7CA9A #C6F79A
monochromatic
#2D29EE #6461F3 #9C9AF7 #D4D3FB #E3E3FD

Accessibility & contrast

On white

2.51
#9C9AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#9C9AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9AF7
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9AF7#FFFFFF#000000##000000
##9C9AF71.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FB
Deuteranopia (green-blind)
#78A1F5
Tritanopia (blue-blind)
#83ACBD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9c9af7;
/* rgb */ color: rgb(156, 154, 247);
/* oklch */ color: oklch(72.6% 0.133 283.5);
Tailwind
colors: {
  custom: {
    50: '#bcb7fa',
    500: '#9c9af7',
    950: '#000000',
  },
}
SCSS
$custom: #9c9af7;
$custom-light: #bcb7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9af7",
  "rgb": {
    "r": 156,
    "g": 154,
    "b": 247
  },
  "hsl": {
    "h": 241.29,
    "s": 85.321,
    "l": 78.627
  },
  "oklch": {
    "l": 0.72582,
    "c": 0.13345,
    "h": 283.5
  },
  "luminance": 0.36895
}

Semantic roles & 50–950 ramp

primary
#9C9AF7
secondary
#F4F5D6
accent
#E204DD
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9C9AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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