Skip to content

#ad54eb

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

RGB
173, 84, 235
HSL
275°, 79%, 63%
CMYK
26, 64, 0, 8
Luminance
0.2122

At a glance

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

Hex
#ad54eb
Hue
275°
violet
Saturation
79%
electric
Lightness
63%
balanced
Brightness
92%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2122
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.24:1
Closest name
Medium Orchid
ΔE2000 5
Where it sits
Hue275° of 360°
Saturation79%
Lightness63%
Temperature
Warm ← → Cool64% 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#ad54eb
RGBrgb(173, 84, 235)
HSLhsl(275, 79%, 63%)
CMYKcmyk(26%, 64%, 0%, 8%)
LABlab(53.2 61.5 -61.8)
LCHlch(53.2 87.2 314.9)
OKLCHoklch(0.623 0.223 308.3)
Decimal11359467
Display P3color(display-p3 0.678 0.329 0.922)

Copy-ready code

/* CSS */
color: #ad54eb;
background-color: #ad54eb;
/* Tailwind (arbitrary) */
class="text-[#ad54eb] bg-[#ad54eb]"
/* SCSS */
$brand: #ad54eb;
/* SwiftUI */
Color(red: 0.678, green: 0.329, blue: 0.922)
/* Android */
Color.parseColor("#ad54eb")
/* Flutter */
Color(0xFFAD54EB)
/* Python / OpenCV (BGR) */
(235, 84, 173)

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 #ad54eb · 5.24:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.00:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.24:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ad54eb as text scores 4.00:1 on white and 5.24:1 on black.

Accessibility — WCAG contrast

Aa
#ad54eb on white: 4.00:1
AA ✗ fail · AA-large · AAA
Aa
#ad54eb on black: 5.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #007CF0
deuteranopia · #3980E8
tritanopia · #A47398

Color scale — 50 to 950

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

#F8F3FC
#F1E6F9
#E2C7F5
#CF9BF3
#ad54eb
#9F36E8
#8C1ADB
#7515B7
#5D1192
#45116A
#2B0A42
Base = 400Lightest = 50 · #F8F3FCDarkest = 950 · #2B0A42
:root {
  --brand-50: #F8F3FC;
  --brand-100: #F1E6F9;
  --brand-200: #E2C7F5;
  --brand-300: #CF9BF3;
  --brand-400: #ad54eb;
  --brand-500: #9F36E8;
  --brand-600: #8C1ADB;
  --brand-700: #7515B7;
  --brand-800: #5D1192;
  --brand-900: #45116A;
  --brand-950: #2B0A42;
  --brand: #ad54eb;
  --brand-ink: #000000;
}

Colors that work with #ad54eb

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#DAC0ED
Hairlines and dividers
Muted text#7A4B9B
Captions on the surface
Accent#81BB11
Second voice, not a rival
Dark variant#490D72
Hover, pressed, headers
Light variant#F4E8FC
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 #ad54eb

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#92EB54
Analogous left#6154EB
Analogous right#EB54DD
Split-complement 1#DDEB54
Split-complement 2#54EB61
Triadic 1#EBAD54
Triadic 2#54EBAD
Tetradic#EB6154

RGB percentages

Red67.8%
Green32.9%
Blue92.2%

CMYK percentages

Cyan26.4%
Magenta64.3%
Yellow0.0%
Key (black)7.8%

Color previews

#ad54eb text on a black background

contrast 5.24:1

Card sample

#ad54eb text on a white background

contrast 4.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad54eb

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.

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

#ad54eb, answered

What color is #ad54eb?

#ad54eb is a balanced electric violet, closest to Medium Orchid (ΔE2000 5). It sits at 275° on the hue wheel with 79% saturation and 63% lightness, which reads as cool.

What is the RGB value of #ad54eb?

rgb(173, 84, 235) — 173 red, 84 green and 235 blue out of 255, or 67.8% / 32.9% / 92.2% by channel.

Is #ad54eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2122 and perceived brightness is 55%, so black text on it reaches 5.24:1.

Should I use black or white text on #ad54eb?

Black. It scores 5.24:1 against #ad54eb, versus 4.00:1 for white — AA at any size.

What is the complementary color of #ad54eb?

#92EB54 sits directly opposite on the wheel. Softer options are the split-complements #DDEB54 and #54EB61, which give the same contrast with far less vibration.

What colors go well with #ad54eb?

For interface work: #F8F4FA as the surface, #DAC0ED for borders, #7A4B9B for secondary text, #81BB11 as an accent and #490D72 for hover and pressed states. For a palette, the analogous pair #6154EB and #EB54DD stays calm, while #92EB54 is the loudest partner.

What is #ad54eb in CMYK for printing?

cmyk(26%, 64%, 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 #ad54eb warm or cool?

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

Work with #ad54eb in the Color Lab