Skip to content

#c117df

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

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

At a glance

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

Hex
#c117df
Hue
291°
magenta / pink
Saturation
81%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1728
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.71:1
Closest name
Dark Orchid
ΔE2000 6.8
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#c117df
RGBrgb(193, 23, 223)
HSLhsl(291, 81%, 48%)
CMYKcmyk(14%, 90%, 0%, 13%)
LABlab(48.6 82.0 -62.2)
LCHlch(48.6 102.9 322.8)
OKLCHoklch(0.594 0.275 320.4)
Decimal12654559
Display P3color(display-p3 0.757 0.090 0.875)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#c117df on white: 4.71:1
AA ✓ pass · AA-large · AAA
Aa
#c117df on black: 4.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0069E4
deuteranopia · #3579DB
tritanopia · #C24D85

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c117df 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
#E799F5
#DB66EF
#CF34EA
#c117df
#A013B9
#800F94
#5D0F6B
#3A0A43
Base = 600Lightest = 50 · #FBF2FCDarkest = 950 · #3A0A43
:root {
  --brand-50: #FBF2FC;
  --brand-100: #F6E6F9;
  --brand-200: #EEC6F6;
  --brand-300: #E799F5;
  --brand-400: #DB66EF;
  --brand-500: #CF34EA;
  --brand-600: #c117df;
  --brand-700: #A013B9;
  --brand-800: #800F94;
  --brand-900: #5D0F6B;
  --brand-950: #3A0A43;
  --brand: #c117df;
  --brand-ink: #ffffff;
}

Colors that work with #c117df

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#8F4B9B
Captions on the surface
Accent#55BD0F
Second voice, not a rival
Dark variant#640C74
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 #c117df

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#35DF17
Analogous left#5D17DF
Analogous right#DF1799
Split-complement 1#99DF17
Split-complement 2#17DF5D
Triadic 1#DFC117
Triadic 2#17DFC1
Tetradic#DF5D17

RGB percentages

Red75.7%
Green9.0%
Blue87.5%

CMYK percentages

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

Color previews

#c117df text on a black background

contrast 4.46:1

Card sample

#c117df text on a white background

contrast 4.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c117df

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.

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

#c117df, answered

What color is #c117df?

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

What is the RGB value of #c117df?

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

Is #c117df a light or a dark color?

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

Should I use black or white text on #c117df?

White. It scores 4.71:1 against #c117df, versus 4.46:1 for black — AA at any size.

What is the complementary color of #c117df?

#35DF17 sits directly opposite on the wheel. Softer options are the split-complements #99DF17 and #17DF5D, which give the same contrast with far less vibration.

What colors go well with #c117df?

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

What is #c117df 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 #c117df 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 #DF17B4; nudged cooler, #7715E1.

Work with #c117df in the Color Lab