Skip to content

#cd7aaa

a balanced, vivid magenta / pink · warm · closest name: Pale Violet Red

RGB
205, 122, 170
HSL
325°, 45%, 64%
CMYK
0, 41, 17, 20
Luminance
0.2980

At a glance

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

Hex
#cd7aaa
Hue
325°
magenta / pink
Saturation
45%
vivid
Lightness
64%
balanced
Brightness
80%
HSV value
Perceived
62%
weighted brightness
Luminance
0.2980
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
6.96:1
Closest name
Pale Violet Red
ΔE2000 7
Where it sits
Hue325° of 360°
Saturation45%
Lightness64%
Temperature
Warm ← → Cool36% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cd7aaa
RGBrgb(205, 122, 170)
HSLhsl(325, 45%, 64%)
CMYKcmyk(0%, 41%, 17%, 20%)
LABlab(61.5 38.8 -11.7)
LCHlch(61.5 40.5 343.3)
OKLCHoklch(0.683 0.119 345.0)
Decimal13466282
Display P3color(display-p3 0.804 0.478 0.667)

Copy-ready code

/* CSS */
color: #cd7aaa;
background-color: #cd7aaa;
/* Tailwind (arbitrary) */
class="text-[#cd7aaa] bg-[#cd7aaa]"
/* SCSS */
$brand: #cd7aaa;
/* SwiftUI */
Color(red: 0.804, green: 0.478, blue: 0.667)
/* Android */
Color.parseColor("#cd7aaa")
/* Flutter */
Color(0xFFCD7AAA)
/* Python / OpenCV (BGR) */
(170, 122, 205)

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

Accessibility — WCAG contrast

Aa
#cd7aaa on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#cd7aaa on black: 6.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #808CAC
deuteranopia · #959AA8
tritanopia · #D7798B

Color scale — 50 to 950

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

#FAF5F8
#F5EAF1
#EBD1E0
#E0ADCB
#cd7aaa
#C25C97
#B24383
#94386D
#772D57
#572441
#361629
Base = 400Lightest = 50 · #FAF5F8Darkest = 950 · #361629
:root {
  --brand-50: #FAF5F8;
  --brand-100: #F5EAF1;
  --brand-200: #EBD1E0;
  --brand-300: #E0ADCB;
  --brand-400: #cd7aaa;
  --brand-500: #C25C97;
  --brand-600: #B24383;
  --brand-700: #94386D;
  --brand-800: #772D57;
  --brand-900: #572441;
  --brand-950: #361629;
  --brand: #cd7aaa;
  --brand-ink: #000000;
}

Colors that work with #cd7aaa

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#FAF4F8
Tinted page background
Border#E9C4D9
Hairlines and dividers
Muted text#9B4B79
Captions on the surface
Accent#339945
Second voice, not a rival
Dark variant#5D2344
Hover, pressed, headers
Light variant#F8ECF3
Selected rows, tints
Dark surface#24141D
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 #cd7aaa

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#7ACD9D
Analogous left#C77ACD
Analogous right#CD7A80
Split-complement 1#80CD7A
Split-complement 2#7ACDC7
Triadic 1#AACD7A
Triadic 2#7AAACD
Tetradic#CDC77A

RGB percentages

Red80.4%
Green47.8%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta40.5%
Yellow17.1%
Key (black)19.6%

Color previews

#cd7aaa text on a black background

contrast 6.96:1

Card sample

#cd7aaa text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 122, 170, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 122, 170, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd7aaa;
background: linear-gradient(135deg, #cd7aaa, #CD817A);

Monochromatic scale

Palettes built from #cd7aaa

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.

#cd7aaa in the real world

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

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#cd7aaa, answered

What color is #cd7aaa?

#cd7aaa is a balanced vivid magenta / pink, closest to Pale Violet Red (ΔE2000 7). It sits at 325° on the hue wheel with 45% saturation and 64% lightness, which reads as warm.

What is the RGB value of #cd7aaa?

rgb(205, 122, 170) — 205 red, 122 green and 170 blue out of 255, or 80.4% / 47.8% / 66.7% by channel.

Is #cd7aaa a light or a dark color?

It is a mid-tone. Relative luminance is 0.2980 and perceived brightness is 62%, so black text on it reaches 6.96:1.

Should I use black or white text on #cd7aaa?

Black. It scores 6.96:1 against #cd7aaa, versus 3.02:1 for white — AA at any size.

What is the complementary color of #cd7aaa?

#7ACD9D sits directly opposite on the wheel. Softer options are the split-complements #80CD7A and #7ACDC7, which give the same contrast with far less vibration.

What colors go well with #cd7aaa?

For interface work: #FAF4F8 as the surface, #E9C4D9 for borders, #9B4B79 for secondary text, #339945 as an accent and #5D2344 for hover and pressed states. For a palette, the analogous pair #C77ACD and #CD7A80 stays calm, while #7ACD9D is the loudest partner.

What is #cd7aaa in CMYK for printing?

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

Is #cd7aaa warm or cool?

Warm — it scores 36 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD7A8B; nudged cooler, #CF78CA.

Work with #cd7aaa in the Color Lab