Skip to content

#ae7dec

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

RGB
174, 125, 236
HSL
267°, 75%, 71%
CMYK
26, 47, 0, 8
Luminance
0.2972

At a glance

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

Hex
#ae7dec
Hue
267°
violet
Saturation
75%
vivid
Lightness
71%
light
Brightness
93%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2972
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
6.94:1
Closest name
Medium Purple
ΔE2000 6.2
Where it sits
Hue267° of 360°
Saturation75%
Lightness71%
Temperature
Warm ← → Cool69% 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#ae7dec
RGBrgb(174, 125, 236)
HSLhsl(267, 75%, 71%)
CMYKcmyk(26%, 47%, 0%, 8%)
LABlab(61.4 40.8 -49.2)
LCHlch(61.4 63.9 309.6)
OKLCHoklch(0.684 0.164 302.7)
Decimal11435500
Display P3color(display-p3 0.682 0.490 0.925)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae7dec on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#ae7dec on black: 6.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5D93F0
deuteranopia · #6994E9
tritanopia · #A391A9

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ae7dec 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
#DBC8F4
#C29DF1
#ae7dec
#853BE2
#701FD6
#5D1AB2
#4B158E
#381367
#230C40
Base = 400Lightest = 50 · #F7F3FCDarkest = 950 · #230C40
:root {
  --brand-50: #F7F3FC;
  --brand-100: #EFE7F9;
  --brand-200: #DBC8F4;
  --brand-300: #C29DF1;
  --brand-400: #ae7dec;
  --brand-500: #853BE2;
  --brand-600: #701FD6;
  --brand-700: #5D1AB2;
  --brand-800: #4B158E;
  --brand-900: #381367;
  --brand-950: #230C40;
  --brand: #ae7dec;
  --brand-ink: #000000;
}

Colors that work with #ae7dec

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#D4C0ED
Hairlines and dividers
Muted text#6E4B9B
Captions on the surface
Accent#98B616
Second voice, not a rival
Dark variant#3A106F
Hover, pressed, headers
Light variant#F1E9FC
Selected rows, tints
Dark surface#1B1424
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 #ae7dec

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#BBEC7D
Analogous left#7D84EC
Analogous right#E67DEC
Split-complement 1#ECE67D
Split-complement 2#84EC7D
Triadic 1#ECAE7D
Triadic 2#7DECAE
Tetradic#EC7D84

RGB percentages

Red68.2%
Green49.0%
Blue92.5%

CMYK percentages

Cyan26.3%
Magenta47.0%
Yellow0.0%
Key (black)7.5%

Color previews

#ae7dec text on a black background

contrast 6.94:1

Card sample

#ae7dec text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae7dec

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.

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

#ae7dec, answered

What color is #ae7dec?

#ae7dec is a light vivid violet, closest to Medium Purple (ΔE2000 6.2). It sits at 267° on the hue wheel with 75% saturation and 71% lightness, which reads as cool.

What is the RGB value of #ae7dec?

rgb(174, 125, 236) — 174 red, 125 green and 236 blue out of 255, or 68.2% / 49% / 92.5% by channel.

Is #ae7dec a light or a dark color?

It is a mid-tone. Relative luminance is 0.2972 and perceived brightness is 61%, so black text on it reaches 6.94:1.

Should I use black or white text on #ae7dec?

Black. It scores 6.94:1 against #ae7dec, versus 3.02:1 for white — AA at any size.

What is the complementary color of #ae7dec?

#BBEC7D sits directly opposite on the wheel. Softer options are the split-complements #ECE67D and #84EC7D, which give the same contrast with far less vibration.

What colors go well with #ae7dec?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #6E4B9B for secondary text, #98B616 as an accent and #3A106F for hover and pressed states. For a palette, the analogous pair #7D84EC and #E67DEC stays calm, while #BBEC7D is the loudest partner.

What is #ae7dec in CMYK for printing?

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

Is #ae7dec warm or cool?

Cool — it scores 69 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D77DEC; nudged cooler, #847CEE.

Work with #ae7dec in the Color Lab