Skip to content

#cb4eb7

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

RGB
203, 78, 183
HSL
310°, 55%, 55%
CMYK
0, 62, 10, 20
Luminance
0.2156

At a glance

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

Hex
#cb4eb7
Hue
310°
magenta / pink
Saturation
55%
vivid
Lightness
55%
balanced
Brightness
80%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2156
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.31:1
Closest name
Medium Orchid
ΔE2000 6.7
Where it sits
Hue310° of 360°
Saturation55%
Lightness55%
Temperature
Warm ← → Cool45% 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#cb4eb7
RGBrgb(203, 78, 183)
HSLhsl(310, 55%, 55%)
CMYKcmyk(0%, 62%, 10%, 20%)
LABlab(53.6 61.6 -31.3)
LCHlch(53.6 69.1 333.1)
OKLCHoklch(0.625 0.198 334.5)
Decimal13323959
Display P3color(display-p3 0.796 0.306 0.718)

Copy-ready code

/* CSS */
color: #cb4eb7;
background-color: #cb4eb7;
/* Tailwind (arbitrary) */
class="text-[#cb4eb7] bg-[#cb4eb7]"
/* SCSS */
$brand: #cb4eb7;
/* SwiftUI */
Color(red: 0.796, green: 0.306, blue: 0.718)
/* Android */
Color.parseColor("#cb4eb7")
/* Flutter */
Color(0xFFCB4EB7)
/* Python / OpenCV (BGR) */
(183, 78, 203)

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

Accessibility — WCAG contrast

Aa
#cb4eb7 on white: 3.95:1
AA ✗ fail · AA-large · AAA
Aa
#cb4eb7 on black: 5.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4D74BA
deuteranopia · #7587B4
tritanopia · #D4567B

Color scale — 50 to 950

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

#FBF4FA
#F6E9F4
#EECEE9
#E6A8DC
#D97DCA
#cb4eb7
#BD38A8
#9E2E8C
#7E2570
#5C1E52
#391333
Base = 500Lightest = 50 · #FBF4FADarkest = 950 · #391333
:root {
  --brand-50: #FBF4FA;
  --brand-100: #F6E9F4;
  --brand-200: #EECEE9;
  --brand-300: #E6A8DC;
  --brand-400: #D97DCA;
  --brand-500: #cb4eb7;
  --brand-600: #BD38A8;
  --brand-700: #9E2E8C;
  --brand-800: #7E2570;
  --brand-900: #5C1E52;
  --brand-950: #391333;
  --brand: #cb4eb7;
  --brand-ink: #000000;
}

Colors that work with #cb4eb7

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#FAF4F9
Tinted page background
Border#ECC0E5
Hairlines and dividers
Muted text#9B4B8E
Captions on the surface
Accent#34A22A
Second voice, not a rival
Dark variant#631D57
Hover, pressed, headers
Light variant#F9EBF7
Selected rows, tints
Dark surface#241422
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 #cb4eb7

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#4ECB62
Analogous left#A14ECB
Analogous right#CB4E79
Split-complement 1#79CB4E
Split-complement 2#4ECBA1
Triadic 1#B7CB4E
Triadic 2#4EB7CB
Tetradic#CBA14E

RGB percentages

Red79.6%
Green30.6%
Blue71.8%

CMYK percentages

Cyan0.0%
Magenta61.6%
Yellow9.9%
Key (black)20.4%

Color previews

#cb4eb7 text on a black background

contrast 5.31:1

Card sample

#cb4eb7 text on a white background

contrast 3.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 78, 183, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 78, 183, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb4eb7;
background: linear-gradient(135deg, #cb4eb7, #CB4E64);

Monochromatic scale

Palettes built from #cb4eb7

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.

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

#cb4eb7, answered

What color is #cb4eb7?

#cb4eb7 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 6.7). It sits at 310° on the hue wheel with 55% saturation and 55% lightness, which reads as neutral.

What is the RGB value of #cb4eb7?

rgb(203, 78, 183) — 203 red, 78 green and 183 blue out of 255, or 79.6% / 30.6% / 71.8% by channel.

Is #cb4eb7 a light or a dark color?

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

Should I use black or white text on #cb4eb7?

Black. It scores 5.31:1 against #cb4eb7, versus 3.95:1 for white — AA at any size.

What is the complementary color of #cb4eb7?

#4ECB62 sits directly opposite on the wheel. Softer options are the split-complements #79CB4E and #4ECBA1, which give the same contrast with far less vibration.

What colors go well with #cb4eb7?

For interface work: #FAF4F9 as the surface, #ECC0E5 for borders, #9B4B8E for secondary text, #34A22A as an accent and #631D57 for hover and pressed states. For a palette, the analogous pair #A14ECB and #CB4E79 stays calm, while #4ECB62 is the loudest partner.

What is #cb4eb7 in CMYK for printing?

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

Is #cb4eb7 warm or cool?

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

Work with #cb4eb7 in the Color Lab