Skip to content

#ae94eb

a light, vivid violet · cool · closest name: Medium Purple

RGB
174, 148, 235
HSL
258°, 69%, 75%
CMYK
26, 37, 0, 8
Luminance
0.3618

At a glance

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

Hex
#ae94eb
Hue
258°
violet
Saturation
69%
vivid
Lightness
75%
light
Brightness
92%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3618
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.24:1
Closest name
Medium Purple
ΔE2000 10.8
Where it sits
Hue258° of 360°
Saturation69%
Lightness75%
Temperature
Warm ← → Cool73% 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#ae94eb
RGBrgb(174, 148, 235)
HSLhsl(258, 69%, 75%)
CMYKcmyk(26%, 37%, 0%, 8%)
LABlab(66.7 27.7 -40.4)
LCHlch(66.7 49.0 304.4)
OKLCHoklch(0.724 0.126 296.9)
Decimal11441387
Display P3color(display-p3 0.682 0.580 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae94eb on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#ae94eb on black: 8.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7DA2EE
deuteranopia · #81A1E9
tritanopia · #A2A3B4

Color scale — 50 to 950

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

#F6F3FB
#ECE8F8
#D6CAF2
#ae94eb
#9471E4
#7042DC
#5927CE
#4A20AC
#3B1A89
#2E1764
#1D0E3E
Base = 300Lightest = 50 · #F6F3FBDarkest = 950 · #1D0E3E
:root {
  --brand-50: #F6F3FB;
  --brand-100: #ECE8F8;
  --brand-200: #D6CAF2;
  --brand-300: #ae94eb;
  --brand-400: #9471E4;
  --brand-500: #7042DC;
  --brand-600: #5927CE;
  --brand-700: #4A20AC;
  --brand-800: #3B1A89;
  --brand-900: #2E1764;
  --brand-950: #1D0E3E;
  --brand: #ae94eb;
  --brand-ink: #000000;
}

Colors that work with #ae94eb

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#F6F4FA
Tinted page background
Border#CDC0ED
Hairlines and dividers
Muted text#634B9B
Captions on the surface
Accent#A9B11B
Second voice, not a rival
Dark variant#2E146B
Hover, pressed, headers
Light variant#EFEAFB
Selected rows, tints
Dark surface#191424
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 #ae94eb

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

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#D1EB94
Analogous left#94A6EB
Analogous right#D994EB
Split-complement 1#EBD994
Split-complement 2#A6EB94
Triadic 1#EBAE94
Triadic 2#94EBAE
Tetradic#EB94A6

RGB percentages

Red68.2%
Green58.0%
Blue92.2%

CMYK percentages

Cyan26.0%
Magenta37.0%
Yellow0.0%
Key (black)7.8%

Color previews

#ae94eb text on a black background

contrast 8.24:1

Card sample

#ae94eb text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae94eb

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.

#ae94eb 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#ae94eb, answered

What color is #ae94eb?

#ae94eb is a light vivid violet, closest to Medium Purple (ΔE2000 10.8). It sits at 258° on the hue wheel with 69% saturation and 75% lightness, which reads as cool.

What is the RGB value of #ae94eb?

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

Is #ae94eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3618 and perceived brightness is 66%, so black text on it reaches 8.24:1.

Should I use black or white text on #ae94eb?

Black. It scores 8.24:1 against #ae94eb, versus 2.55:1 for white — AAA at any size.

What is the complementary color of #ae94eb?

#D1EB94 sits directly opposite on the wheel. Softer options are the split-complements #EBD994 and #A6EB94, which give the same contrast with far less vibration.

What colors go well with #ae94eb?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #634B9B for secondary text, #A9B11B as an accent and #2E146B for hover and pressed states. For a palette, the analogous pair #94A6EB and #D994EB stays calm, while #D1EB94 is the loudest partner.

What is #ae94eb in CMYK for printing?

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

Is #ae94eb warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CE94EB; nudged cooler, #9399EC.

Work with #ae94eb in the Color Lab