Skip to content

#ad72ec

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

RGB
173, 114, 236
HSL
269°, 76%, 69%
CMYK
27, 52, 0, 8
Luminance
0.2697

At a glance

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

Hex
#ad72ec
Hue
269°
violet
Saturation
76%
electric
Lightness
69%
light
Brightness
93%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2697
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
6.39:1
Closest name
Medium Purple
ΔE2000 5.2
Where it sits
Hue269° of 360°
Saturation76%
Lightness69%
Temperature
Warm ← → Cool67% 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#ad72ec
RGBrgb(173, 114, 236)
HSLhsl(269, 76%, 69%)
CMYKcmyk(27%, 52%, 0%, 8%)
LABlab(59.0 46.5 -53.1)
LCHlch(59.0 70.6 311.2)
OKLCHoklch(0.665 0.181 304.3)
Decimal11367148
Display P3color(display-p3 0.678 0.447 0.925)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad72ec on white: 3.28:1
AA ✗ fail · AA-large · AAA
Aa
#ad72ec on black: 6.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4A8CF0
deuteranopia · #5C8EE9
tritanopia · #A288A4

Color scale — 50 to 950

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

#F7F3FC
#EFE7F9
#DDC8F4
#C59CF2
#ad72ec
#8C39E4
#771DD8
#6318B4
#501390
#3C1268
#250B41
Base = 400Lightest = 50 · #F7F3FCDarkest = 950 · #250B41
:root {
  --brand-50: #F7F3FC;
  --brand-100: #EFE7F9;
  --brand-200: #DDC8F4;
  --brand-300: #C59CF2;
  --brand-400: #ad72ec;
  --brand-500: #8C39E4;
  --brand-600: #771DD8;
  --brand-700: #6318B4;
  --brand-800: #501390;
  --brand-900: #3C1268;
  --brand-950: #250B41;
  --brand: #ad72ec;
  --brand-ink: #000000;
}

Colors that work with #ad72ec

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#F7F4FA
Tinted page background
Border#D5C0ED
Hairlines and dividers
Muted text#714B9B
Captions on the surface
Accent#91B814
Second voice, not a rival
Dark variant#3E0F70
Hover, pressed, headers
Light variant#F2E9FC
Selected rows, tints
Dark surface#1C1424
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 #ad72ec

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#B1EC72
Analogous left#7274EC
Analogous right#EA72EC
Split-complement 1#ECEA72
Split-complement 2#74EC72
Triadic 1#ECAD72
Triadic 2#72ECAD
Tetradic#EC7274

RGB percentages

Red67.8%
Green44.7%
Blue92.5%

CMYK percentages

Cyan26.7%
Magenta51.7%
Yellow0.0%
Key (black)7.5%

Color previews

#ad72ec text on a black background

contrast 6.39:1

Card sample

#ad72ec text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad72ec

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.

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

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

#ad72ec, answered

What color is #ad72ec?

#ad72ec is a light electric violet, closest to Medium Purple (ΔE2000 5.2). It sits at 269° on the hue wheel with 76% saturation and 69% lightness, which reads as cool.

What is the RGB value of #ad72ec?

rgb(173, 114, 236) — 173 red, 114 green and 236 blue out of 255, or 67.8% / 44.7% / 92.5% by channel.

Is #ad72ec a light or a dark color?

It is a mid-tone. Relative luminance is 0.2697 and perceived brightness is 59%, so black text on it reaches 6.39:1.

Should I use black or white text on #ad72ec?

Black. It scores 6.39:1 against #ad72ec, versus 3.28:1 for white — AA at any size.

What is the complementary color of #ad72ec?

#B1EC72 sits directly opposite on the wheel. Softer options are the split-complements #ECEA72 and #74EC72, which give the same contrast with far less vibration.

What colors go well with #ad72ec?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #714B9B for secondary text, #91B814 as an accent and #3E0F70 for hover and pressed states. For a palette, the analogous pair #7274EC and #EA72EC stays calm, while #B1EC72 is the loudest partner.

What is #ad72ec in CMYK for printing?

cmyk(27%, 52%, 0%, 8%). 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 #ad72ec warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DA72EC; nudged cooler, #7F70EE.

Work with #ad72ec in the Color Lab