Skip to content

#c72be7

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

RGB
199, 43, 231
HSL
290°, 80%, 54%
CMYK
14, 81, 0, 9
Luminance
0.1964

At a glance

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

Hex
#c72be7
Hue
290°
violet
Saturation
80%
electric
Lightness
54%
balanced
Brightness
91%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1964
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.93:1
Closest name
Medium Orchid
ΔE2000 5.6
Where it sits
Hue290° of 360°
Saturation80%
Lightness54%
Temperature
Warm ← → Cool56% 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#c72be7
RGBrgb(199, 43, 231)
HSLhsl(290, 80%, 54%)
CMYKcmyk(14%, 81%, 0%, 9%)
LABlab(51.4 80.4 -62.2)
LCHlch(51.4 101.6 322.3)
OKLCHoklch(0.617 0.271 319.8)
Decimal13052903
Display P3color(display-p3 0.780 0.169 0.906)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c72be7 on white: 4.26:1
AA ✗ fail · AA-large · AAA
Aa
#c72be7 on black: 4.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0071EC
deuteranopia · #3E80E3
tritanopia · #C7578C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c72be7 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
#F6E6F9
#EDC7F5
#E49AF4
#D768EE
#c72be7
#BB19DC
#9C15B7
#7D1193
#5B106A
#390A42
Base = 500Lightest = 50 · #FAF3FCDarkest = 950 · #390A42
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F6E6F9;
  --brand-200: #EDC7F5;
  --brand-300: #E49AF4;
  --brand-400: #D768EE;
  --brand-500: #c72be7;
  --brand-600: #BB19DC;
  --brand-700: #9C15B7;
  --brand-800: #7D1193;
  --brand-900: #5B106A;
  --brand-950: #390A42;
  --brand: #c72be7;
  --brand-ink: #000000;
}

Colors that work with #c72be7

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#E5C0ED
Hairlines and dividers
Muted text#8D4B9B
Captions on the surface
Accent#58BC10
Second voice, not a rival
Dark variant#610D73
Hover, pressed, headers
Light variant#F9E8FC
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 #c72be7

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#4BE72B
Analogous left#692BE7
Analogous right#E72BA9
Split-complement 1#A9E72B
Split-complement 2#2BE769
Triadic 1#E7C72B
Triadic 2#2BE7C7
Tetradic#E7692B

RGB percentages

Red78.0%
Green16.9%
Blue90.6%

CMYK percentages

Cyan13.9%
Magenta81.4%
Yellow0.0%
Key (black)9.4%

Color previews

#c72be7 text on a black background

contrast 4.93:1

Card sample

#c72be7 text on a white background

contrast 4.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c72be7

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.

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

#c72be7, answered

What color is #c72be7?

#c72be7 is a balanced electric violet, closest to Medium Orchid (ΔE2000 5.6). It sits at 290° on the hue wheel with 80% saturation and 54% lightness, which reads as neutral.

What is the RGB value of #c72be7?

rgb(199, 43, 231) — 199 red, 43 green and 231 blue out of 255, or 78% / 16.9% / 90.6% by channel.

Is #c72be7 a light or a dark color?

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

Should I use black or white text on #c72be7?

Black. It scores 4.93:1 against #c72be7, versus 4.26:1 for white — AA at any size.

What is the complementary color of #c72be7?

#4BE72B sits directly opposite on the wheel. Softer options are the split-complements #A9E72B and #2BE769, which give the same contrast with far less vibration.

What colors go well with #c72be7?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8D4B9B for secondary text, #58BC10 as an accent and #610D73 for hover and pressed states. For a palette, the analogous pair #692BE7 and #E72BA9 stays calm, while #4BE72B is the loudest partner.

What is #c72be7 in CMYK for printing?

cmyk(14%, 81%, 0%, 9%). 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 #c72be7 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E72BC2; nudged cooler, #8228E9.

Work with #c72be7 in the Color Lab