Skip to content

#ae8df1

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

RGB
174, 141, 241
HSL
260°, 78%, 75%
CMYK
28, 42, 0, 6
Luminance
0.3440

At a glance

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

Hex
#ae8df1
Hue
260°
violet
Saturation
78%
electric
Lightness
75%
light
Brightness
95%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3440
WCAG relative
Temperature
Cool
72/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.88:1
Closest name
Medium Purple
ΔE2000 9.2
Where it sits
Hue260° of 360°
Saturation78%
Lightness75%
Temperature
Warm ← → Cool72% 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#ae8df1
RGBrgb(174, 141, 241)
HSLhsl(260, 78%, 75%)
CMYKcmyk(28%, 42%, 0%, 6%)
LABlab(65.3 33.1 -45.9)
LCHlch(65.3 56.5 305.8)
OKLCHoklch(0.714 0.145 297.8)
Decimal11439601
Display P3color(display-p3 0.682 0.553 0.945)

Copy-ready code

/* CSS */
color: #ae8df1;
background-color: #ae8df1;
/* Tailwind (arbitrary) */
class="text-[#ae8df1] bg-[#ae8df1]"
/* SCSS */
$brand: #ae8df1;
/* SwiftUI */
Color(red: 0.682, green: 0.553, blue: 0.945)
/* Android */
Color.parseColor("#ae8df1")
/* Flutter */
Color(0xFFAE8DF1)
/* Python / OpenCV (BGR) */
(241, 141, 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 #ae8df1 · 7.88:1
Use #000000AAA at every size.
Aa
White text · 2.67:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.88:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ae8df1 as text scores 2.67:1 on white and 7.88:1 on black.

Accessibility — WCAG contrast

Aa
#ae8df1 on white: 2.67:1
AA ✗ fail · AA-large · AAA
Aa
#ae8df1 on black: 7.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #719FF5
deuteranopia · #779DEE
tritanopia · #A09FB3

Color scale — 50 to 950

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

#F6F3FC
#EDE6F9
#D6C7F5
#ae8df1
#9569ED
#7137E6
#5A1BDA
#4B16B6
#3C1291
#2E1169
#1D0B42
Base = 300Lightest = 50 · #F6F3FCDarkest = 950 · #1D0B42
:root {
  --brand-50: #F6F3FC;
  --brand-100: #EDE6F9;
  --brand-200: #D6C7F5;
  --brand-300: #ae8df1;
  --brand-400: #9569ED;
  --brand-500: #7137E6;
  --brand-600: #5A1BDA;
  --brand-700: #4B16B6;
  --brand-800: #3C1291;
  --brand-900: #2E1169;
  --brand-950: #1D0B42;
  --brand: #ae8df1;
  --brand-ink: #000000;
}

Colors that work with #ae8df1

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#F6F4FA
Tinted page background
Border#CFC0ED
Hairlines and dividers
Muted text#654B9B
Captions on the surface
Accent#ACBA12
Second voice, not a rival
Dark variant#2F0E72
Hover, pressed, headers
Light variant#EFE8FC
Selected rows, tints
Dark surface#191424
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 #ae8df1

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#D0F18D
Analogous left#8D9EF1
Analogous right#E08DF1
Split-complement 1#F1E08D
Split-complement 2#9EF18D
Triadic 1#F1AE8D
Triadic 2#8DF1AE
Tetradic#F18D9E

RGB percentages

Red68.2%
Green55.3%
Blue94.5%

CMYK percentages

Cyan27.8%
Magenta41.5%
Yellow0.0%
Key (black)5.5%

Color previews

#ae8df1 text on a black background

contrast 7.88:1

Card sample

#ae8df1 text on a white background

contrast 2.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae8df1

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.

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

#ae8df1, answered

What color is #ae8df1?

#ae8df1 is a light electric violet, closest to Medium Purple (ΔE2000 9.2). It sits at 260° on the hue wheel with 78% saturation and 75% lightness, which reads as cool.

What is the RGB value of #ae8df1?

rgb(174, 141, 241) — 174 red, 141 green and 241 blue out of 255, or 68.2% / 55.3% / 94.5% by channel.

Is #ae8df1 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3440 and perceived brightness is 65%, so black text on it reaches 7.88:1.

Should I use black or white text on #ae8df1?

Black. It scores 7.88:1 against #ae8df1, versus 2.67:1 for white — AAA at any size.

What is the complementary color of #ae8df1?

#D0F18D sits directly opposite on the wheel. Softer options are the split-complements #F1E08D and #9EF18D, which give the same contrast with far less vibration.

What colors go well with #ae8df1?

For interface work: #F6F4FA as the surface, #CFC0ED for borders, #654B9B for secondary text, #ACBA12 as an accent and #2F0E72 for hover and pressed states. For a palette, the analogous pair #8D9EF1 and #E08DF1 stays calm, while #D0F18D is the loudest partner.

What is #ae8df1 in CMYK for printing?

cmyk(28%, 42%, 0%, 6%). 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 #ae8df1 warm or cool?

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

Work with #ae8df1 in the Color Lab