Skip to content

#ae2ffb

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

RGB
174, 47, 251
HSL
277°, 96%, 58%
CMYK
31, 81, 0, 2
Luminance
0.1800

At a glance

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

Hex
#ae2ffb
Hue
277°
violet
Saturation
96%
electric
Lightness
58%
balanced
Brightness
98%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1800
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.60:1
Closest name
Dark Orchid
ΔE2000 7.2
Where it sits
Hue277° of 360°
Saturation96%
Lightness58%
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#ae2ffb
RGBrgb(174, 47, 251)
HSLhsl(277, 96%, 58%)
CMYKcmyk(31%, 81%, 0%, 2%)
LABlab(49.5 79.1 -76.7)
LCHlch(49.5 110.2 315.9)
OKLCHoklch(0.601 0.276 307.8)
Decimal11415547
Display P3color(display-p3 0.682 0.184 0.984)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2ffb on white: 4.57:1
AA ✓ pass · AA-large · AAA
Aa
#ae2ffb on black: 4.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0071FF
deuteranopia · #0077F7
tritanopia · #A16798

Color scale — 50 to 950

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

#F9F1FD
#F3E4FC
#E5C1FA
#D491FD
#BF5AFC
#ae2ffb
#9705F0
#7E04C8
#6503A0
#4B0773
#2F0448
Base = 500Lightest = 50 · #F9F1FDDarkest = 950 · #2F0448
:root {
  --brand-50: #F9F1FD;
  --brand-100: #F3E4FC;
  --brand-200: #E5C1FA;
  --brand-300: #D491FD;
  --brand-400: #BF5AFC;
  --brand-500: #ae2ffb;
  --brand-600: #9705F0;
  --brand-700: #7E04C8;
  --brand-800: #6503A0;
  --brand-900: #4B0773;
  --brand-950: #2F0448;
  --brand: #ae2ffb;
  --brand-ink: #000000;
}

Colors that work with #ae2ffb

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#DCC0ED
Hairlines and dividers
Muted text#7D4B9B
Captions on the surface
Accent#80CC00
Second voice, not a rival
Dark variant#4F027D
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 #ae2ffb

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#7CFB2F
Analogous left#482FFB
Analogous right#FB2FE2
Split-complement 1#E2FB2F
Split-complement 2#2FFB48
Triadic 1#FBAE2F
Triadic 2#2FFBAE
Tetradic#FB482F

RGB percentages

Red68.2%
Green18.4%
Blue98.4%

CMYK percentages

Cyan30.7%
Magenta81.3%
Yellow0.0%
Key (black)1.6%

Color previews

#ae2ffb text on a black background

contrast 4.60:1

Card sample

#ae2ffb text on a white background

contrast 4.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2ffb

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.

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

#ae2ffb, answered

What color is #ae2ffb?

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

What is the RGB value of #ae2ffb?

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

Is #ae2ffb a light or a dark color?

It is a dark color. Relative luminance is 0.1800 and perceived brightness is 52%, so black text on it reaches 4.60:1.

Should I use black or white text on #ae2ffb?

Black. It scores 4.60:1 against #ae2ffb, versus 4.57:1 for white — AA at any size.

What is the complementary color of #ae2ffb?

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

What colors go well with #ae2ffb?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7D4B9B for secondary text, #80CC00 as an accent and #4F027D for hover and pressed states. For a palette, the analogous pair #482FFB and #FB2FE2 stays calm, while #7CFB2F is the loudest partner.

What is #ae2ffb in CMYK for printing?

cmyk(31%, 81%, 0%, 2%). 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 #ae2ffb 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 #F92FFB; nudged cooler, #622DFD.

Work with #ae2ffb in the Color Lab