Skip to content

#ae7cd3

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

RGB
174, 124, 211
HSL
275°, 50%, 66%
CMYK
18, 41, 0, 17
Luminance
0.2812

At a glance

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

Hex
#ae7cd3
Hue
275°
violet
Saturation
50%
vivid
Lightness
66%
light
Brightness
83%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2812
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
6.62:1
Closest name
Medium Purple
ΔE2000 7.3
Where it sits
Hue275° of 360°
Saturation50%
Lightness66%
Temperature
Warm ← → Cool64% 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#ae7cd3
RGBrgb(174, 124, 211)
HSLhsl(275, 50%, 66%)
CMYKcmyk(18%, 41%, 0%, 17%)
LABlab(60.0 35.6 -37.5)
LCHlch(60.0 51.7 313.5)
OKLCHoklch(0.669 0.135 309.6)
Decimal11435219
Display P3color(display-p3 0.682 0.486 0.827)

Copy-ready code

/* CSS */
color: #ae7cd3;
background-color: #ae7cd3;
/* Tailwind (arbitrary) */
class="text-[#ae7cd3] bg-[#ae7cd3]"
/* SCSS */
$brand: #ae7cd3;
/* SwiftUI */
Color(red: 0.682, green: 0.486, blue: 0.827)
/* Android */
Color.parseColor("#ae7cd3")
/* Flutter */
Color(0xFFAE7CD3)
/* Python / OpenCV (BGR) */
(211, 124, 174)

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

Accessibility — WCAG contrast

Aa
#ae7cd3 on white: 3.17:1
AA ✗ fail · AA-large · AAA
Aa
#ae7cd3 on black: 6.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6A8ED6
deuteranopia · #7691D1
tritanopia · #AA899D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ae7cd3 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
#F1EAF6
#E0CFEC
#CBABE3
#ae7cd3
#9757C7
#843EB7
#6E3399
#58297A
#412159
#291538
Base = 400Lightest = 50 · #F8F4FADarkest = 950 · #291538
:root {
  --brand-50: #F8F4FA;
  --brand-100: #F1EAF6;
  --brand-200: #E0CFEC;
  --brand-300: #CBABE3;
  --brand-400: #ae7cd3;
  --brand-500: #9757C7;
  --brand-600: #843EB7;
  --brand-700: #6E3399;
  --brand-800: #58297A;
  --brand-900: #412159;
  --brand-950: #291538;
  --brand: #ae7cd3;
  --brand-ink: #000000;
}

Colors that work with #ae7cd3

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#D9C2EA
Hairlines and dividers
Muted text#794B9B
Captions on the surface
Accent#799D2F
Second voice, not a rival
Dark variant#45205F
Hover, pressed, headers
Light variant#F3ECF9
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 #ae7cd3

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#A1D37C
Analogous left#837CD3
Analogous right#D37CCC
Split-complement 1#CCD37C
Split-complement 2#7CD383
Triadic 1#D3AE7C
Triadic 2#7CD3AE
Tetradic#D3837C

RGB percentages

Red68.2%
Green48.6%
Blue82.7%

CMYK percentages

Cyan17.5%
Magenta41.2%
Yellow0.0%
Key (black)17.3%

Color previews

#ae7cd3 text on a black background

contrast 6.62:1

Card sample

#ae7cd3 text on a white background

contrast 3.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae7cd3

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.

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

#ae7cd3, answered

What color is #ae7cd3?

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

What is the RGB value of #ae7cd3?

rgb(174, 124, 211) — 174 red, 124 green and 211 blue out of 255, or 68.2% / 48.6% / 82.7% by channel.

Is #ae7cd3 a light or a dark color?

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

Should I use black or white text on #ae7cd3?

Black. It scores 6.62:1 against #ae7cd3, versus 3.17:1 for white — AA at any size.

What is the complementary color of #ae7cd3?

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

What colors go well with #ae7cd3?

For interface work: #F8F4FA as the surface, #D9C2EA for borders, #794B9B for secondary text, #799D2F as an accent and #45205F for hover and pressed states. For a palette, the analogous pair #837CD3 and #D37CCC stays calm, while #A1D37C is the loudest partner.

What is #ae7cd3 in CMYK for printing?

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

Is #ae7cd3 warm or cool?

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

Work with #ae7cd3 in the Color Lab