Skip to content

#c71df0

a balanced, electric violet · neutral · closest name: Medium Orchid

RGB
199, 29, 240
HSL
288°, 88%, 53%
CMYK
17, 88, 0, 6
Luminance
0.1931

At a glance

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

Hex
#c71df0
Hue
288°
violet
Saturation
88%
electric
Lightness
53%
balanced
Brightness
94%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1931
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.86:1
Closest name
Medium Orchid
ΔE2000 6.9
Where it sits
Hue288° of 360°
Saturation88%
Lightness53%
Temperature
Warm ← → Cool57% 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#c71df0
RGBrgb(199, 29, 240)
HSLhsl(288, 88%, 53%)
CMYKcmyk(17%, 88%, 0%, 6%)
LABlab(51.0 84.8 -67.9)
LCHlch(51.0 108.6 321.3)
OKLCHoklch(0.617 0.286 318.0)
Decimal13049328
Display P3color(display-p3 0.780 0.114 0.941)

Copy-ready code

/* CSS */
color: #c71df0;
background-color: #c71df0;
/* Tailwind (arbitrary) */
class="text-[#c71df0] bg-[#c71df0]"
/* SCSS */
$brand: #c71df0;
/* SwiftUI */
Color(red: 0.780, green: 0.114, blue: 0.941)
/* Android */
Color.parseColor("#c71df0")
/* Flutter */
Color(0xFFC71DF0)
/* Python / OpenCV (BGR) */
(240, 29, 199)

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

Accessibility — WCAG contrast

Aa
#c71df0 on white: 4.32:1
AA ✗ fail · AA-large · AAA
Aa
#c71df0 on black: 4.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0070F5
deuteranopia · #297EEC
tritanopia · #C5578F

Color scale — 50 to 950

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

#FBF2FD
#F6E5FA
#EEC4F8
#E596F8
#D861F5
#c71df0
#BC0FE6
#9D0DBF
#7D0A99
#5B0C6F
#390745
Base = 500Lightest = 50 · #FBF2FDDarkest = 950 · #390745
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F6E5FA;
  --brand-200: #EEC4F8;
  --brand-300: #E596F8;
  --brand-400: #D861F5;
  --brand-500: #c71df0;
  --brand-600: #BC0FE6;
  --brand-700: #9D0DBF;
  --brand-800: #7D0A99;
  --brand-900: #5B0C6F;
  --brand-950: #390745;
  --brand: #c71df0;
  --brand-ink: #000000;
}

Colors that work with #c71df0

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#F9F4FA
Tinted page background
Border#E4C0ED
Hairlines and dividers
Muted text#8B4B9B
Captions on the surface
Accent#5BC408
Second voice, not a rival
Dark variant#620878
Hover, pressed, headers
Light variant#F9E7FD
Selected rows, tints
Dark surface#211424
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 #c71df0

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#46F01D
Analogous left#5D1DF0
Analogous right#F01DB0
Split-complement 1#B0F01D
Split-complement 2#1DF05D
Triadic 1#F0C71D
Triadic 2#1DF0C7
Tetradic#F05D1D

RGB percentages

Red78.0%
Green11.4%
Blue94.1%

CMYK percentages

Cyan17.1%
Magenta87.9%
Yellow0.0%
Key (black)5.9%

Color previews

#c71df0 text on a black background

contrast 4.86:1

Card sample

#c71df0 text on a white background

contrast 4.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(199, 29, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 29, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c71df0;
background: linear-gradient(135deg, #c71df0, #F01D8C);

Monochromatic scale

Palettes built from #c71df0

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.

#c71df0 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#c71df0, answered

What color is #c71df0?

#c71df0 is a balanced electric violet, closest to Medium Orchid (ΔE2000 6.9). It sits at 288° on the hue wheel with 88% saturation and 53% lightness, which reads as neutral.

What is the RGB value of #c71df0?

rgb(199, 29, 240) — 199 red, 29 green and 240 blue out of 255, or 78% / 11.4% / 94.1% by channel.

Is #c71df0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1931 and perceived brightness is 54%, so black text on it reaches 4.86:1.

Should I use black or white text on #c71df0?

Black. It scores 4.86:1 against #c71df0, versus 4.32:1 for white — AA at any size.

What is the complementary color of #c71df0?

#46F01D sits directly opposite on the wheel. Softer options are the split-complements #B0F01D and #1DF05D, which give the same contrast with far less vibration.

What colors go well with #c71df0?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #5BC408 as an accent and #620878 for hover and pressed states. For a palette, the analogous pair #5D1DF0 and #F01DB0 stays calm, while #46F01D is the loudest partner.

What is #c71df0 in CMYK for printing?

cmyk(17%, 88%, 0%, 6%). 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 #c71df0 warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F01DCC; nudged cooler, #791AF2.

Work with #c71df0 in the Color Lab