Skip to content

#cd2aeb

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

RGB
205, 42, 235
HSL
291°, 83%, 54%
CMYK
13, 82, 0, 8
Luminance
0.2063

At a glance

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

Hex
#cd2aeb
Hue
291°
magenta / pink
Saturation
83%
electric
Lightness
54%
balanced
Brightness
92%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2063
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.13:1
Closest name
Medium Orchid
ΔE2000 5.7
Where it sits
Hue291° of 360°
Saturation83%
Lightness54%
Temperature
Warm ← → Cool55% 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#cd2aeb
RGBrgb(205, 42, 235)
HSLhsl(291, 83%, 54%)
CMYKcmyk(13%, 82%, 0%, 8%)
LABlab(52.5 82.3 -62.6)
LCHlch(52.5 103.4 322.8)
OKLCHoklch(0.628 0.277 320.5)
Decimal13445867
Display P3color(display-p3 0.804 0.165 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2aeb on white: 4.10:1
AA ✗ fail · AA-large · AAA
Aa
#cd2aeb on black: 5.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0073F0
deuteranopia · #4283E7
tritanopia · #CE578E

Color scale — 50 to 950

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

#FBF2FC
#F7E6FA
#EFC6F6
#E798F5
#DB65F1
#cd2aeb
#C015E0
#A012BA
#800E95
#5D0F6C
#3A0943
Base = 500Lightest = 50 · #FBF2FCDarkest = 950 · #3A0943
:root {
  --brand-50: #FBF2FC;
  --brand-100: #F7E6FA;
  --brand-200: #EFC6F6;
  --brand-300: #E798F5;
  --brand-400: #DB65F1;
  --brand-500: #cd2aeb;
  --brand-600: #C015E0;
  --brand-700: #A012BA;
  --brand-800: #800E95;
  --brand-900: #5D0F6C;
  --brand-950: #3A0943;
  --brand: #cd2aeb;
  --brand-ink: #000000;
}

Colors that work with #cd2aeb

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#E6C0ED
Hairlines and dividers
Muted text#8E4B9B
Captions on the surface
Accent#55BF0D
Second voice, not a rival
Dark variant#640B75
Hover, pressed, headers
Light variant#FAE8FD
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 #cd2aeb

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#48EB2A
Analogous left#6D2AEB
Analogous right#EB2AA8
Split-complement 1#A8EB2A
Split-complement 2#2AEB6D
Triadic 1#EBCD2A
Triadic 2#2AEBCD
Tetradic#EB6D2A

RGB percentages

Red80.4%
Green16.5%
Blue92.2%

CMYK percentages

Cyan12.8%
Magenta82.1%
Yellow0.0%
Key (black)7.8%

Color previews

#cd2aeb text on a black background

contrast 5.13:1

Card sample

#cd2aeb text on a white background

contrast 4.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2aeb

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.

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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cd2aeb, answered

What color is #cd2aeb?

#cd2aeb is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 5.7). It sits at 291° on the hue wheel with 83% saturation and 54% lightness, which reads as neutral.

What is the RGB value of #cd2aeb?

rgb(205, 42, 235) — 205 red, 42 green and 235 blue out of 255, or 80.4% / 16.5% / 92.2% by channel.

Is #cd2aeb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2063 and perceived brightness is 55%, so black text on it reaches 5.13:1.

Should I use black or white text on #cd2aeb?

Black. It scores 5.13:1 against #cd2aeb, versus 4.10:1 for white — AA at any size.

What is the complementary color of #cd2aeb?

#48EB2A sits directly opposite on the wheel. Softer options are the split-complements #A8EB2A and #2AEB6D, which give the same contrast with far less vibration.

What colors go well with #cd2aeb?

For interface work: #F9F4FA as the surface, #E6C0ED for borders, #8E4B9B for secondary text, #55BF0D as an accent and #640B75 for hover and pressed states. For a palette, the analogous pair #6D2AEB and #EB2AA8 stays calm, while #48EB2A is the loudest partner.

What is #cd2aeb in CMYK for printing?

cmyk(13%, 82%, 0%, 8%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cd2aeb warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EB2AC2; nudged cooler, #8628ED.

Work with #cd2aeb in the Color Lab