Skip to content

#ac7dbf

a balanced, soft violet · cool · closest name: Orchid

RGB
172, 125, 191
HSL
283°, 34%, 62%
CMYK
10, 35, 0, 25
Luminance
0.2720

At a glance

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

Hex
#ac7dbf
Hue
283°
violet
Saturation
34%
soft
Lightness
62%
balanced
Brightness
75%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2720
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
6.44:1
Closest name
Orchid
ΔE2000 9.3
Where it sits
Hue283° of 360°
Saturation34%
Lightness62%
Temperature
Warm ← → Cool59% 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#ac7dbf
RGBrgb(172, 125, 191)
HSLhsl(283, 34%, 62%)
CMYKcmyk(10%, 35%, 0%, 25%)
LABlab(59.2 30.1 -27.5)
LCHlch(59.2 40.8 317.6)
OKLCHoklch(0.660 0.108 315.9)
Decimal11304383
Display P3color(display-p3 0.675 0.490 0.749)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac7dbf on white: 3.26:1
AA ✗ fail · AA-large · AAA
Aa
#ac7dbf on black: 6.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #738BC2
deuteranopia · #7E90BD
tritanopia · #AB8595

Color scale — 50 to 950

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

#F8F5F9
#F1ECF4
#E2D4E8
#CFB4DA
#ac7dbf
#9F69B5
#8C51A4
#754389
#5D366D
#452A50
#2B1A32
Base = 400Lightest = 50 · #F8F5F9Darkest = 950 · #2B1A32
:root {
  --brand-50: #F8F5F9;
  --brand-100: #F1ECF4;
  --brand-200: #E2D4E8;
  --brand-300: #CFB4DA;
  --brand-400: #ac7dbf;
  --brand-500: #9F69B5;
  --brand-600: #8C51A4;
  --brand-700: #754389;
  --brand-800: #5D366D;
  --brand-900: #452A50;
  --brand-950: #2B1A32;
  --brand: #ac7dbf;
  --brand-ink: #000000;
}

Colors that work with #ac7dbf

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#F8F5FA
Tinted page background
Border#DCC8E4
Hairlines and dividers
Muted text#834C9A
Captions on the surface
Accent#698D3F
Second voice, not a rival
Dark variant#492A55
Hover, pressed, headers
Light variant#F4EEF7
Selected rows, tints
Dark surface#201424
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 #ac7dbf

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#90BF7D
Analogous left#8B7DBF
Analogous right#BF7DB1
Split-complement 1#B1BF7D
Split-complement 2#7DBF8B
Triadic 1#BFAC7D
Triadic 2#7DBFAC
Tetradic#BF8B7D

RGB percentages

Red67.5%
Green49.0%
Blue74.9%

CMYK percentages

Cyan9.9%
Magenta34.6%
Yellow0.0%
Key (black)25.1%

Color previews

#ac7dbf text on a black background

contrast 6.44:1

Card sample

#ac7dbf text on a white background

contrast 3.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac7dbf

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.

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

#ac7dbf, answered

What color is #ac7dbf?

#ac7dbf is a balanced soft violet, closest to Orchid (ΔE2000 9.3). It sits at 283° on the hue wheel with 34% saturation and 62% lightness, which reads as cool.

What is the RGB value of #ac7dbf?

rgb(172, 125, 191) — 172 red, 125 green and 191 blue out of 255, or 67.5% / 49% / 74.9% by channel.

Is #ac7dbf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2720 and perceived brightness is 58%, so black text on it reaches 6.44:1.

Should I use black or white text on #ac7dbf?

Black. It scores 6.44:1 against #ac7dbf, versus 3.26:1 for white — AA at any size.

What is the complementary color of #ac7dbf?

#90BF7D sits directly opposite on the wheel. Softer options are the split-complements #B1BF7D and #7DBF8B, which give the same contrast with far less vibration.

What colors go well with #ac7dbf?

For interface work: #F8F5FA as the surface, #DCC8E4 for borders, #834C9A for secondary text, #698D3F as an accent and #492A55 for hover and pressed states. For a palette, the analogous pair #8B7DBF and #BF7DB1 stays calm, while #90BF7D is the loudest partner.

What is #ac7dbf in CMYK for printing?

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

Is #ac7dbf warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BF7DBA; nudged cooler, #937BC1.

Work with #ac7dbf in the Color Lab