Skip to content

#905bc9

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

RGB
144, 91, 201
HSL
269°, 51%, 57%
CMYK
28, 55, 0, 21
Luminance
0.1763

At a glance

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

Hex
#905bc9
Hue
269°
violet
Saturation
51%
vivid
Lightness
57%
balanced
Brightness
79%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1763
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
4.64:1
Closest name
Medium Purple
ΔE2000 6.8
Where it sits
Hue269° of 360°
Saturation51%
Lightness57%
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#905bc9
RGBrgb(144, 91, 201)
HSLhsl(269, 51%, 57%)
CMYKcmyk(28%, 55%, 0%, 21%)
LABlab(49.0 43.3 -49.3)
LCHlch(49.0 65.6 311.3)
OKLCHoklch(0.579 0.167 303.9)
Decimal9460681
Display P3color(display-p3 0.565 0.357 0.788)

Copy-ready code

/* CSS */
color: #905bc9;
background-color: #905bc9;
/* Tailwind (arbitrary) */
class="text-[#905bc9] bg-[#905bc9]"
/* SCSS */
$brand: #905bc9;
/* SwiftUI */
Color(red: 0.565, green: 0.357, blue: 0.788)
/* Android */
Color.parseColor("#905bc9")
/* Flutter */
Color(0xFF905BC9)
/* Python / OpenCV (BGR) */
(201, 91, 144)

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#ffffff on #905bc9 · 4.64:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.64:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.53:1
AA pass · AA large pass · AAA fail
Reading the other direction: #905bc9 as text scores 4.64:1 on white and 4.53:1 on black.

Accessibility — WCAG contrast

Aa
#905bc9 on white: 4.64:1
AA ✓ pass · AA-large · AAA
Aa
#905bc9 on black: 4.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3373CD
deuteranopia · #4574C6
tritanopia · #867089

Color scale — 50 to 950

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

#F7F4FA
#EFEAF6
#DDCFED
#C6ABE3
#A980D5
#905bc9
#783DB8
#64329A
#50287B
#3C215A
#261438
Base = 500Lightest = 50 · #F7F4FADarkest = 950 · #261438
:root {
  --brand-50: #F7F4FA;
  --brand-100: #EFEAF6;
  --brand-200: #DDCFED;
  --brand-300: #C6ABE3;
  --brand-400: #A980D5;
  --brand-500: #905bc9;
  --brand-600: #783DB8;
  --brand-700: #64329A;
  --brand-800: #50287B;
  --brand-900: #3C215A;
  --brand-950: #261438;
  --brand: #905bc9;
  --brand-ink: #ffffff;
}

Colors that work with #905bc9

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

Text on it#ffffff
White wins here
Surface#F7F4FA
Tinted page background
Border#D5C2EB
Hairlines and dividers
Muted text#714B9B
Captions on the surface
Accent#849D2F
Second voice, not a rival
Dark variant#3F2060
Hover, pressed, headers
Light variant#F2ECF9
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 #905bc9

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

Works well for
  • Body text and links 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
  • 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#94C95B
Analogous left#5B5DC9
Analogous right#C75BC9
Split-complement 1#C9C75B
Split-complement 2#5DC95B
Triadic 1#C9905B
Triadic 2#5BC990
Tetradic#C95B5D

RGB percentages

Red56.5%
Green35.7%
Blue78.8%

CMYK percentages

Cyan28.4%
Magenta54.7%
Yellow0.0%
Key (black)21.2%

Color previews

#905bc9 text on a black background

contrast 4.53:1

Card sample

#905bc9 text on a white background

contrast 4.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #905bc9;
Background color
Panel with #905bc9 background
background-color: #905bc9;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #905bc9;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(144, 91, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(144, 91, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #905bc9;
background: linear-gradient(135deg, #905bc9, #C95BB9);

Monochromatic scale

Palettes built from #905bc9

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.

#905bc9 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.

#905bc9, answered

What color is #905bc9?

#905bc9 is a balanced vivid violet, closest to Medium Purple (ΔE2000 6.8). It sits at 269° on the hue wheel with 51% saturation and 57% lightness, which reads as cool.

What is the RGB value of #905bc9?

rgb(144, 91, 201) — 144 red, 91 green and 201 blue out of 255, or 56.5% / 35.7% / 78.8% by channel.

Is #905bc9 a light or a dark color?

It is a dark color. Relative luminance is 0.1763 and perceived brightness is 49%, so white text on it reaches 4.64:1.

Should I use black or white text on #905bc9?

White. It scores 4.64:1 against #905bc9, versus 4.53:1 for black — AA at any size.

What is the complementary color of #905bc9?

#94C95B sits directly opposite on the wheel. Softer options are the split-complements #C9C75B and #5DC95B, which give the same contrast with far less vibration.

What colors go well with #905bc9?

For interface work: #F7F4FA as the surface, #D5C2EB for borders, #714B9B for secondary text, #849D2F as an accent and #3F2060 for hover and pressed states. For a palette, the analogous pair #5B5DC9 and #C75BC9 stays calm, while #94C95B is the loudest partner.

What is #905bc9 in CMYK for printing?

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

Is #905bc9 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 #B85BC9; nudged cooler, #6659CB.

Work with #905bc9 in the Color Lab