Skip to content

#a596fd

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

RGB
165, 150, 253
HSL
249°, 96%, 79%
CMYK
35, 41, 0, 1
Luminance
0.3690

At a glance

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

Hex
#a596fd
Hue
249°
blue
Saturation
96%
electric
Lightness
79%
light
Brightness
99%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3690
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
8.38:1
Closest name
Medium Purple
ΔE2000 11.4
Where it sits
Hue249° of 360°
Saturation96%
Lightness79%
Temperature
Warm ← → Cool78% 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#a596fd
RGBrgb(165, 150, 253)
HSLhsl(249, 96%, 79%)
CMYKcmyk(35%, 41%, 0%, 1%)
LABlab(67.2 28.6 -49.5)
LCHlch(67.2 57.1 300.0)
OKLCHoklch(0.729 0.147 288.9)
Decimal10852093
Display P3color(display-p3 0.647 0.588 0.992)

Copy-ready code

/* CSS */
color: #a596fd;
background-color: #a596fd;
/* Tailwind (arbitrary) */
class="text-[#a596fd] bg-[#a596fd]"
/* SCSS */
$brand: #a596fd;
/* SwiftUI */
Color(red: 0.647, green: 0.588, blue: 0.992)
/* Android */
Color.parseColor("#a596fd")
/* Flutter */
Color(0xFFA596FD)
/* Python / OpenCV (BGR) */
(253, 150, 165)

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

Accessibility — WCAG contrast

Aa
#a596fd on white: 2.51:1
AA ✗ fail · AA-large · AAA
Aa
#a596fd on black: 8.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #75A6FF
deuteranopia · #75A1FB
tritanopia · #8FAABD

Color scale — 50 to 950

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

#F3F1FD
#E7E4FC
#CAC1FA
#a596fd
#715AFC
#4223FB
#2705F0
#2004C8
#1A03A0
#170773
#0E0448
Base = 300Lightest = 50 · #F3F1FDDarkest = 950 · #0E0448
:root {
  --brand-50: #F3F1FD;
  --brand-100: #E7E4FC;
  --brand-200: #CAC1FA;
  --brand-300: #a596fd;
  --brand-400: #715AFC;
  --brand-500: #4223FB;
  --brand-600: #2705F0;
  --brand-700: #2004C8;
  --brand-800: #1A03A0;
  --brand-900: #170773;
  --brand-950: #0E0448;
  --brand: #a596fd;
  --brand-ink: #000000;
}

Colors that work with #a596fd

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#C6C0ED
Hairlines and dividers
Muted text#564B9B
Captions on the surface
Accent#CCB700
Second voice, not a rival
Dark variant#14027D
Hover, pressed, headers
Light variant#EAE6FF
Selected rows, tints
Dark surface#161424
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 #a596fd

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#EEFD96
Analogous left#96BAFD
Analogous right#D896FD
Split-complement 1#FDD896
Split-complement 2#BAFD96
Triadic 1#FDA596
Triadic 2#96FDA5
Tetradic#FD96BA

RGB percentages

Red64.7%
Green58.8%
Blue99.2%

CMYK percentages

Cyan34.8%
Magenta40.7%
Yellow0.0%
Key (black)0.8%

Color previews

#a596fd text on a black background

contrast 8.38:1

Card sample

#a596fd text on a white background

contrast 2.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(165, 150, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(165, 150, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a596fd;
background: linear-gradient(135deg, #a596fd, #EA96FD);

Monochromatic scale

Palettes built from #a596fd

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.

#a596fd 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#a596fd, answered

What color is #a596fd?

#a596fd is a light electric blue, closest to Medium Purple (ΔE2000 11.4). It sits at 249° on the hue wheel with 96% saturation and 79% lightness, which reads as cool.

What is the RGB value of #a596fd?

rgb(165, 150, 253) — 165 red, 150 green and 253 blue out of 255, or 64.7% / 58.8% / 99.2% by channel.

Is #a596fd a light or a dark color?

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

Should I use black or white text on #a596fd?

Black. It scores 8.38:1 against #a596fd, versus 2.51:1 for white — AAA at any size.

What is the complementary color of #a596fd?

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

What colors go well with #a596fd?

For interface work: #F5F4FA as the surface, #C6C0ED for borders, #564B9B for secondary text, #CCB700 as an accent and #14027D for hover and pressed states. For a palette, the analogous pair #96BAFD and #D896FD stays calm, while #EEFD96 is the loudest partner.

What is #a596fd in CMYK for printing?

cmyk(35%, 41%, 0%, 1%). 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 #a596fd warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CB96FD; nudged cooler, #95ACFE.

Work with #a596fd in the Color Lab