Skip to content

#ae5fdf

a balanced, vivid violet · cool · closest name: Medium Orchid

RGB
174, 95, 223
HSL
277°, 67%, 62%
CMYK
22, 57, 0, 13
Luminance
0.2251

At a glance

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

Hex
#ae5fdf
Hue
277°
violet
Saturation
67%
vivid
Lightness
62%
balanced
Brightness
87%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2251
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.50:1
Closest name
Medium Orchid
ΔE2000 3.8
Where it sits
Hue277° of 360°
Saturation67%
Lightness62%
Temperature
Warm ← → Cool63% 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#ae5fdf
RGBrgb(174, 95, 223)
HSLhsl(277, 67%, 62%)
CMYKcmyk(22%, 57%, 0%, 13%)
LABlab(54.6 53.8 -52.8)
LCHlch(54.6 75.4 315.5)
OKLCHoklch(0.631 0.195 310.5)
Decimal11427807
Display P3color(display-p3 0.682 0.373 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae5fdf on white: 3.82:1
AA ✗ fail · AA-large · AAA
Aa
#ae5fdf on black: 5.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #347FE3
deuteranopia · #5384DC
tritanopia · #A87696

Color scale — 50 to 950

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

#F8F3FB
#F2E8F8
#E2CAF1
#D0A1EC
#ae5fdf
#A044DA
#8D29CC
#7622AA
#5E1B88
#461863
#2C0F3E
Base = 400Lightest = 50 · #F8F3FBDarkest = 950 · #2C0F3E
:root {
  --brand-50: #F8F3FB;
  --brand-100: #F2E8F8;
  --brand-200: #E2CAF1;
  --brand-300: #D0A1EC;
  --brand-400: #ae5fdf;
  --brand-500: #A044DA;
  --brand-600: #8D29CC;
  --brand-700: #7622AA;
  --brand-800: #5E1B88;
  --brand-900: #461863;
  --brand-950: #2C0F3E;
  --brand: #ae5fdf;
  --brand-ink: #000000;
}

Colors that work with #ae5fdf

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#DBC0ED
Hairlines and dividers
Muted text#7C4B9B
Captions on the surface
Accent#79AE1E
Second voice, not a rival
Dark variant#4A156A
Hover, pressed, headers
Light variant#F4EAFB
Selected rows, tints
Dark surface#1E1424
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 #ae5fdf

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
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#90DF5F
Analogous left#6E5FDF
Analogous right#DF5FD0
Split-complement 1#D0DF5F
Split-complement 2#5FDF6E
Triadic 1#DFAE5F
Triadic 2#5FDFAE
Tetradic#DF6E5F

RGB percentages

Red68.2%
Green37.3%
Blue87.5%

CMYK percentages

Cyan22.0%
Magenta57.4%
Yellow0.0%
Key (black)12.5%

Color previews

#ae5fdf text on a black background

contrast 5.50:1

Card sample

#ae5fdf text on a white background

contrast 3.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae5fdf

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.

#ae5fdf 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
ButtonsLinksFocus statesCharts
Print note

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

#ae5fdf, answered

What color is #ae5fdf?

#ae5fdf is a balanced vivid violet, closest to Medium Orchid (ΔE2000 3.8). It sits at 277° on the hue wheel with 67% saturation and 62% lightness, which reads as cool.

What is the RGB value of #ae5fdf?

rgb(174, 95, 223) — 174 red, 95 green and 223 blue out of 255, or 68.2% / 37.3% / 87.5% by channel.

Is #ae5fdf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2251 and perceived brightness is 55%, so black text on it reaches 5.50:1.

Should I use black or white text on #ae5fdf?

Black. It scores 5.50:1 against #ae5fdf, versus 3.82:1 for white — AA at any size.

What is the complementary color of #ae5fdf?

#90DF5F sits directly opposite on the wheel. Softer options are the split-complements #D0DF5F and #5FDF6E, which give the same contrast with far less vibration.

What colors go well with #ae5fdf?

For interface work: #F8F4FA as the surface, #DBC0ED for borders, #7C4B9B for secondary text, #79AE1E as an accent and #4A156A for hover and pressed states. For a palette, the analogous pair #6E5FDF and #DF5FD0 stays calm, while #90DF5F is the loudest partner.

What is #ae5fdf in CMYK for printing?

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

Is #ae5fdf warm or cool?

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

Work with #ae5fdf in the Color Lab