Skip to content

#ae45eb

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

RGB
174, 69, 235
HSL
278°, 81%, 60%
CMYK
26, 71, 0, 8
Luminance
0.1925

At a glance

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

Hex
#ae45eb
Hue
278°
violet
Saturation
81%
electric
Lightness
60%
balanced
Brightness
92%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1925
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.85:1
Closest name
Medium Orchid
ΔE2000 5.8
Where it sits
Hue278° of 360°
Saturation81%
Lightness60%
Temperature
Warm ← → Cool62% 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#ae45eb
RGBrgb(174, 69, 235)
HSLhsl(278, 81%, 60%)
CMYKcmyk(26%, 71%, 0%, 8%)
LABlab(51.0 68.2 -65.3)
LCHlch(51.0 94.5 316.2)
OKLCHoklch(0.608 0.241 310.0)
Decimal11421163
Display P3color(display-p3 0.682 0.271 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae45eb on white: 4.33:1
AA ✗ fail · AA-large · AAA
Aa
#ae45eb on black: 4.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0075F0
deuteranopia · #247BE7
tritanopia · #A56A94

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ae45eb 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
#F2E6F9
#E4C6F5
#D39AF4
#BD67EF
#ae45eb
#9518DD
#7C14B8
#631093
#49106B
#2E0A43
Base = 500Lightest = 50 · #F9F3FCDarkest = 950 · #2E0A43
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F2E6F9;
  --brand-200: #E4C6F5;
  --brand-300: #D39AF4;
  --brand-400: #BD67EF;
  --brand-500: #ae45eb;
  --brand-600: #9518DD;
  --brand-700: #7C14B8;
  --brand-800: #631093;
  --brand-900: #49106B;
  --brand-950: #2E0A43;
  --brand: #ae45eb;
  --brand-ink: #000000;
}

Colors that work with #ae45eb

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#7ABC10
Second voice, not a rival
Dark variant#4D0C73
Hover, pressed, headers
Light variant#F5E8FD
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 #ae45eb

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#82EB45
Analogous left#5B45EB
Analogous right#EB45D5
Split-complement 1#D5EB45
Split-complement 2#45EB5B
Triadic 1#EBAE45
Triadic 2#45EBAE
Tetradic#EB5B45

RGB percentages

Red68.2%
Green27.1%
Blue92.2%

CMYK percentages

Cyan26.0%
Magenta70.6%
Yellow0.0%
Key (black)7.8%

Color previews

#ae45eb text on a black background

contrast 4.85:1

Card sample

#ae45eb text on a white background

contrast 4.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae45eb

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.

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

#ae45eb, answered

What color is #ae45eb?

#ae45eb is a balanced electric violet, closest to Medium Orchid (ΔE2000 5.8). It sits at 278° on the hue wheel with 81% saturation and 60% lightness, which reads as cool.

What is the RGB value of #ae45eb?

rgb(174, 69, 235) — 174 red, 69 green and 235 blue out of 255, or 68.2% / 27.1% / 92.2% by channel.

Is #ae45eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.1925 and perceived brightness is 53%, so black text on it reaches 4.85:1.

Should I use black or white text on #ae45eb?

Black. It scores 4.85:1 against #ae45eb, versus 4.33:1 for white — AA at any size.

What is the complementary color of #ae45eb?

#82EB45 sits directly opposite on the wheel. Softer options are the split-complements #D5EB45 and #45EB5B, which give the same contrast with far less vibration.

What colors go well with #ae45eb?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7D4B9B for secondary text, #7ABC10 as an accent and #4D0C73 for hover and pressed states. For a palette, the analogous pair #5B45EB and #EB45D5 stays calm, while #82EB45 is the loudest partner.

What is #ae45eb in CMYK for printing?

cmyk(26%, 71%, 0%, 8%). 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 #ae45eb warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EB45EB; nudged cooler, #7043ED.

Work with #ae45eb in the Color Lab