Skip to content

#9b64af

a balanced, soft violet · cool · closest name: Medium Orchid

RGB
155, 100, 175
HSL
284°, 32%, 54%
CMYK
11, 43, 0, 31
Luminance
0.1918

At a glance

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

Hex
#9b64af
Hue
284°
violet
Saturation
32%
soft
Lightness
54%
balanced
Brightness
69%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1918
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
4.84:1
Closest name
Medium Orchid
ΔE2000 8.1
Where it sits
Hue284° of 360°
Saturation32%
Lightness54%
Temperature
Warm ← → Cool58% 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#9b64af
RGBrgb(155, 100, 175)
HSLhsl(284, 32%, 54%)
CMYKcmyk(11%, 43%, 0%, 31%)
LABlab(50.9 35.5 -31.3)
LCHlch(50.9 47.3 318.6)
OKLCHoklch(0.591 0.126 316.6)
Decimal10183855
Display P3color(display-p3 0.608 0.392 0.686)

Copy-ready code

/* CSS */
color: #9b64af;
background-color: #9b64af;
/* Tailwind (arbitrary) */
class="text-[#9b64af] bg-[#9b64af]"
/* SCSS */
$brand: #9b64af;
/* SwiftUI */
Color(red: 0.608, green: 0.392, blue: 0.686)
/* Android */
Color.parseColor("#9b64af")
/* Flutter */
Color(0xFF9B64AF)
/* Python / OpenCV (BGR) */
(175, 100, 155)

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

Accessibility — WCAG contrast

Aa
#9b64af on white: 4.34:1
AA ✗ fail · AA-large · AAA
Aa
#9b64af on black: 4.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5776B2
deuteranopia · #667BAD
tritanopia · #9A6E81

Color scale — 50 to 950

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

#F8F5F9
#F1ECF4
#E2D5E7
#CFB5D9
#B790C6
#9b64af
#8D53A1
#754587
#5E386C
#462B4F
#2B1B31
Base = 500Lightest = 50 · #F8F5F9Darkest = 950 · #2B1B31
:root {
  --brand-50: #F8F5F9;
  --brand-100: #F1ECF4;
  --brand-200: #E2D5E7;
  --brand-300: #CFB5D9;
  --brand-400: #B790C6;
  --brand-500: #9b64af;
  --brand-600: #8D53A1;
  --brand-700: #754587;
  --brand-800: #5E386C;
  --brand-900: #462B4F;
  --brand-950: #2B1B31;
  --brand: #9b64af;
  --brand-ink: #000000;
}

Colors that work with #9b64af

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#F8F5FA
Tinted page background
Border#DCC9E3
Hairlines and dividers
Muted text#844E97
Captions on the surface
Accent#678B41
Second voice, not a rival
Dark variant#492B54
Hover, pressed, headers
Light variant#F4EEF6
Selected rows, tints
Dark surface#201424
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 #9b64af

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
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#78AF64
Analogous left#7564AF
Analogous right#AF649D
Split-complement 1#9DAF64
Split-complement 2#64AF75
Triadic 1#AF9B64
Triadic 2#64AF9B
Tetradic#AF7564

RGB percentages

Red60.8%
Green39.2%
Blue68.6%

CMYK percentages

Cyan11.4%
Magenta42.9%
Yellow0.0%
Key (black)31.4%

Color previews

#9b64af text on a black background

contrast 4.84:1

Card sample

#9b64af text on a white background

contrast 4.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(155, 100, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 100, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b64af;
background: linear-gradient(135deg, #9b64af, #AF6491);

Monochromatic scale

Palettes built from #9b64af

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.

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

#9b64af, answered

What color is #9b64af?

#9b64af is a balanced soft violet, closest to Medium Orchid (ΔE2000 8.1). It sits at 284° on the hue wheel with 32% saturation and 54% lightness, which reads as cool.

What is the RGB value of #9b64af?

rgb(155, 100, 175) — 155 red, 100 green and 175 blue out of 255, or 60.8% / 39.2% / 68.6% by channel.

Is #9b64af a light or a dark color?

It is a mid-tone. Relative luminance is 0.1918 and perceived brightness is 50%, so black text on it reaches 4.84:1.

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

Black. It scores 4.84:1 against #9b64af, versus 4.34:1 for white — AA at any size.

What is the complementary color of #9b64af?

#78AF64 sits directly opposite on the wheel. Softer options are the split-complements #9DAF64 and #64AF75, which give the same contrast with far less vibration.

What colors go well with #9b64af?

For interface work: #F8F5FA as the surface, #DCC9E3 for borders, #844E97 for secondary text, #678B41 as an accent and #492B54 for hover and pressed states. For a palette, the analogous pair #7564AF and #AF649D stays calm, while #78AF64 is the loudest partner.

What is #9b64af in CMYK for printing?

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

Is #9b64af warm or cool?

Cool — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF64A7; nudged cooler, #7F62B1.

Work with #9b64af in the Color Lab