Skip to content

#ae2fe4

a balanced, electric violet · cool · closest name: Dark Orchid

RGB
174, 47, 228
HSL
282°, 77%, 54%
CMYK
24, 79, 0, 11
Luminance
0.1663

At a glance

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

Hex
#ae2fe4
Hue
282°
violet
Saturation
77%
electric
Lightness
54%
balanced
Brightness
89%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1663
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
White
4.85:1
Closest name
Dark Orchid
ΔE2000 4.8
Where it sits
Hue282° of 360°
Saturation77%
Lightness54%
Temperature
Warm ← → Cool60% 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#ae2fe4
RGBrgb(174, 47, 228)
HSLhsl(282, 77%, 54%)
CMYKcmyk(24%, 79%, 0%, 11%)
LABlab(47.8 74.6 -66.5)
LCHlch(47.8 99.9 318.2)
OKLCHoklch(0.584 0.257 312.9)
Decimal11415524
Display P3color(display-p3 0.682 0.184 0.894)

Copy-ready code

/* CSS */
color: #ae2fe4;
background-color: #ae2fe4;
/* Tailwind (arbitrary) */
class="text-[#ae2fe4] bg-[#ae2fe4]"
/* SCSS */
$brand: #ae2fe4;
/* SwiftUI */
Color(red: 0.682, green: 0.184, blue: 0.894)
/* Android */
Color.parseColor("#ae2fe4")
/* Flutter */
Color(0xFFAE2FE4)
/* Python / OpenCV (BGR) */
(228, 47, 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#ffffff on #ae2fe4 · 4.85:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.85:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.33:1
AA fail · AA large pass · AAA fail
Reading the other direction: #ae2fe4 as text scores 4.85:1 on white and 4.33:1 on black.

Accessibility — WCAG contrast

Aa
#ae2fe4 on white: 4.85:1
AA ✓ pass · AA-large · AAA
Aa
#ae2fe4 on black: 4.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006BE9
deuteranopia · #0A74E0
tritanopia · #A85C8B

Color scale — 50 to 950

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

#F9F3FC
#F3E7F9
#E7C7F4
#D89CF2
#C56AEC
#ae2fe4
#A01CD9
#8617B5
#6B1390
#4F1269
#310B41
Base = 500Lightest = 50 · #F9F3FCDarkest = 950 · #310B41
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E7F9;
  --brand-200: #E7C7F4;
  --brand-300: #D89CF2;
  --brand-400: #C56AEC;
  --brand-500: #ae2fe4;
  --brand-600: #A01CD9;
  --brand-700: #8617B5;
  --brand-800: #6B1390;
  --brand-900: #4F1269;
  --brand-950: #310B41;
  --brand: #ae2fe4;
  --brand-ink: #ffffff;
}

Colors that work with #ae2fe4

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F9F4FA
Tinted page background
Border#DFC0ED
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#6EB913
Second voice, not a rival
Dark variant#540F71
Hover, pressed, headers
Light variant#F6E8FC
Selected rows, tints
Dark surface#1F1424
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 #ae2fe4

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#65E42F
Analogous left#532FE4
Analogous right#E42FBF
Split-complement 1#BFE42F
Split-complement 2#2FE453
Triadic 1#E4AE2F
Triadic 2#2FE4AE
Tetradic#E4532F

RGB percentages

Red68.2%
Green18.4%
Blue89.4%

CMYK percentages

Cyan23.7%
Magenta79.4%
Yellow0.0%
Key (black)10.6%

Color previews

#ae2fe4 text on a black background

contrast 4.33:1

Card sample

#ae2fe4 text on a white background

contrast 4.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2fe4

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.

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

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

#ae2fe4, answered

What color is #ae2fe4?

#ae2fe4 is a balanced electric violet, closest to Dark Orchid (ΔE2000 4.8). It sits at 282° on the hue wheel with 77% saturation and 54% lightness, which reads as cool.

What is the RGB value of #ae2fe4?

rgb(174, 47, 228) — 174 red, 47 green and 228 blue out of 255, or 68.2% / 18.4% / 89.4% by channel.

Is #ae2fe4 a light or a dark color?

It is a dark color. Relative luminance is 0.1663 and perceived brightness is 50%, so white text on it reaches 4.85:1.

Should I use black or white text on #ae2fe4?

White. It scores 4.85:1 against #ae2fe4, versus 4.33:1 for black — AA at any size.

What is the complementary color of #ae2fe4?

#65E42F sits directly opposite on the wheel. Softer options are the split-complements #BFE42F and #2FE453, which give the same contrast with far less vibration.

What colors go well with #ae2fe4?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #834B9B for secondary text, #6EB913 as an accent and #540F71 for hover and pressed states. For a palette, the analogous pair #532FE4 and #E42FBF stays calm, while #65E42F is the loudest partner.

What is #ae2fe4 in CMYK for printing?

cmyk(24%, 79%, 0%, 11%). 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 #ae2fe4 warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E42FD8; nudged cooler, #6B2DE6.

Work with #ae2fe4 in the Color Lab