Skip to content

#ac32fd

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

RGB
172, 50, 253
HSL
276°, 98%, 59%
CMYK
32, 80, 0, 1
Luminance
0.1814

At a glance

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

Hex
#ac32fd
Hue
276°
violet
Saturation
98%
electric
Lightness
59%
balanced
Brightness
99%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1814
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.63:1
Closest name
Dark Orchid
ΔE2000 7.5
Where it sits
Hue276° of 360°
Saturation98%
Lightness59%
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#ac32fd
RGBrgb(172, 50, 253)
HSLhsl(276, 98%, 59%)
CMYKcmyk(32%, 80%, 0%, 1%)
LABlab(49.7 78.3 -77.6)
LCHlch(49.7 110.2 315.3)
OKLCHoklch(0.602 0.275 306.7)
Decimal11285245
Display P3color(display-p3 0.675 0.196 0.992)

Copy-ready code

/* CSS */
color: #ac32fd;
background-color: #ac32fd;
/* Tailwind (arbitrary) */
class="text-[#ac32fd] bg-[#ac32fd]"
/* SCSS */
$brand: #ac32fd;
/* SwiftUI */
Color(red: 0.675, green: 0.196, blue: 0.992)
/* Android */
Color.parseColor("#ac32fd")
/* Flutter */
Color(0xFFAC32FD)
/* Python / OpenCV (BGR) */
(253, 50, 172)

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

Accessibility — WCAG contrast

Aa
#ac32fd on white: 4.54:1
AA ✓ pass · AA-large · AAA
Aa
#ac32fd on black: 4.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0072FF
deuteranopia · #0077F9
tritanopia · #9E699A

Color scale — 50 to 950

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

#F9F1FD
#F2E3FC
#E4C1FB
#D290FE
#BC58FD
#ac32fd
#9302F2
#7A02CA
#6202A2
#480674
#2D0449
Base = 500Lightest = 50 · #F9F1FDDarkest = 950 · #2D0449
:root {
  --brand-50: #F9F1FD;
  --brand-100: #F2E3FC;
  --brand-200: #E4C1FB;
  --brand-300: #D290FE;
  --brand-400: #BC58FD;
  --brand-500: #ac32fd;
  --brand-600: #9302F2;
  --brand-700: #7A02CA;
  --brand-800: #6202A2;
  --brand-900: #480674;
  --brand-950: #2D0449;
  --brand: #ac32fd;
  --brand-ink: #000000;
}

Colors that work with #ac32fd

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#F8F4FA
Tinted page background
Border#DBC0ED
Hairlines and dividers
Muted text#7B4B9B
Captions on the surface
Accent#84CC00
Second voice, not a rival
Dark variant#4C017E
Hover, pressed, headers
Light variant#F5E6FF
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 #ac32fd

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#83FD32
Analogous left#4732FD
Analogous right#FD32E8
Split-complement 1#E8FD32
Split-complement 2#32FD47
Triadic 1#FDAC32
Triadic 2#32FDAC
Tetradic#FD4732

RGB percentages

Red67.5%
Green19.6%
Blue99.2%

CMYK percentages

Cyan32.0%
Magenta80.2%
Yellow0.0%
Key (black)0.8%

Color previews

#ac32fd text on a black background

contrast 4.63:1

Card sample

#ac32fd text on a white background

contrast 4.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 50, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 50, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac32fd;
background: linear-gradient(135deg, #ac32fd, #FD32C7);

Monochromatic scale

Palettes built from #ac32fd

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.

#ac32fd 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ac32fd, answered

What color is #ac32fd?

#ac32fd is a balanced electric violet, closest to Dark Orchid (ΔE2000 7.5). It sits at 276° on the hue wheel with 98% saturation and 59% lightness, which reads as cool.

What is the RGB value of #ac32fd?

rgb(172, 50, 253) — 172 red, 50 green and 253 blue out of 255, or 67.5% / 19.6% / 99.2% by channel.

Is #ac32fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.1814 and perceived brightness is 52%, so black text on it reaches 4.63:1.

Should I use black or white text on #ac32fd?

Black. It scores 4.63:1 against #ac32fd, versus 4.54:1 for white — AA at any size.

What is the complementary color of #ac32fd?

#83FD32 sits directly opposite on the wheel. Softer options are the split-complements #E8FD32 and #32FD47, which give the same contrast with far less vibration.

What colors go well with #ac32fd?

For interface work: #F8F4FA as the surface, #DBC0ED for borders, #7B4B9B for secondary text, #84CC00 as an accent and #4C017E for hover and pressed states. For a palette, the analogous pair #4732FD and #FD32E8 stays calm, while #83FD32 is the loudest partner.

What is #ac32fd in CMYK for printing?

cmyk(32%, 80%, 0%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ac32fd 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 #F732FD; nudged cooler, #6130FF.

Work with #ac32fd in the Color Lab