Skip to content

#cf15eb

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

RGB
207, 21, 235
HSL
292°, 84%, 50%
CMYK
12, 91, 0, 8
Luminance
0.1980

At a glance

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

Hex
#cf15eb
Hue
292°
magenta / pink
Saturation
84%
electric
Lightness
50%
balanced
Brightness
92%
HSV value
Perceived
55%
weighted brightness
Luminance
0.1980
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.96:1
Closest name
Medium Orchid
ΔE2000 6.6
Where it sits
Hue292° of 360°
Saturation84%
Lightness50%
Temperature
Warm ← → Cool54% 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#cf15eb
RGBrgb(207, 21, 235)
HSLhsl(292, 84%, 50%)
CMYKcmyk(12%, 91%, 0%, 8%)
LABlab(51.6 86.3 -64.1)
LCHlch(51.6 107.5 323.4)
OKLCHoklch(0.622 0.288 321.4)
Decimal13571563
Display P3color(display-p3 0.812 0.082 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf15eb on white: 4.23:1
AA ✗ fail · AA-large · AAA
Aa
#cf15eb on black: 4.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006FF0
deuteranopia · #3D81E7
tritanopia · #D1508C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf15eb is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF2FC
#F7E6FA
#F0C5F6
#EA98F6
#DF64F2
#D430ED
#cf15eb
#A510BC
#840D96
#600E6D
#3C0944
Base = 600Lightest = 50 · #FBF2FCDarkest = 950 · #3C0944
:root {
  --brand-50: #FBF2FC;
  --brand-100: #F7E6FA;
  --brand-200: #F0C5F6;
  --brand-300: #EA98F6;
  --brand-400: #DF64F2;
  --brand-500: #D430ED;
  --brand-600: #cf15eb;
  --brand-700: #A510BC;
  --brand-800: #840D96;
  --brand-900: #600E6D;
  --brand-950: #3C0944;
  --brand: #cf15eb;
  --brand-ink: #000000;
}

Colors that work with #cf15eb

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#E7C0ED
Hairlines and dividers
Muted text#904B9B
Captions on the surface
Accent#50C00C
Second voice, not a rival
Dark variant#670A75
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 #cf15eb

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#31EB15
Analogous left#6415EB
Analogous right#EB159C
Split-complement 1#9CEB15
Split-complement 2#15EB64
Triadic 1#EBCF15
Triadic 2#15EBCF
Tetradic#EB6415

RGB percentages

Red81.2%
Green8.2%
Blue92.2%

CMYK percentages

Cyan11.9%
Magenta91.1%
Yellow0.0%
Key (black)7.8%

Color previews

#cf15eb text on a black background

contrast 4.96:1

Card sample

#cf15eb text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf15eb

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.

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

#cf15eb, answered

What color is #cf15eb?

#cf15eb is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 6.6). It sits at 292° on the hue wheel with 84% saturation and 50% lightness, which reads as neutral.

What is the RGB value of #cf15eb?

rgb(207, 21, 235) — 207 red, 21 green and 235 blue out of 255, or 81.2% / 8.2% / 92.2% by channel.

Is #cf15eb a light or a dark color?

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

Should I use black or white text on #cf15eb?

Black. It scores 4.96:1 against #cf15eb, versus 4.23:1 for white — AA at any size.

What is the complementary color of #cf15eb?

#31EB15 sits directly opposite on the wheel. Softer options are the split-complements #9CEB15 and #15EB64, which give the same contrast with far less vibration.

What colors go well with #cf15eb?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #904B9B for secondary text, #50C00C as an accent and #670A75 for hover and pressed states. For a palette, the analogous pair #6415EB and #EB159C stays calm, while #31EB15 is the loudest partner.

What is #cf15eb in CMYK for printing?

cmyk(12%, 91%, 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 #cf15eb warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EB15B9; nudged cooler, #8012EE.

Work with #cf15eb in the Color Lab