Skip to content

#9c93df

a light, vivid blue · cool · closest name: Medium Purple

RGB
156, 147, 223
HSL
247°, 54%, 73%
CMYK
30, 34, 0, 13
Luminance
0.3326

At a glance

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

Hex
#9c93df
Hue
247°
blue
Saturation
54%
vivid
Lightness
73%
light
Brightness
87%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3326
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
7.65:1
Closest name
Medium Purple
ΔE2000 10.5
Where it sits
Hue247° of 360°
Saturation54%
Lightness73%
Temperature
Warm ← → Cool79% 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#9c93df
RGBrgb(156, 147, 223)
HSLhsl(247, 54%, 73%)
CMYKcmyk(30%, 34%, 0%, 13%)
LABlab(64.4 20.1 -37.5)
LCHlch(64.4 42.5 298.3)
OKLCHoklch(0.701 0.110 288.6)
Decimal10261471
Display P3color(display-p3 0.612 0.576 0.875)

Copy-ready code

/* CSS */
color: #9c93df;
background-color: #9c93df;
/* Tailwind (arbitrary) */
class="text-[#9c93df] bg-[#9c93df]"
/* SCSS */
$brand: #9c93df;
/* SwiftUI */
Color(red: 0.612, green: 0.576, blue: 0.875)
/* Android */
Color.parseColor("#9c93df")
/* Flutter */
Color(0xFF9C93DF)
/* Python / OpenCV (BGR) */
(223, 147, 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 #9c93df · 7.65:1
Use #000000AAA at every size.
Aa
White text · 2.74:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.65:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #9c93df as text scores 2.74:1 on white and 7.65:1 on black.

Accessibility — WCAG contrast

Aa
#9c93df on white: 2.74:1
AA ✗ fail · AA-large · AAA
Aa
#9c93df on black: 7.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7D9EE2
deuteranopia · #7D9ADD
tritanopia · #8CA1AF

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9c93df 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.

#F5F4FB
#EBE9F6
#D2CEEE
#9c93df
#887DD9
#6052CC
#4838BD
#3C2F9D
#30257E
#261F5C
#181339
Base = 300Lightest = 50 · #F5F4FBDarkest = 950 · #181339
:root {
  --brand-50: #F5F4FB;
  --brand-100: #EBE9F6;
  --brand-200: #D2CEEE;
  --brand-300: #9c93df;
  --brand-400: #887DD9;
  --brand-500: #6052CC;
  --brand-600: #4838BD;
  --brand-700: #3C2F9D;
  --brand-800: #30257E;
  --brand-900: #261F5C;
  --brand-950: #181339;
  --brand: #9c93df;
  --brand-ink: #000000;
}

Colors that work with #9c93df

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#F5F4FA
Tinted page background
Border#C5C0EC
Hairlines and dividers
Muted text#544B9B
Captions on the surface
Accent#A2922A
Second voice, not a rival
Dark variant#251D62
Hover, pressed, headers
Light variant#EDEBF9
Selected rows, tints
Dark surface#161424
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 #9c93df

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#D6DF93
Analogous left#93B0DF
Analogous right#C293DF
Split-complement 1#DFC293
Split-complement 2#B0DF93
Triadic 1#DF9C93
Triadic 2#93DF9C
Tetradic#DF93B0

RGB percentages

Red61.2%
Green57.6%
Blue87.5%

CMYK percentages

Cyan30.0%
Magenta34.1%
Yellow0.0%
Key (black)12.5%

Color previews

#9c93df text on a black background

contrast 7.65:1

Card sample

#9c93df text on a white background

contrast 2.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9c93df

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.

#9c93df 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.

#9c93df, answered

What color is #9c93df?

#9c93df is a light vivid blue, closest to Medium Purple (ΔE2000 10.5). It sits at 247° on the hue wheel with 54% saturation and 73% lightness, which reads as cool.

What is the RGB value of #9c93df?

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

Is #9c93df a light or a dark color?

It is a mid-tone. Relative luminance is 0.3326 and perceived brightness is 63%, so black text on it reaches 7.65:1.

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

Black. It scores 7.65:1 against #9c93df, versus 2.74:1 for white — AAA at any size.

What is the complementary color of #9c93df?

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

What colors go well with #9c93df?

For interface work: #F5F4FA as the surface, #C5C0EC for borders, #544B9B for secondary text, #A2922A as an accent and #251D62 for hover and pressed states. For a palette, the analogous pair #93B0DF and #C293DF stays calm, while #D6DF93 is the loudest partner.

What is #9c93df in CMYK for printing?

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

Is #9c93df warm or cool?

Cool — it scores 79 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B893DF; nudged cooler, #91A5E0.

Work with #9c93df in the Color Lab