Skip to content

#a293df

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

RGB
162, 147, 223
HSL
252°, 54%, 73%
CMYK
27, 34, 0, 13
Luminance
0.3388

At a glance

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

Hex
#a293df
Hue
252°
blue
Saturation
54%
vivid
Lightness
73%
light
Brightness
87%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3388
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
7.78:1
Closest name
Medium Purple
ΔE2000 10.5
Where it sits
Hue252° of 360°
Saturation54%
Lightness73%
Temperature
Warm ← → Cool77% 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#a293df
RGBrgb(162, 147, 223)
HSLhsl(252, 54%, 73%)
CMYKcmyk(27%, 34%, 0%, 13%)
LABlab(64.9 21.9 -36.7)
LCHlch(64.9 42.7 300.8)
OKLCHoklch(0.706 0.110 292.4)
Decimal10654687
Display P3color(display-p3 0.635 0.576 0.875)

Copy-ready code

/* CSS */
color: #a293df;
background-color: #a293df;
/* Tailwind (arbitrary) */
class="text-[#a293df] bg-[#a293df]"
/* SCSS */
$brand: #a293df;
/* SwiftUI */
Color(red: 0.635, green: 0.576, blue: 0.875)
/* Android */
Color.parseColor("#a293df")
/* Flutter */
Color(0xFFA293DF)
/* Python / OpenCV (BGR) */
(223, 147, 162)

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

Accessibility — WCAG contrast

Aa
#a293df on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#a293df on black: 7.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7F9EE2
deuteranopia · #809CDD
tritanopia · #95A0AF

Color scale — 50 to 950

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

#F5F4FB
#ECE9F6
#D4CEEE
#a293df
#8F7DD9
#6A52CC
#5238BD
#442F9D
#37257E
#2B1F5C
#1B1339
Base = 300Lightest = 50 · #F5F4FBDarkest = 950 · #1B1339
:root {
  --brand-50: #F5F4FB;
  --brand-100: #ECE9F6;
  --brand-200: #D4CEEE;
  --brand-300: #a293df;
  --brand-400: #8F7DD9;
  --brand-500: #6A52CC;
  --brand-600: #5238BD;
  --brand-700: #442F9D;
  --brand-800: #37257E;
  --brand-900: #2B1F5C;
  --brand-950: #1B1339;
  --brand: #a293df;
  --brand-ink: #000000;
}

Colors that work with #a293df

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#F5F4FA
Tinted page background
Border#C9C0EC
Hairlines and dividers
Muted text#5A4B9B
Captions on the surface
Accent#A29A2A
Second voice, not a rival
Dark variant#2B1D62
Hover, pressed, headers
Light variant#EEEBF9
Selected rows, tints
Dark surface#171424
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 #a293df

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#D0DF93
Analogous left#93AADF
Analogous right#C893DF
Split-complement 1#DFC893
Split-complement 2#AADF93
Triadic 1#DFA293
Triadic 2#93DFA2
Tetradic#DF93AA

RGB percentages

Red63.5%
Green57.6%
Blue87.5%

CMYK percentages

Cyan27.4%
Magenta34.1%
Yellow0.0%
Key (black)12.5%

Color previews

#a293df text on a black background

contrast 7.78:1

Card sample

#a293df text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 147, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 147, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a293df;
background: linear-gradient(135deg, #a293df, #D593DF);

Monochromatic scale

Palettes built from #a293df

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.

#a293df in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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

#a293df, answered

What color is #a293df?

#a293df is a light vivid blue, closest to Medium Purple (ΔE2000 10.5). It sits at 252° on the hue wheel with 54% saturation and 73% lightness, which reads as cool.

What is the RGB value of #a293df?

rgb(162, 147, 223) — 162 red, 147 green and 223 blue out of 255, or 63.5% / 57.6% / 87.5% by channel.

Is #a293df a light or a dark color?

It is a mid-tone. Relative luminance is 0.3388 and perceived brightness is 63%, so black text on it reaches 7.78:1.

Should I use black or white text on #a293df?

Black. It scores 7.78:1 against #a293df, versus 2.70:1 for white — AAA at any size.

What is the complementary color of #a293df?

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

What colors go well with #a293df?

For interface work: #F5F4FA as the surface, #C9C0EC for borders, #5A4B9B for secondary text, #A29A2A as an accent and #2B1D62 for hover and pressed states. For a palette, the analogous pair #93AADF and #C893DF stays calm, while #D0DF93 is the loudest partner.

What is #a293df in CMYK for printing?

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

Is #a293df warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BE93DF; nudged cooler, #919FE0.

Work with #a293df in the Color Lab