Skip to content

#c056df

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

RGB
192, 86, 223
HSL
286°, 68%, 61%
CMYK
14, 61, 0, 13
Luminance
0.2319

At a glance

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

Hex
#c056df
Hue
286°
violet
Saturation
68%
vivid
Lightness
61%
balanced
Brightness
87%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2319
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.64:1
Closest name
Medium Orchid
ΔE2000 2
Where it sits
Hue286° of 360°
Saturation68%
Lightness61%
Temperature
Warm ← → Cool58% 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#c056df
RGBrgb(192, 86, 223)
HSLhsl(286, 68%, 61%)
CMYKcmyk(14%, 61%, 0%, 13%)
LABlab(55.3 62.4 -51.6)
LCHlch(55.3 80.9 320.4)
OKLCHoklch(0.641 0.215 317.9)
Decimal12605151
Display P3color(display-p3 0.753 0.337 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c056df on white: 3.72:1
AA ✗ fail · AA-large · AAA
Aa
#c056df on black: 5.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2E7DE3
deuteranopia · #5B88DC
tritanopia · #BF6D93

Color scale — 50 to 950

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

#FAF3FB
#F4E8F8
#E9CAF2
#DCA1ED
#CA71E4
#c056df
#A827CE
#8C20AC
#701A89
#521764
#330E3E
Base = 500Lightest = 50 · #FAF3FBDarkest = 950 · #330E3E
:root {
  --brand-50: #FAF3FB;
  --brand-100: #F4E8F8;
  --brand-200: #E9CAF2;
  --brand-300: #DCA1ED;
  --brand-400: #CA71E4;
  --brand-500: #c056df;
  --brand-600: #A827CE;
  --brand-700: #8C20AC;
  --brand-800: #701A89;
  --brand-900: #521764;
  --brand-950: #330E3E;
  --brand: #c056df;
  --brand-ink: #000000;
}

Colors that work with #c056df

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#E2C0ED
Hairlines and dividers
Muted text#894B9B
Captions on the surface
Accent#63B01C
Second voice, not a rival
Dark variant#58146B
Hover, pressed, headers
Light variant#F7EAFB
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 #c056df

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#75DF56
Analogous left#7B56DF
Analogous right#DF56BA
Split-complement 1#BADF56
Split-complement 2#56DF7B
Triadic 1#DFC056
Triadic 2#56DFC0
Tetradic#DF7B56

RGB percentages

Red75.3%
Green33.7%
Blue87.5%

CMYK percentages

Cyan13.9%
Magenta61.4%
Yellow0.0%
Key (black)12.5%

Color previews

#c056df text on a black background

contrast 5.64:1

Card sample

#c056df text on a white background

contrast 3.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c056df

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.

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

#c056df, answered

What color is #c056df?

#c056df is a balanced vivid violet, closest to Medium Orchid (ΔE2000 2). It sits at 286° on the hue wheel with 68% saturation and 61% lightness, which reads as neutral.

What is the RGB value of #c056df?

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

Is #c056df a light or a dark color?

It is a mid-tone. Relative luminance is 0.2319 and perceived brightness is 57%, so black text on it reaches 5.64:1.

Should I use black or white text on #c056df?

Black. It scores 5.64:1 against #c056df, versus 3.72:1 for white — AA at any size.

What is the complementary color of #c056df?

#75DF56 sits directly opposite on the wheel. Softer options are the split-complements #BADF56 and #56DF7B, which give the same contrast with far less vibration.

What colors go well with #c056df?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #894B9B for secondary text, #63B01C as an accent and #58146B for hover and pressed states. For a palette, the analogous pair #7B56DF and #DF56BA stays calm, while #75DF56 is the loudest partner.

What is #c056df in CMYK for printing?

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

Is #c056df warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF56CC; nudged cooler, #8D54E1.

Work with #c056df in the Color Lab