Skip to content

#ac08cf

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

RGB
172, 8, 207
HSL
289°, 93%, 42%
CMYK
17, 96, 0, 19
Luminance
0.1345

At a glance

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

Hex
#ac08cf
Hue
289°
violet
Saturation
93%
electric
Lightness
42%
dark
Brightness
81%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1345
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.69:1
Closest name
Dark Orchid
ΔE2000 3.5
Where it sits
Hue289° of 360°
Saturation93%
Lightness42%
Temperature
Warm ← → Cool56% 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#ac08cf
RGBrgb(172, 8, 207)
HSLhsl(289, 93%, 42%)
CMYKcmyk(17%, 96%, 0%, 19%)
LABlab(43.4 77.9 -61.6)
LCHlch(43.4 99.3 321.7)
OKLCHoklch(0.548 0.262 318.4)
Decimal11274447
Display P3color(display-p3 0.675 0.031 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac08cf on white: 5.69:1
AA ✓ pass · AA-large · AAA
Aa
#ac08cf on black: 3.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005ED3
deuteranopia · #1C6BCB
tritanopia · #AB467A

Color scale — 50 to 950

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

#FBF2FD
#F7E4FB
#F0C2F9
#E893FB
#DD5DF9
#D227F7
#C409EC
#ac08cf
#82069D
#5F0971
#3B0647
Base = 700Lightest = 50 · #FBF2FDDarkest = 950 · #3B0647
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F7E4FB;
  --brand-200: #F0C2F9;
  --brand-300: #E893FB;
  --brand-400: #DD5DF9;
  --brand-500: #D227F7;
  --brand-600: #C409EC;
  --brand-700: #ac08cf;
  --brand-800: #82069D;
  --brand-900: #5F0971;
  --brand-950: #3B0647;
  --brand: #ac08cf;
  --brand-ink: #ffffff;
}

Colors that work with #ac08cf

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#E5C0ED
Hairlines and dividers
Muted text#8D4B9B
Captions on the surface
Accent#57C804
Second voice, not a rival
Dark variant#66057B
Hover, pressed, headers
Light variant#FAE6FE
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 #ac08cf

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#2BCF08
Analogous left#4808CF
Analogous right#CF088F
Split-complement 1#8FCF08
Split-complement 2#08CF48
Triadic 1#CFAC08
Triadic 2#08CFAC
Tetradic#CF4808

RGB percentages

Red67.5%
Green3.1%
Blue81.2%

CMYK percentages

Cyan16.9%
Magenta96.1%
Yellow0.0%
Key (black)18.8%

Color previews

#ac08cf text on a black background

contrast 3.69:1

Card sample

#ac08cf text on a white background

contrast 5.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac08cf

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.

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

#ac08cf, answered

What color is #ac08cf?

#ac08cf is a dark electric violet, closest to Dark Orchid (ΔE2000 3.5). It sits at 289° on the hue wheel with 93% saturation and 42% lightness, which reads as neutral.

What is the RGB value of #ac08cf?

rgb(172, 8, 207) — 172 red, 8 green and 207 blue out of 255, or 67.5% / 3.1% / 81.2% by channel.

Is #ac08cf a light or a dark color?

It is a dark color. Relative luminance is 0.1345 and perceived brightness is 46%, so white text on it reaches 5.69:1.

Should I use black or white text on #ac08cf?

White. It scores 5.69:1 against #ac08cf, versus 3.69:1 for black — AA at any size.

What is the complementary color of #ac08cf?

#2BCF08 sits directly opposite on the wheel. Softer options are the split-complements #8FCF08 and #08CF48, which give the same contrast with far less vibration.

What colors go well with #ac08cf?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8D4B9B for secondary text, #57C804 as an accent and #66057B for hover and pressed states. For a palette, the analogous pair #4808CF and #CF088F stays calm, while #2BCF08 is the loudest partner.

What is #ac08cf in CMYK for printing?

cmyk(17%, 96%, 0%, 19%). 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 #ac08cf warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF08A9; nudged cooler, #6306D1.

Work with #ac08cf in the Color Lab