Skip to content

#c027df

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

RGB
192, 39, 223
HSL
290°, 74%, 51%
CMYK
14, 83, 0, 13
Luminance
0.1799

At a glance

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

Hex
#c027df
Hue
290°
violet
Saturation
74%
vivid
Lightness
51%
balanced
Brightness
87%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1799
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
4.60:1
Closest name
Medium Orchid
ΔE2000 6.4
Where it sits
Hue290° of 360°
Saturation74%
Lightness51%
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#c027df
RGBrgb(192, 39, 223)
HSLhsl(290, 74%, 51%)
CMYKcmyk(14%, 83%, 0%, 13%)
LABlab(49.5 78.8 -60.9)
LCHlch(49.5 99.5 322.3)
OKLCHoklch(0.600 0.265 319.8)
Decimal12593119
Display P3color(display-p3 0.753 0.153 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c027df on white: 4.57:1
AA ✓ pass · AA-large · AAA
Aa
#c027df on black: 4.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006CE4
deuteranopia · #3A7ADB
tritanopia · #C05387

Color scale — 50 to 950

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

#FAF3FC
#F6E7F9
#ECC8F3
#E39DF1
#D46CE9
#C63CE2
#c027df
#981AB2
#7A158E
#591367
#380C40
Base = 600Lightest = 50 · #FAF3FCDarkest = 950 · #380C40
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F6E7F9;
  --brand-200: #ECC8F3;
  --brand-300: #E39DF1;
  --brand-400: #D46CE9;
  --brand-500: #C63CE2;
  --brand-600: #c027df;
  --brand-700: #981AB2;
  --brand-800: #7A158E;
  --brand-900: #591367;
  --brand-950: #380C40;
  --brand: #c027df;
  --brand-ink: #000000;
}

Colors that work with #c027df

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#59B616
Second voice, not a rival
Dark variant#5F106F
Hover, pressed, headers
Light variant#F9E9FC
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 #c027df

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

Works well for
  • Body text and links 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
  • 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#46DF27
Analogous left#6427DF
Analogous right#DF27A2
Split-complement 1#A2DF27
Split-complement 2#27DF64
Triadic 1#DFC027
Triadic 2#27DFC0
Tetradic#DF6427

RGB percentages

Red75.3%
Green15.3%
Blue87.5%

CMYK percentages

Cyan13.9%
Magenta82.5%
Yellow0.0%
Key (black)12.5%

Color previews

#c027df text on a black background

contrast 4.60:1

Card sample

#c027df text on a white background

contrast 4.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c027df

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.

#c027df 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

Converts to four-color process without much drama. Proof it anyway.

#c027df, answered

What color is #c027df?

#c027df is a balanced vivid violet, closest to Medium Orchid (ΔE2000 6.4). It sits at 290° on the hue wheel with 74% saturation and 51% lightness, which reads as neutral.

What is the RGB value of #c027df?

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

Is #c027df a light or a dark color?

It is a dark color. Relative luminance is 0.1799 and perceived brightness is 52%, so black text on it reaches 4.60:1.

Should I use black or white text on #c027df?

Black. It scores 4.60:1 against #c027df, versus 4.57:1 for white — AA at any size.

What is the complementary color of #c027df?

#46DF27 sits directly opposite on the wheel. Softer options are the split-complements #A2DF27 and #27DF64, which give the same contrast with far less vibration.

What colors go well with #c027df?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8D4B9B for secondary text, #59B616 as an accent and #5F106F for hover and pressed states. For a palette, the analogous pair #6427DF and #DF27A2 stays calm, while #46DF27 is the loudest partner.

What is #c027df in CMYK for printing?

cmyk(14%, 83%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #c027df 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 #DF27BB; nudged cooler, #7C25E2.

Work with #c027df in the Color Lab