Skip to content

#9d32df

a balanced, vivid violet · cool · closest name: Dark Orchid

RGB
157, 50, 223
HSL
277°, 73%, 54%
CMYK
30, 78, 0, 13
Luminance
0.1478

At a glance

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

Hex
#9d32df
Hue
277°
violet
Saturation
73%
vivid
Lightness
54%
balanced
Brightness
87%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1478
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
5.31:1
Closest name
Dark Orchid
ΔE2000 2.7
Where it sits
Hue277° of 360°
Saturation73%
Lightness54%
Temperature
Warm ← → Cool63% 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#9d32df
RGBrgb(157, 50, 223)
HSLhsl(277, 73%, 54%)
CMYKcmyk(30%, 78%, 0%, 13%)
LABlab(45.3 69.8 -67.8)
LCHlch(45.3 97.3 315.8)
OKLCHoklch(0.560 0.245 308.3)
Decimal10302175
Display P3color(display-p3 0.616 0.196 0.875)

Copy-ready code

/* CSS */
color: #9d32df;
background-color: #9d32df;
/* Tailwind (arbitrary) */
class="text-[#9d32df] bg-[#9d32df]"
/* SCSS */
$brand: #9d32df;
/* SwiftUI */
Color(red: 0.616, green: 0.196, blue: 0.875)
/* Android */
Color.parseColor("#9d32df")
/* Flutter */
Color(0xFF9D32DF)
/* Python / OpenCV (BGR) */
(223, 50, 157)

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

Accessibility — WCAG contrast

Aa
#9d32df on white: 5.31:1
AA ✓ pass · AA-large · AAA
Aa
#9d32df on black: 3.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0067E4
deuteranopia · #006CDC
tritanopia · #925E88

Color scale — 50 to 950

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

#F8F3FC
#F2E7F8
#E3C9F3
#D19EF0
#B96DE8
#9d32df
#9021D4
#781CB0
#60168D
#471466
#2C0D40
Base = 500Lightest = 50 · #F8F3FCDarkest = 950 · #2C0D40
:root {
  --brand-50: #F8F3FC;
  --brand-100: #F2E7F8;
  --brand-200: #E3C9F3;
  --brand-300: #D19EF0;
  --brand-400: #B96DE8;
  --brand-500: #9d32df;
  --brand-600: #9021D4;
  --brand-700: #781CB0;
  --brand-800: #60168D;
  --brand-900: #471466;
  --brand-950: #2C0D40;
  --brand: #9d32df;
  --brand-ink: #ffffff;
}

Colors that work with #9d32df

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#F8F4FA
Tinted page background
Border#DCC0ED
Hairlines and dividers
Muted text#7C4B9B
Captions on the surface
Accent#7AB517
Second voice, not a rival
Dark variant#4B116E
Hover, pressed, headers
Light variant#F4E9FC
Selected rows, tints
Dark surface#1E1424
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 #9d32df

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

Works well for
  • Body text and links on white
  • 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#74DF32
Analogous left#4632DF
Analogous right#DF32CA
Split-complement 1#CADF32
Split-complement 2#32DF46
Triadic 1#DF9D32
Triadic 2#32DF9D
Tetradic#DF4632

RGB percentages

Red61.6%
Green19.6%
Blue87.5%

CMYK percentages

Cyan29.6%
Magenta77.6%
Yellow0.0%
Key (black)12.5%

Color previews

#9d32df text on a black background

contrast 3.96:1

Card sample

#9d32df text on a white background

contrast 5.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9d32df

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.

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

#9d32df, answered

What color is #9d32df?

#9d32df is a balanced vivid violet, closest to Dark Orchid (ΔE2000 2.7). It sits at 277° on the hue wheel with 73% saturation and 54% lightness, which reads as cool.

What is the RGB value of #9d32df?

rgb(157, 50, 223) — 157 red, 50 green and 223 blue out of 255, or 61.6% / 19.6% / 87.5% by channel.

Is #9d32df a light or a dark color?

It is a dark color. Relative luminance is 0.1478 and perceived brightness is 47%, so white text on it reaches 5.31:1.

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

White. It scores 5.31:1 against #9d32df, versus 3.96:1 for black — AA at any size.

What is the complementary color of #9d32df?

#74DF32 sits directly opposite on the wheel. Softer options are the split-complements #CADF32 and #32DF46, which give the same contrast with far less vibration.

What colors go well with #9d32df?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7C4B9B for secondary text, #7AB517 as an accent and #4B116E for hover and pressed states. For a palette, the analogous pair #4632DF and #DF32CA stays calm, while #74DF32 is the loudest partner.

What is #9d32df in CMYK for printing?

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

Is #9d32df warm or cool?

Cool — it scores 63 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DC32DF; nudged cooler, #5C2FE1.

Work with #9d32df in the Color Lab