Skip to content

#ac07db

a dark, electric violet · neutral · closest name: Dark Orchid

RGB
172, 7, 219
HSL
287°, 94%, 44%
CMYK
22, 97, 0, 14
Luminance
0.1404

At a glance

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

Hex
#ac07db
Hue
287°
violet
Saturation
94%
electric
Lightness
44%
dark
Brightness
86%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1404
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.52:1
Closest name
Dark Orchid
ΔE2000 3.6
Where it sits
Hue287° of 360°
Saturation94%
Lightness44%
Temperature
Warm ← → Cool57% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ac07db
RGBrgb(172, 7, 219)
HSLhsl(287, 94%, 44%)
CMYKcmyk(22%, 97%, 0%, 14%)
LABlab(44.3 80.1 -67.1)
LCHlch(44.3 104.5 320.0)
OKLCHoklch(0.557 0.271 315.5)
Decimal11274203
Display P3color(display-p3 0.675 0.027 0.859)

Copy-ready code

/* CSS */
color: #ac07db;
background-color: #ac07db;
/* Tailwind (arbitrary) */
class="text-[#ac07db] bg-[#ac07db]"
/* SCSS */
$brand: #ac07db;
/* SwiftUI */
Color(red: 0.675, green: 0.027, blue: 0.859)
/* Android */
Color.parseColor("#ac07db")
/* Flutter */
Color(0xFFAC07DB)
/* Python / OpenCV (BGR) */
(219, 7, 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#ffffff on #ac07db · 5.52:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.52:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.81:1
AA fail · AA large pass · AAA fail
Reading the other direction: #ac07db as text scores 5.52:1 on white and 3.81:1 on black.

Accessibility — WCAG contrast

Aa
#ac07db on white: 5.52:1
AA ✓ pass · AA-large · AAA
Aa
#ac07db on black: 3.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0061E0
deuteranopia · #006CD7
tritanopia · #A84D81

Color scale — 50 to 950

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

#FBF2FD
#F6E4FB
#EDC2FA
#E492FC
#D75CFA
#C926F8
#ac07db
#9B06C6
#7C059E
#5B0872
#390547
Base = 600Lightest = 50 · #FBF2FDDarkest = 950 · #390547
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F6E4FB;
  --brand-200: #EDC2FA;
  --brand-300: #E492FC;
  --brand-400: #D75CFA;
  --brand-500: #C926F8;
  --brand-600: #ac07db;
  --brand-700: #9B06C6;
  --brand-800: #7C059E;
  --brand-900: #5B0872;
  --brand-950: #390547;
  --brand: #ac07db;
  --brand-ink: #ffffff;
}

Colors that work with #ac07db

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#F9F4FA
Tinted page background
Border#E3C0ED
Hairlines and dividers
Muted text#894B9B
Captions on the surface
Accent#61CA02
Second voice, not a rival
Dark variant#61047C
Hover, pressed, headers
Light variant#F9E6FE
Selected rows, tints
Dark surface#211424
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 #ac07db

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#36DB07
Analogous left#4207DB
Analogous right#DB07A0
Split-complement 1#A0DB07
Split-complement 2#07DB42
Triadic 1#DBAC07
Triadic 2#07DBAC
Tetradic#DB4207

RGB percentages

Red67.5%
Green2.7%
Blue85.9%

CMYK percentages

Cyan21.5%
Magenta96.8%
Yellow0.0%
Key (black)14.1%

Color previews

#ac07db text on a black background

contrast 3.81:1

Card sample

#ac07db text on a white background

contrast 5.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac07db

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.

#ac07db 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.

#ac07db, answered

What color is #ac07db?

#ac07db is a dark electric violet, closest to Dark Orchid (ΔE2000 3.6). It sits at 287° on the hue wheel with 94% saturation and 44% lightness, which reads as neutral.

What is the RGB value of #ac07db?

rgb(172, 7, 219) — 172 red, 7 green and 219 blue out of 255, or 67.5% / 2.7% / 85.9% by channel.

Is #ac07db a light or a dark color?

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

Should I use black or white text on #ac07db?

White. It scores 5.52:1 against #ac07db, versus 3.81:1 for black — AA at any size.

What is the complementary color of #ac07db?

#36DB07 sits directly opposite on the wheel. Softer options are the split-complements #A0DB07 and #07DB42, which give the same contrast with far less vibration.

What colors go well with #ac07db?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #894B9B for secondary text, #61CA02 as an accent and #61047C for hover and pressed states. For a palette, the analogous pair #4207DB and #DB07A0 stays calm, while #36DB07 is the loudest partner.

What is #ac07db in CMYK for printing?

cmyk(22%, 97%, 0%, 14%). 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 #ac07db warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DB07BC; nudged cooler, #5E05DD.

Work with #ac07db in the Color Lab