Skip to content

#a191df

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

RGB
161, 145, 223
HSL
252°, 55%, 72%
CMYK
28, 35, 0, 13
Luminance
0.3316

At a glance

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

Hex
#a191df
Hue
252°
blue
Saturation
55%
vivid
Lightness
72%
light
Brightness
87%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3316
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
7.63:1
Closest name
Medium Purple
ΔE2000 9.9
Where it sits
Hue252° of 360°
Saturation55%
Lightness72%
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#a191df
RGBrgb(161, 145, 223)
HSLhsl(252, 55%, 72%)
CMYKcmyk(28%, 35%, 0%, 13%)
LABlab(64.3 22.7 -37.6)
LCHlch(64.3 43.9 301.2)
OKLCHoklch(0.701 0.113 292.7)
Decimal10588639
Display P3color(display-p3 0.631 0.569 0.875)

Copy-ready code

/* CSS */
color: #a191df;
background-color: #a191df;
/* Tailwind (arbitrary) */
class="text-[#a191df] bg-[#a191df]"
/* SCSS */
$brand: #a191df;
/* SwiftUI */
Color(red: 0.631, green: 0.569, blue: 0.875)
/* Android */
Color.parseColor("#a191df")
/* Flutter */
Color(0xFFA191DF)
/* Python / OpenCV (BGR) */
(223, 145, 161)

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

Accessibility — WCAG contrast

Aa
#a191df on white: 2.75:1
AA ✗ fail · AA-large · AAA
Aa
#a191df on black: 7.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7C9DE2
deuteranopia · #7D9ADD
tritanopia · #939FAE

Color scale — 50 to 950

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

#F5F4FB
#ECE9F6
#D4CEEE
#B5A8E6
#a191df
#6A51CC
#5337BE
#452E9E
#37257E
#2B1E5C
#1B133A
Base = 400Lightest = 50 · #F5F4FBDarkest = 950 · #1B133A
:root {
  --brand-50: #F5F4FB;
  --brand-100: #ECE9F6;
  --brand-200: #D4CEEE;
  --brand-300: #B5A8E6;
  --brand-400: #a191df;
  --brand-500: #6A51CC;
  --brand-600: #5337BE;
  --brand-700: #452E9E;
  --brand-800: #37257E;
  --brand-900: #2B1E5C;
  --brand-950: #1B133A;
  --brand: #a191df;
  --brand-ink: #000000;
}

Colors that work with #a191df

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#C9C0ED
Hairlines and dividers
Muted text#5B4B9B
Captions on the surface
Accent#A29D2A
Second voice, not a rival
Dark variant#2B1D63
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 #a191df

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#CFDF91
Analogous left#91A8DF
Analogous right#C891DF
Split-complement 1#DFC891
Split-complement 2#A8DF91
Triadic 1#DFA191
Triadic 2#91DFA1
Tetradic#DF91A8

RGB percentages

Red63.1%
Green56.9%
Blue87.5%

CMYK percentages

Cyan27.8%
Magenta35.0%
Yellow0.0%
Key (black)12.5%

Color previews

#a191df text on a black background

contrast 7.63:1

Card sample

#a191df text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a191df

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.

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

#a191df, answered

What color is #a191df?

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

What is the RGB value of #a191df?

rgb(161, 145, 223) — 161 red, 145 green and 223 blue out of 255, or 63.1% / 56.9% / 87.5% by channel.

Is #a191df a light or a dark color?

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

Should I use black or white text on #a191df?

Black. It scores 7.63:1 against #a191df, versus 2.75:1 for white — AAA at any size.

What is the complementary color of #a191df?

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

What colors go well with #a191df?

For interface work: #F6F4FA as the surface, #C9C0ED for borders, #5B4B9B for secondary text, #A29D2A as an accent and #2B1D63 for hover and pressed states. For a palette, the analogous pair #91A8DF and #C891DF stays calm, while #CFDF91 is the loudest partner.

What is #a191df in CMYK for printing?

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

Is #a191df 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 #BE91DF; nudged cooler, #909DE0.

Work with #a191df in the Color Lab