Skip to content

#c306df

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

RGB
195, 6, 223
HSL
292°, 95%, 45%
CMYK
13, 97, 0, 13
Luminance
0.1706

At a glance

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

Hex
#c306df
Hue
292°
magenta / pink
Saturation
95%
electric
Lightness
45%
dark
Brightness
87%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1706
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.76:1
Closest name
Dark Orchid
ΔE2000 6.9
Where it sits
Hue292° of 360°
Saturation95%
Lightness45%
Temperature
Warm ← → Cool54% 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#c306df
RGBrgb(195, 6, 223)
HSLhsl(292, 95%, 45%)
CMYKcmyk(13%, 97%, 0%, 13%)
LABlab(48.3 84.1 -62.7)
LCHlch(48.3 104.9 323.3)
OKLCHoklch(0.593 0.281 321.1)
Decimal12781279
Display P3color(display-p3 0.765 0.024 0.875)

Copy-ready code

/* CSS */
color: #c306df;
background-color: #c306df;
/* Tailwind (arbitrary) */
class="text-[#c306df] bg-[#c306df]"
/* SCSS */
$brand: #c306df;
/* SwiftUI */
Color(red: 0.765, green: 0.024, blue: 0.875)
/* Android */
Color.parseColor("#c306df")
/* Flutter */
Color(0xFFC306DF)
/* Python / OpenCV (BGR) */
(223, 6, 195)

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

Accessibility — WCAG contrast

Aa
#c306df on white: 4.76:1
AA ✓ pass · AA-large · AAA
Aa
#c306df on black: 4.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0068E4
deuteranopia · #3478DB
tritanopia · #C44A83

Color scale — 50 to 950

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

#FCF1FD
#F8E4FB
#F3C2FA
#EE92FC
#E65BFB
#DE24F9
#c306df
#AE05C7
#8B049F
#650873
#3F0548
Base = 600Lightest = 50 · #FCF1FDDarkest = 950 · #3F0548
:root {
  --brand-50: #FCF1FD;
  --brand-100: #F8E4FB;
  --brand-200: #F3C2FA;
  --brand-300: #EE92FC;
  --brand-400: #E65BFB;
  --brand-500: #DE24F9;
  --brand-600: #c306df;
  --brand-700: #AE05C7;
  --brand-800: #8B049F;
  --brand-900: #650873;
  --brand-950: #3F0548;
  --brand: #c306df;
  --brand-ink: #ffffff;
}

Colors that work with #c306df

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#FAF4FA
Tinted page background
Border#E7C0ED
Hairlines and dividers
Muted text#914B9B
Captions on the surface
Accent#4DCB01
Second voice, not a rival
Dark variant#6D037C
Hover, pressed, headers
Light variant#FBE6FE
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 #c306df

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#22DF06
Analogous left#5706DF
Analogous right#DF068E
Split-complement 1#8EDF06
Split-complement 2#06DF57
Triadic 1#DFC306
Triadic 2#06DFC3
Tetradic#DF5706

RGB percentages

Red76.5%
Green2.4%
Blue87.5%

CMYK percentages

Cyan12.6%
Magenta97.3%
Yellow0.0%
Key (black)12.5%

Color previews

#c306df text on a black background

contrast 4.41:1

Card sample

#c306df text on a white background

contrast 4.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c306df

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.

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

#c306df, answered

What color is #c306df?

#c306df is a dark electric magenta / pink, closest to Dark Orchid (ΔE2000 6.9). It sits at 292° on the hue wheel with 95% saturation and 45% lightness, which reads as neutral.

What is the RGB value of #c306df?

rgb(195, 6, 223) — 195 red, 6 green and 223 blue out of 255, or 76.5% / 2.4% / 87.5% by channel.

Is #c306df a light or a dark color?

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

Should I use black or white text on #c306df?

White. It scores 4.76:1 against #c306df, versus 4.41:1 for black — AA at any size.

What is the complementary color of #c306df?

#22DF06 sits directly opposite on the wheel. Softer options are the split-complements #8EDF06 and #06DF57, which give the same contrast with far less vibration.

What colors go well with #c306df?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #914B9B for secondary text, #4DCB01 as an accent and #6D037C for hover and pressed states. For a palette, the analogous pair #5706DF and #DF068E stays calm, while #22DF06 is the loudest partner.

What is #c306df in CMYK for printing?

cmyk(13%, 97%, 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 #c306df warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF06AB; nudged cooler, #7404E1.

Work with #c306df in the Color Lab