Skip to content

#cd5fe3

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

RGB
205, 95, 227
HSL
290°, 70%, 63%
CMYK
10, 58, 0, 11
Luminance
0.2671

At a glance

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

Hex
#cd5fe3
Hue
290°
magenta / pink
Saturation
70%
vivid
Lightness
63%
balanced
Brightness
89%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2671
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
6.34:1
Closest name
Medium Orchid
ΔE2000 4.8
Where it sits
Hue290° of 360°
Saturation70%
Lightness63%
Temperature
Warm ← → Cool56% 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#cd5fe3
RGBrgb(205, 95, 227)
HSLhsl(290, 70%, 63%)
CMYKcmyk(10%, 58%, 0%, 11%)
LABlab(58.7 62.2 -48.3)
LCHlch(58.7 78.7 322.2)
OKLCHoklch(0.670 0.212 320.7)
Decimal13459427
Display P3color(display-p3 0.804 0.373 0.890)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd5fe3 on white: 3.31:1
AA ✗ fail · AA-large · AAA
Aa
#cd5fe3 on black: 6.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4385E7
deuteranopia · #6B91E0
tritanopia · #CE7398

Color scale — 50 to 950

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

#FAF3FC
#F5E7F8
#ECC9F2
#E1A0EE
#cd5fe3
#C340DE
#B424D0
#961EAE
#78188B
#581665
#370E3F
Base = 400Lightest = 50 · #FAF3FCDarkest = 950 · #370E3F
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F5E7F8;
  --brand-200: #ECC9F2;
  --brand-300: #E1A0EE;
  --brand-400: #cd5fe3;
  --brand-500: #C340DE;
  --brand-600: #B424D0;
  --brand-700: #961EAE;
  --brand-800: #78188B;
  --brand-900: #581665;
  --brand-950: #370E3F;
  --brand: #cd5fe3;
  --brand-ink: #000000;
}

Colors that work with #cd5fe3

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#F9F4FA
Tinted page background
Border#E5C0ED
Hairlines and dividers
Muted text#8E4B9B
Captions on the surface
Accent#59B21A
Second voice, not a rival
Dark variant#5E136D
Hover, pressed, headers
Light variant#F8E9FB
Selected rows, tints
Dark surface#221424
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 #cd5fe3

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#75E35F
Analogous left#8B5FE3
Analogous right#E35FB7
Split-complement 1#B7E35F
Split-complement 2#5FE38B
Triadic 1#E3CD5F
Triadic 2#5FE3CD
Tetradic#E38B5F

RGB percentages

Red80.4%
Green37.3%
Blue89.0%

CMYK percentages

Cyan9.7%
Magenta58.1%
Yellow0.0%
Key (black)11.0%

Color previews

#cd5fe3 text on a black background

contrast 6.34:1

Card sample

#cd5fe3 text on a white background

contrast 3.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd5fe3

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.

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

#cd5fe3, answered

What color is #cd5fe3?

#cd5fe3 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 4.8). It sits at 290° on the hue wheel with 70% saturation and 63% lightness, which reads as neutral.

What is the RGB value of #cd5fe3?

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

Is #cd5fe3 a light or a dark color?

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

Should I use black or white text on #cd5fe3?

Black. It scores 6.34:1 against #cd5fe3, versus 3.31:1 for white — AA at any size.

What is the complementary color of #cd5fe3?

#75E35F sits directly opposite on the wheel. Softer options are the split-complements #B7E35F and #5FE38B, which give the same contrast with far less vibration.

What colors go well with #cd5fe3?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8E4B9B for secondary text, #59B21A as an accent and #5E136D for hover and pressed states. For a palette, the analogous pair #8B5FE3 and #E35FB7 stays calm, while #75E35F is the loudest partner.

What is #cd5fe3 in CMYK for printing?

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

Is #cd5fe3 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E35FC9; nudged cooler, #9C5DE5.

Work with #cd5fe3 in the Color Lab