Skip to content

#ad7fd3

a light, vivid violet · cool · closest name: Medium Purple

RGB
173, 127, 211
HSL
273°, 49%, 66%
CMYK
18, 40, 0, 17
Luminance
0.2877

At a glance

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

Hex
#ad7fd3
Hue
273°
violet
Saturation
49%
vivid
Lightness
66%
light
Brightness
83%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2877
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
6.75:1
Closest name
Medium Purple
ΔE2000 7.6
Where it sits
Hue273° of 360°
Saturation49%
Lightness66%
Temperature
Warm ← → Cool65% 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#ad7fd3
RGBrgb(173, 127, 211)
HSLhsl(273, 49%, 66%)
CMYKcmyk(18%, 40%, 0%, 17%)
LABlab(60.6 33.6 -36.6)
LCHlch(60.6 49.7 312.6)
OKLCHoklch(0.674 0.130 308.5)
Decimal11370451
Display P3color(display-p3 0.678 0.498 0.827)

Copy-ready code

/* CSS */
color: #ad7fd3;
background-color: #ad7fd3;
/* Tailwind (arbitrary) */
class="text-[#ad7fd3] bg-[#ad7fd3]"
/* SCSS */
$brand: #ad7fd3;
/* SwiftUI */
Color(red: 0.678, green: 0.498, blue: 0.827)
/* Android */
Color.parseColor("#ad7fd3")
/* Flutter */
Color(0xFFAD7FD3)
/* Python / OpenCV (BGR) */
(211, 127, 173)

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

Accessibility — WCAG contrast

Aa
#ad7fd3 on white: 3.11:1
AA ✗ fail · AA-large · AAA
Aa
#ad7fd3 on black: 6.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6D90D6
deuteranopia · #7893D1
tritanopia · #A88C9F

Color scale — 50 to 950

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

#F8F4FA
#F0EAF6
#DFD0EC
#CAACE2
#ad7fd3
#9458C6
#803FB6
#6B3498
#552A79
#402259
#281537
Base = 400Lightest = 50 · #F8F4FADarkest = 950 · #281537
:root {
  --brand-50: #F8F4FA;
  --brand-100: #F0EAF6;
  --brand-200: #DFD0EC;
  --brand-300: #CAACE2;
  --brand-400: #ad7fd3;
  --brand-500: #9458C6;
  --brand-600: #803FB6;
  --brand-700: #6B3498;
  --brand-800: #552A79;
  --brand-900: #402259;
  --brand-950: #281537;
  --brand: #ad7fd3;
  --brand-ink: #000000;
}

Colors that work with #ad7fd3

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#D8C2EA
Hairlines and dividers
Muted text#774B9B
Captions on the surface
Accent#7B9B31
Second voice, not a rival
Dark variant#43215F
Hover, pressed, headers
Light variant#F3ECF8
Selected rows, tints
Dark surface#1D1424
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 #ad7fd3

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
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White 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#A5D37F
Analogous left#837FD3
Analogous right#D37FCF
Split-complement 1#CFD37F
Split-complement 2#7FD383
Triadic 1#D3AD7F
Triadic 2#7FD3AD
Tetradic#D3837F

RGB percentages

Red67.8%
Green49.8%
Blue82.7%

CMYK percentages

Cyan18.0%
Magenta39.8%
Yellow0.0%
Key (black)17.3%

Color previews

#ad7fd3 text on a black background

contrast 6.75:1

Card sample

#ad7fd3 text on a white background

contrast 3.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 127, 211, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 127, 211, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad7fd3;
background: linear-gradient(135deg, #ad7fd3, #D37FC1);

Monochromatic scale

Palettes built from #ad7fd3

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.

#ad7fd3 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
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#ad7fd3, answered

What color is #ad7fd3?

#ad7fd3 is a light vivid violet, closest to Medium Purple (ΔE2000 7.6). It sits at 273° on the hue wheel with 49% saturation and 66% lightness, which reads as cool.

What is the RGB value of #ad7fd3?

rgb(173, 127, 211) — 173 red, 127 green and 211 blue out of 255, or 67.8% / 49.8% / 82.7% by channel.

Is #ad7fd3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2877 and perceived brightness is 60%, so black text on it reaches 6.75:1.

Should I use black or white text on #ad7fd3?

Black. It scores 6.75:1 against #ad7fd3, versus 3.11:1 for white — AA at any size.

What is the complementary color of #ad7fd3?

#A5D37F sits directly opposite on the wheel. Softer options are the split-complements #CFD37F and #7FD383, which give the same contrast with far less vibration.

What colors go well with #ad7fd3?

For interface work: #F8F4FA as the surface, #D8C2EA for borders, #774B9B for secondary text, #7B9B31 as an accent and #43215F for hover and pressed states. For a palette, the analogous pair #837FD3 and #D37FCF stays calm, while #A5D37F is the loudest partner.

What is #ad7fd3 in CMYK for printing?

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

Is #ad7fd3 warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CC7FD3; nudged cooler, #8D7DD5.

Work with #ad7fd3 in the Color Lab