Skip to content

#cd5fd9

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

RGB
205, 95, 217
HSL
294°, 62%, 61%
CMYK
6, 56, 0, 15
Luminance
0.2617

At a glance

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

Hex
#cd5fd9
Hue
294°
magenta / pink
Saturation
62%
vivid
Lightness
61%
balanced
Brightness
85%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2617
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
6.23:1
Closest name
Medium Orchid
ΔE2000 4.6
Where it sits
Hue294° of 360°
Saturation62%
Lightness61%
Temperature
Warm ← → Cool53% 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#cd5fd9
RGBrgb(205, 95, 217)
HSLhsl(294, 62%, 61%)
CMYKcmyk(6%, 56%, 0%, 15%)
LABlab(58.2 60.4 -43.4)
LCHlch(58.2 74.4 324.3)
OKLCHoklch(0.665 0.203 323.6)
Decimal13459417
Display P3color(display-p3 0.804 0.373 0.851)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd5fd9 on white: 3.37:1
AA ✗ fail · AA-large · AAA
Aa
#cd5fd9 on black: 6.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4B83DD
deuteranopia · #7190D6
tritanopia · #D07093

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd5fd9 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
#F6E8F7
#ECCCF0
#E3A4E9
#D477DF
#cd5fd9
#B72FC6
#9827A5
#7A1F84
#591B60
#38113C
Base = 500Lightest = 50 · #FAF4FBDarkest = 950 · #38113C
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F6E8F7;
  --brand-200: #ECCCF0;
  --brand-300: #E3A4E9;
  --brand-400: #D477DF;
  --brand-500: #cd5fd9;
  --brand-600: #B72FC6;
  --brand-700: #9827A5;
  --brand-800: #7A1F84;
  --brand-900: #591B60;
  --brand-950: #38113C;
  --brand: #cd5fd9;
  --brand-ink: #000000;
}

Colors that work with #cd5fd9

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#E8C0ED
Hairlines and dividers
Muted text#934B9B
Captions on the surface
Accent#51A923
Second voice, not a rival
Dark variant#5F1867
Hover, pressed, headers
Light variant#F9EAFA
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 #cd5fd9

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#6BD95F
Analogous left#905FD9
Analogous right#D95FA8
Split-complement 1#A8D95F
Split-complement 2#5FD990
Triadic 1#D9CD5F
Triadic 2#5FD9CD
Tetradic#D9905F

RGB percentages

Red80.4%
Green37.3%
Blue85.1%

CMYK percentages

Cyan5.5%
Magenta56.2%
Yellow0.0%
Key (black)14.9%

Color previews

#cd5fd9 text on a black background

contrast 6.23:1

Card sample

#cd5fd9 text on a white background

contrast 3.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd5fd9

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.

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

#cd5fd9, answered

What color is #cd5fd9?

#cd5fd9 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 4.6). It sits at 294° on the hue wheel with 62% saturation and 61% lightness, which reads as neutral.

What is the RGB value of #cd5fd9?

rgb(205, 95, 217) — 205 red, 95 green and 217 blue out of 255, or 80.4% / 37.3% / 85.1% by channel.

Is #cd5fd9 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2617 and perceived brightness is 60%, so black text on it reaches 6.23:1.

Should I use black or white text on #cd5fd9?

Black. It scores 6.23:1 against #cd5fd9, versus 3.37:1 for white — AA at any size.

What is the complementary color of #cd5fd9?

#6BD95F sits directly opposite on the wheel. Softer options are the split-complements #A8D95F and #5FD990, which give the same contrast with far less vibration.

What colors go well with #cd5fd9?

For interface work: #FAF4FA as the surface, #E8C0ED for borders, #934B9B for secondary text, #51A923 as an accent and #5F1867 for hover and pressed states. For a palette, the analogous pair #905FD9 and #D95FA8 stays calm, while #6BD95F is the loudest partner.

What is #cd5fd9 in CMYK for printing?

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

Is #cd5fd9 warm or cool?

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

Work with #cd5fd9 in the Color Lab