Skip to content

#cf4fe5

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

RGB
207, 79, 229
HSL
291°, 74%, 60%
CMYK
10, 66, 0, 10
Luminance
0.2451

At a glance

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

Hex
#cf4fe5
Hue
291°
magenta / pink
Saturation
74%
vivid
Lightness
60%
balanced
Brightness
90%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2451
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.90:1
Closest name
Medium Orchid
ΔE2000 3.9
Where it sits
Hue291° of 360°
Saturation74%
Lightness60%
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#cf4fe5
RGBrgb(207, 79, 229)
HSLhsl(291, 74%, 60%)
CMYKcmyk(10%, 66%, 0%, 10%)
LABlab(56.6 69.9 -52.7)
LCHlch(56.6 87.5 323.0)
OKLCHoklch(0.656 0.236 321.5)
Decimal13586405
Display P3color(display-p3 0.812 0.310 0.898)

Copy-ready code

/* CSS */
color: #cf4fe5;
background-color: #cf4fe5;
/* Tailwind (arbitrary) */
class="text-[#cf4fe5] bg-[#cf4fe5]"
/* SCSS */
$brand: #cf4fe5;
/* SwiftUI */
Color(red: 0.812, green: 0.310, blue: 0.898)
/* Android */
Color.parseColor("#cf4fe5")
/* Flutter */
Color(0xFFCF4FE5)
/* Python / OpenCV (BGR) */
(229, 79, 207)

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

Accessibility — WCAG contrast

Aa
#cf4fe5 on white: 3.56:1
AA ✗ fail · AA-large · AAA
Aa
#cf4fe5 on black: 5.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #237FE9
deuteranopia · #608DE1
tritanopia · #D16894

Color scale — 50 to 950

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

#FAF3FC
#F6E7F9
#EDC8F4
#E49DF1
#D76CE9
#cf4fe5
#BB1FD5
#9C1AB2
#7C158E
#5B1367
#390C40
Base = 500Lightest = 50 · #FAF3FCDarkest = 950 · #390C40
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F6E7F9;
  --brand-200: #EDC8F4;
  --brand-300: #E49DF1;
  --brand-400: #D76CE9;
  --brand-500: #cf4fe5;
  --brand-600: #BB1FD5;
  --brand-700: #9C1AB2;
  --brand-800: #7C158E;
  --brand-900: #5B1367;
  --brand-950: #390C40;
  --brand: #cf4fe5;
  --brand-ink: #000000;
}

Colors that work with #cf4fe5

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#E6C0ED
Hairlines and dividers
Muted text#8F4B9B
Captions on the surface
Accent#56B616
Second voice, not a rival
Dark variant#61106F
Hover, pressed, headers
Light variant#F9E9FC
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 #cf4fe5

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#65E54F
Analogous left#844FE5
Analogous right#E54FB0
Split-complement 1#B0E54F
Split-complement 2#4FE584
Triadic 1#E5CF4F
Triadic 2#4FE5CF
Tetradic#E5844F

RGB percentages

Red81.2%
Green31.0%
Blue89.8%

CMYK percentages

Cyan9.6%
Magenta65.5%
Yellow0.0%
Key (black)10.2%

Color previews

#cf4fe5 text on a black background

contrast 5.90:1

Card sample

#cf4fe5 text on a white background

contrast 3.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 79, 229, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 79, 229, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf4fe5;
background: linear-gradient(135deg, #cf4fe5, #E54F97);

Monochromatic scale

Palettes built from #cf4fe5

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.

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

#cf4fe5, answered

What color is #cf4fe5?

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

What is the RGB value of #cf4fe5?

rgb(207, 79, 229) — 207 red, 79 green and 229 blue out of 255, or 81.2% / 31% / 89.8% by channel.

Is #cf4fe5 a light or a dark color?

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

Should I use black or white text on #cf4fe5?

Black. It scores 5.90:1 against #cf4fe5, versus 3.56:1 for white — AA at any size.

What is the complementary color of #cf4fe5?

#65E54F sits directly opposite on the wheel. Softer options are the split-complements #B0E54F and #4FE584, which give the same contrast with far less vibration.

What colors go well with #cf4fe5?

For interface work: #FAF4FA as the surface, #E6C0ED for borders, #8F4B9B for secondary text, #56B616 as an accent and #61106F for hover and pressed states. For a palette, the analogous pair #844FE5 and #E54FB0 stays calm, while #65E54F is the loudest partner.

What is #cf4fe5 in CMYK for printing?

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

Is #cf4fe5 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 #E54FC4; nudged cooler, #984DE7.

Work with #cf4fe5 in the Color Lab