Skip to content

#c017df

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

RGB
192, 23, 223
HSL
291°, 81%, 48%
CMYK
14, 90, 0, 13
Luminance
0.1715

At a glance

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

Hex
#c017df
Hue
291°
magenta / pink
Saturation
81%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1715
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.74:1
Closest name
Dark Orchid
ΔE2000 6.6
Where it sits
Hue291° of 360°
Saturation81%
Lightness48%
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#c017df
RGBrgb(192, 23, 223)
HSLhsl(291, 81%, 48%)
CMYKcmyk(14%, 90%, 0%, 13%)
LABlab(48.5 81.8 -62.5)
LCHlch(48.5 103.0 322.6)
OKLCHoklch(0.593 0.274 320.1)
Decimal12589023
Display P3color(display-p3 0.753 0.090 0.875)

Copy-ready code

/* CSS */
color: #c017df;
background-color: #c017df;
/* Tailwind (arbitrary) */
class="text-[#c017df] bg-[#c017df]"
/* SCSS */
$brand: #c017df;
/* SwiftUI */
Color(red: 0.753, green: 0.090, blue: 0.875)
/* Android */
Color.parseColor("#c017df")
/* Flutter */
Color(0xFFC017DF)
/* Python / OpenCV (BGR) */
(223, 23, 192)

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

Accessibility — WCAG contrast

Aa
#c017df on white: 4.74:1
AA ✓ pass · AA-large · AAA
Aa
#c017df on black: 4.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0069E4
deuteranopia · #3378DB
tritanopia · #C04E85

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c017df 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
#F6E6F9
#EEC6F6
#E699F5
#DA66EF
#CE34EA
#c017df
#9F13B9
#7F0F94
#5D0F6B
#3A0A43
Base = 600Lightest = 50 · #FBF2FCDarkest = 950 · #3A0A43
:root {
  --brand-50: #FBF2FC;
  --brand-100: #F6E6F9;
  --brand-200: #EEC6F6;
  --brand-300: #E699F5;
  --brand-400: #DA66EF;
  --brand-500: #CE34EA;
  --brand-600: #c017df;
  --brand-700: #9F13B9;
  --brand-800: #7F0F94;
  --brand-900: #5D0F6B;
  --brand-950: #3A0A43;
  --brand: #c017df;
  --brand-ink: #ffffff;
}

Colors that work with #c017df

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F9F4FA
Tinted page background
Border#E6C0ED
Hairlines and dividers
Muted text#8E4B9B
Captions on the surface
Accent#55BD0F
Second voice, not a rival
Dark variant#640C74
Hover, pressed, headers
Light variant#F9E8FD
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 #c017df

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#36DF17
Analogous left#5C17DF
Analogous right#DF179A
Split-complement 1#9ADF17
Split-complement 2#17DF5C
Triadic 1#DFC017
Triadic 2#17DFC0
Tetradic#DF5C17

RGB percentages

Red75.3%
Green9.0%
Blue87.5%

CMYK percentages

Cyan13.9%
Magenta89.7%
Yellow0.0%
Key (black)12.5%

Color previews

#c017df text on a black background

contrast 4.43:1

Card sample

#c017df text on a white background

contrast 4.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 23, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 23, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c017df;
background: linear-gradient(135deg, #c017df, #DF1779);

Monochromatic scale

Palettes built from #c017df

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.

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

#c017df, answered

What color is #c017df?

#c017df is a balanced electric magenta / pink, closest to Dark Orchid (ΔE2000 6.6). It sits at 291° on the hue wheel with 81% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #c017df?

rgb(192, 23, 223) — 192 red, 23 green and 223 blue out of 255, or 75.3% / 9% / 87.5% by channel.

Is #c017df a light or a dark color?

It is a dark color. Relative luminance is 0.1715 and perceived brightness is 51%, so white text on it reaches 4.74:1.

Should I use black or white text on #c017df?

White. It scores 4.74:1 against #c017df, versus 4.43:1 for black — AA at any size.

What is the complementary color of #c017df?

#36DF17 sits directly opposite on the wheel. Softer options are the split-complements #9ADF17 and #17DF5C, which give the same contrast with far less vibration.

What colors go well with #c017df?

For interface work: #F9F4FA as the surface, #E6C0ED for borders, #8E4B9B for secondary text, #55BD0F as an accent and #640C74 for hover and pressed states. For a palette, the analogous pair #5C17DF and #DF179A stays calm, while #36DF17 is the loudest partner.

What is #c017df in CMYK for printing?

cmyk(14%, 90%, 0%, 13%). 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 #c017df 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 #DF17B5; nudged cooler, #7615E1.

Work with #c017df in the Color Lab