Skip to content

#a37dbb

a balanced, soft violet · cool · closest name: Medium Purple

RGB
163, 125, 187
HSL
277°, 31%, 61%
CMYK
13, 33, 0, 27
Luminance
0.2604

At a glance

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

Hex
#a37dbb
Hue
277°
violet
Saturation
31%
soft
Lightness
61%
balanced
Brightness
73%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2604
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
6.21:1
Closest name
Medium Purple
ΔE2000 9.7
Where it sits
Hue277° of 360°
Saturation31%
Lightness61%
Temperature
Warm ← → Cool62% 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#a37dbb
RGBrgb(163, 125, 187)
HSLhsl(277, 31%, 61%)
CMYKcmyk(13%, 33%, 0%, 27%)
LABlab(58.1 26.4 -27.0)
LCHlch(58.1 37.7 314.4)
OKLCHoklch(0.649 0.099 311.8)
Decimal10714555
Display P3color(display-p3 0.639 0.490 0.733)

Copy-ready code

/* CSS */
color: #a37dbb;
background-color: #a37dbb;
/* Tailwind (arbitrary) */
class="text-[#a37dbb] bg-[#a37dbb]"
/* SCSS */
$brand: #a37dbb;
/* SwiftUI */
Color(red: 0.639, green: 0.490, blue: 0.733)
/* Android */
Color.parseColor("#a37dbb")
/* Flutter */
Color(0xFFA37DBB)
/* Python / OpenCV (BGR) */
(187, 125, 163)

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

Accessibility — WCAG contrast

Aa
#a37dbb on white: 3.38:1
AA ✗ fail · AA-large · AAA
Aa
#a37dbb on black: 6.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #728ABD
deuteranopia · #7B8CB9
tritanopia · #A18594

Color scale — 50 to 950

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

#F8F5F9
#F1ECF3
#E0D5E7
#CBB5D8
#B191C5
#a37dbb
#8354A1
#6D4686
#57386B
#412C4F
#291B31
Base = 500Lightest = 50 · #F8F5F9Darkest = 950 · #291B31
:root {
  --brand-50: #F8F5F9;
  --brand-100: #F1ECF3;
  --brand-200: #E0D5E7;
  --brand-300: #CBB5D8;
  --brand-400: #B191C5;
  --brand-500: #a37dbb;
  --brand-600: #8354A1;
  --brand-700: #6D4686;
  --brand-800: #57386B;
  --brand-900: #412C4F;
  --brand-950: #291B31;
  --brand: #a37dbb;
  --brand-ink: #000000;
}

Colors that work with #a37dbb

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#F8F5FA
Tinted page background
Border#D9C9E3
Hairlines and dividers
Muted text#7B4F97
Captions on the surface
Accent#708A42
Second voice, not a rival
Dark variant#442C54
Hover, pressed, headers
Light variant#F3EEF6
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 #a37dbb

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
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#95BB7D
Analogous left#847DBB
Analogous right#BB7DB4
Split-complement 1#B4BB7D
Split-complement 2#7DBB84
Triadic 1#BBA37D
Triadic 2#7DBBA3
Tetradic#BB847D

RGB percentages

Red63.9%
Green49.0%
Blue73.3%

CMYK percentages

Cyan12.8%
Magenta33.2%
Yellow0.0%
Key (black)26.7%

Color previews

#a37dbb text on a black background

contrast 6.21:1

Card sample

#a37dbb text on a white background

contrast 3.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(163, 125, 187, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 125, 187, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a37dbb;
background: linear-gradient(135deg, #a37dbb, #BB7DAA);

Monochromatic scale

Palettes built from #a37dbb

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.

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

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

#a37dbb, answered

What color is #a37dbb?

#a37dbb is a balanced soft violet, closest to Medium Purple (ΔE2000 9.7). It sits at 277° on the hue wheel with 31% saturation and 61% lightness, which reads as cool.

What is the RGB value of #a37dbb?

rgb(163, 125, 187) — 163 red, 125 green and 187 blue out of 255, or 63.9% / 49% / 73.3% by channel.

Is #a37dbb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2604 and perceived brightness is 57%, so black text on it reaches 6.21:1.

Should I use black or white text on #a37dbb?

Black. It scores 6.21:1 against #a37dbb, versus 3.38:1 for white — AA at any size.

What is the complementary color of #a37dbb?

#95BB7D sits directly opposite on the wheel. Softer options are the split-complements #B4BB7D and #7DBB84, which give the same contrast with far less vibration.

What colors go well with #a37dbb?

For interface work: #F8F5FA as the surface, #D9C9E3 for borders, #7B4F97 for secondary text, #708A42 as an accent and #442C54 for hover and pressed states. For a palette, the analogous pair #847DBB and #BB7DB4 stays calm, while #95BB7D is the loudest partner.

What is #a37dbb in CMYK for printing?

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

Is #a37dbb warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BA7DBB; nudged cooler, #8B7BBD.

Work with #a37dbb in the Color Lab