Skip to content

#9f60df

a balanced, vivid violet · cool · closest name: Medium Purple

RGB
159, 96, 223
HSL
270°, 67%, 63%
CMYK
29, 57, 0, 13
Luminance
0.2106

At a glance

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

Hex
#9f60df
Hue
270°
violet
Saturation
67%
vivid
Lightness
63%
balanced
Brightness
87%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2106
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.21:1
Closest name
Medium Purple
ΔE2000 4.9
Where it sits
Hue270° of 360°
Saturation67%
Lightness63%
Temperature
Warm ← → Cool67% 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#9f60df
RGBrgb(159, 96, 223)
HSLhsl(270, 67%, 63%)
CMYKcmyk(29%, 57%, 0%, 13%)
LABlab(53.0 49.6 -55.4)
LCHlch(53.0 74.3 311.8)
OKLCHoklch(0.616 0.189 304.3)
Decimal10445023
Display P3color(display-p3 0.624 0.376 0.875)

Copy-ready code

/* CSS */
color: #9f60df;
background-color: #9f60df;
/* Tailwind (arbitrary) */
class="text-[#9f60df] bg-[#9f60df]"
/* SCSS */
$brand: #9f60df;
/* SwiftUI */
Color(red: 0.624, green: 0.376, blue: 0.875)
/* Android */
Color.parseColor("#9f60df")
/* Flutter */
Color(0xFF9F60DF)
/* Python / OpenCV (BGR) */
(223, 96, 159)

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 #9f60df · 5.21:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.03:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.21:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #9f60df as text scores 4.03:1 on white and 5.21:1 on black.

Accessibility — WCAG contrast

Aa
#9f60df on white: 4.03:1
AA ✗ fail · AA-large · AAA
Aa
#9f60df on black: 5.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2C7DE3
deuteranopia · #457FDC
tritanopia · #947996

Color scale — 50 to 950

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

#F7F3FB
#F0E8F8
#DECAF1
#C7A2EC
#9f60df
#8E44D9
#7A29CC
#6622AA
#511B88
#3D1863
#260F3E
Base = 400Lightest = 50 · #F7F3FBDarkest = 950 · #260F3E
:root {
  --brand-50: #F7F3FB;
  --brand-100: #F0E8F8;
  --brand-200: #DECAF1;
  --brand-300: #C7A2EC;
  --brand-400: #9f60df;
  --brand-500: #8E44D9;
  --brand-600: #7A29CC;
  --brand-700: #6622AA;
  --brand-800: #511B88;
  --brand-900: #3D1863;
  --brand-950: #260F3E;
  --brand: #9f60df;
  --brand-ink: #000000;
}

Colors that work with #9f60df

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#F7F4FA
Tinted page background
Border#D6C0ED
Hairlines and dividers
Muted text#724B9B
Captions on the surface
Accent#8BAE1E
Second voice, not a rival
Dark variant#3F156A
Hover, pressed, headers
Light variant#F2EAFB
Selected rows, tints
Dark surface#1C1424
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 #9f60df

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#A0DF60
Analogous left#6060DF
Analogous right#DF60DF
Split-complement 1#DFDF60
Split-complement 2#60DF60
Triadic 1#DF9F60
Triadic 2#60DF9F
Tetradic#DF6060

RGB percentages

Red62.4%
Green37.6%
Blue87.5%

CMYK percentages

Cyan28.7%
Magenta57.0%
Yellow0.0%
Key (black)12.5%

Color previews

#9f60df text on a black background

contrast 5.21:1

Card sample

#9f60df text on a white background

contrast 4.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9f60df

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.

#9f60df in the real world

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

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#9f60df, answered

What color is #9f60df?

#9f60df is a balanced vivid violet, closest to Medium Purple (ΔE2000 4.9). It sits at 270° on the hue wheel with 67% saturation and 63% lightness, which reads as cool.

What is the RGB value of #9f60df?

rgb(159, 96, 223) — 159 red, 96 green and 223 blue out of 255, or 62.4% / 37.6% / 87.5% by channel.

Is #9f60df a light or a dark color?

It is a mid-tone. Relative luminance is 0.2106 and perceived brightness is 54%, so black text on it reaches 5.21:1.

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

Black. It scores 5.21:1 against #9f60df, versus 4.03:1 for white — AA at any size.

What is the complementary color of #9f60df?

#A0DF60 sits directly opposite on the wheel. Softer options are the split-complements #DFDF60 and #60DF60, which give the same contrast with far less vibration.

What colors go well with #9f60df?

For interface work: #F7F4FA as the surface, #D6C0ED for borders, #724B9B for secondary text, #8BAE1E as an accent and #3F156A for hover and pressed states. For a palette, the analogous pair #6060DF and #DF60DF stays calm, while #A0DF60 is the loudest partner.

What is #9f60df in CMYK for printing?

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

Is #9f60df warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CE60DF; nudged cooler, #6F5EE1.

Work with #9f60df in the Color Lab