Skip to content

#9752df

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

RGB
151, 82, 223
HSL
269°, 69%, 60%
CMYK
32, 63, 0, 13
Luminance
0.1794

At a glance

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

Hex
#9752df
Hue
269°
violet
Saturation
69%
vivid
Lightness
60%
balanced
Brightness
87%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1794
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
4.59:1
Closest name
Dark Orchid
ΔE2000 7.1
Where it sits
Hue269° of 360°
Saturation69%
Lightness60%
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#9752df
RGBrgb(151, 82, 223)
HSLhsl(269, 69%, 60%)
CMYKcmyk(32%, 63%, 0%, 13%)
LABlab(49.4 55.0 -61.2)
LCHlch(49.4 82.3 311.9)
OKLCHoklch(0.588 0.207 303.0)
Decimal9917151
Display P3color(display-p3 0.592 0.322 0.875)

Copy-ready code

/* CSS */
color: #9752df;
background-color: #9752df;
/* Tailwind (arbitrary) */
class="text-[#9752df] bg-[#9752df]"
/* SCSS */
$brand: #9752df;
/* SwiftUI */
Color(red: 0.592, green: 0.322, blue: 0.875)
/* Android */
Color.parseColor("#9752df")
/* Flutter */
Color(0xFF9752DF)
/* Python / OpenCV (BGR) */
(223, 82, 151)

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

Accessibility — WCAG contrast

Aa
#9752df on white: 4.58:1
AA ✓ pass · AA-large · AAA
Aa
#9752df on black: 4.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0074E3
deuteranopia · #2575DC
tritanopia · #897091

Color scale — 50 to 950

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

#F7F3FB
#F0E7F8
#DDCAF2
#C6A0ED
#AA71E5
#9752df
#7926CF
#6520AC
#50198A
#3C1664
#260E3E
Base = 500Lightest = 50 · #F7F3FBDarkest = 950 · #260E3E
:root {
  --brand-50: #F7F3FB;
  --brand-100: #F0E7F8;
  --brand-200: #DDCAF2;
  --brand-300: #C6A0ED;
  --brand-400: #AA71E5;
  --brand-500: #9752df;
  --brand-600: #7926CF;
  --brand-700: #6520AC;
  --brand-800: #50198A;
  --brand-900: #3C1664;
  --brand-950: #260E3E;
  --brand: #9752df;
  --brand-ink: #000000;
}

Colors that work with #9752df

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#8CB01C
Second voice, not a rival
Dark variant#3F146C
Hover, pressed, headers
Light variant#F2E9FB
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 #9752df

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#9ADF52
Analogous left#5253DF
Analogous right#DE52DF
Split-complement 1#DFDE52
Split-complement 2#53DF52
Triadic 1#DF9752
Triadic 2#52DF97
Tetradic#DF5253

RGB percentages

Red59.2%
Green32.2%
Blue87.5%

CMYK percentages

Cyan32.3%
Magenta63.2%
Yellow0.0%
Key (black)12.5%

Color previews

#9752df text on a black background

contrast 4.59:1

Card sample

#9752df text on a white background

contrast 4.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9752df;
Background color
Panel with #9752df background
background-color: #9752df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9752df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(151, 82, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 82, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9752df;
background: linear-gradient(135deg, #9752df, #DF52C9);

Monochromatic scale

Palettes built from #9752df

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.

#9752df 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.

#9752df, answered

What color is #9752df?

#9752df is a balanced vivid violet, closest to Dark Orchid (ΔE2000 7.1). It sits at 269° on the hue wheel with 69% saturation and 60% lightness, which reads as cool.

What is the RGB value of #9752df?

rgb(151, 82, 223) — 151 red, 82 green and 223 blue out of 255, or 59.2% / 32.2% / 87.5% by channel.

Is #9752df a light or a dark color?

It is a dark color. Relative luminance is 0.1794 and perceived brightness is 50%, so black text on it reaches 4.59:1.

Should I use black or white text on #9752df?

Black. It scores 4.59:1 against #9752df, versus 4.58:1 for white — AA at any size.

What is the complementary color of #9752df?

#9ADF52 sits directly opposite on the wheel. Softer options are the split-complements #DFDE52 and #53DF52, which give the same contrast with far less vibration.

What colors go well with #9752df?

For interface work: #F7F4FA as the surface, #D6C0ED for borders, #724B9B for secondary text, #8CB01C as an accent and #3F146C for hover and pressed states. For a palette, the analogous pair #5253DF and #DE52DF stays calm, while #9ADF52 is the loudest partner.

What is #9752df in CMYK for printing?

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

Is #9752df 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 #CB52DF; nudged cooler, #6250E1.

Work with #9752df in the Color Lab