Skip to content

#9f91cf

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

RGB
159, 145, 207
HSL
254°, 39%, 69%
CMYK
23, 30, 0, 19
Luminance
0.3213

At a glance

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

Hex
#9f91cf
Hue
254°
blue
Saturation
39%
soft
Lightness
69%
light
Brightness
81%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3213
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
7.43:1
Closest name
Medium Purple
ΔE2000 11.1
Where it sits
Hue254° of 360°
Saturation39%
Lightness69%
Temperature
Warm ← → Cool76% 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#9f91cf
RGBrgb(159, 145, 207)
HSLhsl(254, 39%, 69%)
CMYKcmyk(23%, 30%, 0%, 19%)
LABlab(63.5 18.3 -30.0)
LCHlch(63.5 35.1 301.3)
OKLCHoklch(0.692 0.091 294.3)
Decimal10457551
Display P3color(display-p3 0.624 0.569 0.812)

Copy-ready code

/* CSS */
color: #9f91cf;
background-color: #9f91cf;
/* Tailwind (arbitrary) */
class="text-[#9f91cf] bg-[#9f91cf]"
/* SCSS */
$brand: #9f91cf;
/* SwiftUI */
Color(red: 0.624, green: 0.569, blue: 0.812)
/* Android */
Color.parseColor("#9f91cf")
/* Flutter */
Color(0xFF9F91CF)
/* Python / OpenCV (BGR) */
(207, 145, 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 #9f91cf · 7.43:1
Use #000000AAA at every size.
Aa
White text · 2.83:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.43:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #9f91cf as text scores 2.83:1 on white and 7.43:1 on black.

Accessibility — WCAG contrast

Aa
#9f91cf on white: 2.83:1
AA ✗ fail · AA-large · AAA
Aa
#9f91cf on black: 7.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #829AD2
deuteranopia · #8399CD
tritanopia · #959BA7

Color scale — 50 to 950

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

#F6F5FA
#EDEBF4
#D8D2E9
#BBB1DD
#9f91cf
#7763BB
#604AAA
#503E8E
#403272
#312753
#1F1834
Base = 400Lightest = 50 · #F6F5FADarkest = 950 · #1F1834
:root {
  --brand-50: #F6F5FA;
  --brand-100: #EDEBF4;
  --brand-200: #D8D2E9;
  --brand-300: #BBB1DD;
  --brand-400: #9f91cf;
  --brand-500: #7763BB;
  --brand-600: #604AAA;
  --brand-700: #503E8E;
  --brand-800: #403272;
  --brand-900: #312753;
  --brand-950: #1F1834;
  --brand: #9f91cf;
  --brand-ink: #000000;
}

Colors that work with #9f91cf

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#F6F4FA
Tinted page background
Border#CDC6E6
Hairlines and dividers
Muted text#5D4B9B
Captions on the surface
Accent#928F3A
Second voice, not a rival
Dark variant#322759
Hover, pressed, headers
Light variant#F0EDF7
Selected rows, tints
Dark surface#171424
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 #9f91cf

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#C1CF91
Analogous left#91A2CF
Analogous right#BE91CF
Split-complement 1#CFBE91
Split-complement 2#A2CF91
Triadic 1#CF9F91
Triadic 2#91CF9F
Tetradic#CF91A2

RGB percentages

Red62.4%
Green56.9%
Blue81.2%

CMYK percentages

Cyan23.2%
Magenta30.0%
Yellow0.0%
Key (black)18.8%

Color previews

#9f91cf text on a black background

contrast 7.43:1

Card sample

#9f91cf text on a white background

contrast 2.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9f91cf

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.

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

#9f91cf, answered

What color is #9f91cf?

#9f91cf is a light soft blue, closest to Medium Purple (ΔE2000 11.1). It sits at 254° on the hue wheel with 39% saturation and 69% lightness, which reads as cool.

What is the RGB value of #9f91cf?

rgb(159, 145, 207) — 159 red, 145 green and 207 blue out of 255, or 62.4% / 56.9% / 81.2% by channel.

Is #9f91cf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3213 and perceived brightness is 62%, so black text on it reaches 7.43:1.

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

Black. It scores 7.43:1 against #9f91cf, versus 2.83:1 for white — AAA at any size.

What is the complementary color of #9f91cf?

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

What colors go well with #9f91cf?

For interface work: #F6F4FA as the surface, #CDC6E6 for borders, #5D4B9B for secondary text, #928F3A as an accent and #322759 for hover and pressed states. For a palette, the analogous pair #91A2CF and #BE91CF stays calm, while #C1CF91 is the loudest partner.

What is #9f91cf in CMYK for printing?

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

Is #9f91cf warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B691CF; nudged cooler, #8F99D1.

Work with #9f91cf in the Color Lab