Skip to content

#9c9ddf

a light, vivid blue · cool · closest name: Cornflower Blue

RGB
156, 157, 223
HSL
239°, 51%, 74%
CMYK
30, 30, 0, 13
Luminance
0.3651

At a glance

Every number on this page in one read: what #9c9ddf is made of, how bright it looks, and which way it leans.

Hex
#9c9ddf
Hue
239°
blue
Saturation
51%
vivid
Lightness
74%
light
Brightness
87%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3651
WCAG relative
Temperature
Cool
84/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
8.30:1
Closest name
Cornflower Blue
ΔE2000 12.1
Where it sits
Hue239° of 360°
Saturation51%
Lightness74%
Temperature
Warm ← → Cool84% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#9c9ddf
RGBrgb(156, 157, 223)
HSLhsl(239, 51%, 74%)
CMYKcmyk(30%, 30%, 0%, 13%)
LABlab(66.9 14.4 -33.5)
LCHlch(66.9 36.5 293.3)
OKLCHoklch(0.720 0.096 283.1)
Decimal10264031
Display P3color(display-p3 0.612 0.616 0.875)

Copy-ready code

/* CSS */
color: #9c9ddf;
background-color: #9c9ddf;
/* Tailwind (arbitrary) */
class="text-[#9c9ddf] bg-[#9c9ddf]"
/* SCSS */
$brand: #9c9ddf;
/* SwiftUI */
Color(red: 0.612, green: 0.616, blue: 0.875)
/* Android */
Color.parseColor("#9c9ddf")
/* Flutter */
Color(0xFF9C9DDF)
/* Python / OpenCV (BGR) */
(223, 157, 156)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #9c9ddf · 8.30:1
Use #000000AAA at every size.
Aa
White text · 2.53:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.30:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #9c9ddf as text scores 2.53:1 on white and 8.30:1 on black.

Accessibility — WCAG contrast

Aa
#9c9ddf on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#9c9ddf on black: 8.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8AA5E2
deuteranopia · #87A1DD
tritanopia · #8BA9B4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9c9ddf is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F4FA
#EAEAF6
#CFCFED
#9c9ddf
#8081D6
#5557C8
#3C3EB9
#32339A
#28297B
#20215A
#141538
Base = 300Lightest = 50 · #F4F4FADarkest = 950 · #141538
:root {
  --brand-50: #F4F4FA;
  --brand-100: #EAEAF6;
  --brand-200: #CFCFED;
  --brand-300: #9c9ddf;
  --brand-400: #8081D6;
  --brand-500: #5557C8;
  --brand-600: #3C3EB9;
  --brand-700: #32339A;
  --brand-800: #28297B;
  --brand-900: #20215A;
  --brand-950: #141538;
  --brand: #9c9ddf;
  --brand-ink: #000000;
}

Colors that work with #9c9ddf

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F4FA
Tinted page background
Border#C1C2EB
Hairlines and dividers
Muted text#4B4C9B
Captions on the surface
Accent#9F802D
Second voice, not a rival
Dark variant#1F2060
Hover, pressed, headers
Light variant#ECECF9
Selected rows, tints
Dark surface#141424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #9c9ddf

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#DFDE9C
Analogous left#9CBEDF
Analogous right#BC9CDF
Split-complement 1#DFBC9C
Split-complement 2#BEDF9C
Triadic 1#DF9C9D
Triadic 2#9DDF9C
Tetradic#DF9CBE

RGB percentages

Red61.2%
Green61.6%
Blue87.5%

CMYK percentages

Cyan30.0%
Magenta29.6%
Yellow0.0%
Key (black)12.5%

Color previews

#9c9ddf text on a black background

contrast 8.30:1

Card sample

#9c9ddf text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9c9ddf;
Background color
Panel with #9c9ddf background
background-color: #9c9ddf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9c9ddf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(156, 157, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(156, 157, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9c9ddf;
background: linear-gradient(135deg, #9c9ddf, #C89CDF);

Monochromatic scale

Palettes built from #9c9ddf

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#9c9ddf in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#9c9ddf, answered

What color is #9c9ddf?

#9c9ddf is a light vivid blue, closest to Cornflower Blue (ΔE2000 12.1). It sits at 239° on the hue wheel with 51% saturation and 74% lightness, which reads as cool.

What is the RGB value of #9c9ddf?

rgb(156, 157, 223) — 156 red, 157 green and 223 blue out of 255, or 61.2% / 61.6% / 87.5% by channel.

Is #9c9ddf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3651 and perceived brightness is 65%, so black text on it reaches 8.30:1.

Should I use black or white text on #9c9ddf?

Black. It scores 8.30:1 against #9c9ddf, versus 2.53:1 for white — AAA at any size.

What is the complementary color of #9c9ddf?

#DFDE9C sits directly opposite on the wheel. Softer options are the split-complements #DFBC9C and #BEDF9C, which give the same contrast with far less vibration.

What colors go well with #9c9ddf?

For interface work: #F4F4FA as the surface, #C1C2EB for borders, #4B4C9B for secondary text, #9F802D as an accent and #1F2060 for hover and pressed states. For a palette, the analogous pair #9CBEDF and #BC9CDF stays calm, while #DFDE9C is the loudest partner.

What is #9c9ddf in CMYK for printing?

cmyk(30%, 30%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #9c9ddf warm or cool?

Cool — it scores 84 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B49CDF; nudged cooler, #9BB3E0.

Work with #9c9ddf in the Color Lab