Skip to content

#ae2dfe

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

RGB
174, 45, 254
HSL
277°, 99%, 59%
CMYK
32, 82, 0, 0
Luminance
0.1803

At a glance

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

Hex
#ae2dfe
Hue
277°
violet
Saturation
99%
electric
Lightness
59%
balanced
Brightness
100%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1803
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.61:1
Closest name
Dark Orchid
ΔE2000 7.5
Where it sits
Hue277° of 360°
Saturation99%
Lightness59%
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#ae2dfe
RGBrgb(174, 45, 254)
HSLhsl(277, 99%, 59%)
CMYKcmyk(32%, 82%, 0%, 0%)
LABlab(49.5 80.2 -78.3)
LCHlch(49.5 112.1 315.7)
OKLCHoklch(0.602 0.280 307.3)
Decimal11415038
Display P3color(display-p3 0.682 0.176 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2dfe on white: 4.56:1
AA ✓ pass · AA-large · AAA
Aa
#ae2dfe on black: 4.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0072FF
deuteranopia · #0077FA
tritanopia · #A0689A

Color scale — 50 to 950

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

#F9F1FE
#F3E3FC
#E5C0FB
#D48FFE
#BE57FE
#ae2dfe
#9701F4
#7E01CB
#6401A2
#4A0575
#2E0349
Base = 500Lightest = 50 · #F9F1FEDarkest = 950 · #2E0349
:root {
  --brand-50: #F9F1FE;
  --brand-100: #F3E3FC;
  --brand-200: #E5C0FB;
  --brand-300: #D48FFE;
  --brand-400: #BE57FE;
  --brand-500: #ae2dfe;
  --brand-600: #9701F4;
  --brand-700: #7E01CB;
  --brand-800: #6401A2;
  --brand-900: #4A0575;
  --brand-950: #2E0349;
  --brand: #ae2dfe;
  --brand-ink: #000000;
}

Colors that work with #ae2dfe

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#82CC00
Second voice, not a rival
Dark variant#4E017F
Hover, pressed, headers
Light variant#F5E6FF
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 #ae2dfe

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

Works well for
  • Body text and links 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
  • 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#7DFE2D
Analogous left#452DFE
Analogous right#FE2DE6
Split-complement 1#E6FE2D
Split-complement 2#2DFE45
Triadic 1#FEAE2D
Triadic 2#2DFEAE
Tetradic#FE452D

RGB percentages

Red68.2%
Green17.6%
Blue99.6%

CMYK percentages

Cyan31.5%
Magenta82.3%
Yellow0.0%
Key (black)0.4%

Color previews

#ae2dfe text on a black background

contrast 4.61:1

Card sample

#ae2dfe text on a white background

contrast 4.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2dfe

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.

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

#ae2dfe, answered

What color is #ae2dfe?

#ae2dfe is a balanced electric violet, closest to Dark Orchid (ΔE2000 7.5). It sits at 277° on the hue wheel with 99% saturation and 59% lightness, which reads as cool.

What is the RGB value of #ae2dfe?

rgb(174, 45, 254) — 174 red, 45 green and 254 blue out of 255, or 68.2% / 17.6% / 99.6% by channel.

Is #ae2dfe a light or a dark color?

It is a mid-tone. Relative luminance is 0.1803 and perceived brightness is 52%, so black text on it reaches 4.61:1.

Should I use black or white text on #ae2dfe?

Black. It scores 4.61:1 against #ae2dfe, versus 4.56:1 for white — AA at any size.

What is the complementary color of #ae2dfe?

#7DFE2D sits directly opposite on the wheel. Softer options are the split-complements #E6FE2D and #2DFE45, which give the same contrast with far less vibration.

What colors go well with #ae2dfe?

For interface work: #F8F4FA as the surface, #DBC0ED for borders, #7C4B9B for secondary text, #82CC00 as an accent and #4E017F for hover and pressed states. For a palette, the analogous pair #452DFE and #FE2DE6 stays calm, while #7DFE2D is the loudest partner.

What is #ae2dfe in CMYK for printing?

cmyk(32%, 82%, 0%, 0%). 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 #ae2dfe 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 #FB2DFE; nudged cooler, #612CFF.

Work with #ae2dfe in the Color Lab