Skip to content

#cd5cd5

a balanced, vivid magenta / pink · neutral · closest name: Medium Orchid

RGB
205, 92, 213
HSL
296°, 59%, 60%
CMYK
4, 57, 0, 17
Luminance
0.2544

At a glance

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

Hex
#cd5cd5
Hue
296°
magenta / pink
Saturation
59%
vivid
Lightness
60%
balanced
Brightness
84%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2544
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
6.09:1
Closest name
Medium Orchid
ΔE2000 4.3
Where it sits
Hue296° of 360°
Saturation59%
Lightness60%
Temperature
Warm ← → Cool52% cool

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

Every format

HEX#cd5cd5
RGBrgb(205, 92, 213)
HSLhsl(296, 59%, 60%)
CMYKcmyk(4%, 57%, 0%, 17%)
LABlab(57.5 61.0 -42.3)
LCHlch(57.5 74.2 325.3)
OKLCHoklch(0.659 0.203 325.0)
Decimal13458645
Display P3color(display-p3 0.804 0.361 0.835)

Copy-ready code

/* CSS */
color: #cd5cd5;
background-color: #cd5cd5;
/* Tailwind (arbitrary) */
class="text-[#cd5cd5] bg-[#cd5cd5]"
/* SCSS */
$brand: #cd5cd5;
/* SwiftUI */
Color(red: 0.804, green: 0.361, blue: 0.835)
/* Android */
Color.parseColor("#cd5cd5")
/* Flutter */
Color(0xFFCD5CD5)
/* Python / OpenCV (BGR) */
(213, 92, 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 #cd5cd5 · 6.09:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.45:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.09:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #cd5cd5 as text scores 3.45:1 on white and 6.09:1 on black.

Accessibility — WCAG contrast

Aa
#cd5cd5 on white: 3.45:1
AA ✗ fail · AA-large · AAA
Aa
#cd5cd5 on black: 6.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4A81D9
deuteranopia · #718FD2
tritanopia · #D16C90

Color scale — 50 to 950

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

#FAF4FB
#F6E9F7
#EDCDEF
#E4A6E8
#D679DC
#cd5cd5
#B932C3
#9A2AA2
#7B2182
#5A1C5E
#38113B
Base = 500Lightest = 50 · #FAF4FBDarkest = 950 · #38113B
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F6E9F7;
  --brand-200: #EDCDEF;
  --brand-300: #E4A6E8;
  --brand-400: #D679DC;
  --brand-500: #cd5cd5;
  --brand-600: #B932C3;
  --brand-700: #9A2AA2;
  --brand-800: #7B2182;
  --brand-900: #5A1C5E;
  --brand-950: #38113B;
  --brand: #cd5cd5;
  --brand-ink: #000000;
}

Colors that work with #cd5cd5

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#FAF4FA
Tinted page background
Border#EAC0ED
Hairlines and dividers
Muted text#964B9B
Captions on the surface
Accent#4FA626
Second voice, not a rival
Dark variant#601A65
Hover, pressed, headers
Light variant#F9EBFA
Selected rows, tints
Dark surface#231424
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 #cd5cd5

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#64D55C
Analogous left#905CD5
Analogous right#D55CA1
Split-complement 1#A1D55C
Split-complement 2#5CD590
Triadic 1#D5CD5C
Triadic 2#5CD5CD
Tetradic#D5905C

RGB percentages

Red80.4%
Green36.1%
Blue83.5%

CMYK percentages

Cyan3.8%
Magenta56.8%
Yellow0.0%
Key (black)16.5%

Color previews

#cd5cd5 text on a black background

contrast 6.09:1

Card sample

#cd5cd5 text on a white background

contrast 3.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd5cd5

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.

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

#cd5cd5, answered

What color is #cd5cd5?

#cd5cd5 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 4.3). It sits at 296° on the hue wheel with 59% saturation and 60% lightness, which reads as neutral.

What is the RGB value of #cd5cd5?

rgb(205, 92, 213) — 205 red, 92 green and 213 blue out of 255, or 80.4% / 36.1% / 83.5% by channel.

Is #cd5cd5 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2544 and perceived brightness is 59%, so black text on it reaches 6.09:1.

Should I use black or white text on #cd5cd5?

Black. It scores 6.09:1 against #cd5cd5, versus 3.45:1 for white — AA at any size.

What is the complementary color of #cd5cd5?

#64D55C sits directly opposite on the wheel. Softer options are the split-complements #A1D55C and #5CD590, which give the same contrast with far less vibration.

What colors go well with #cd5cd5?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #964B9B for secondary text, #4FA626 as an accent and #601A65 for hover and pressed states. For a palette, the analogous pair #905CD5 and #D55CA1 stays calm, while #64D55C is the loudest partner.

What is #cd5cd5 in CMYK for printing?

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

Is #cd5cd5 warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D55CB1; nudged cooler, #A15AD7.

Work with #cd5cd5 in the Color Lab