Skip to content

#c508cd

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

RGB
197, 8, 205
HSL
298°, 93%, 42%
CMYK
4, 96, 0, 20
Luminance
0.1645

At a glance

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

Hex
#c508cd
Hue
298°
magenta / pink
Saturation
93%
electric
Lightness
42%
dark
Brightness
80%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1645
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.89:1
Closest name
Dark Orchid
ΔE2000 7.4
Where it sits
Hue298° of 360°
Saturation93%
Lightness42%
Temperature
Warm ← → Cool51% 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#c508cd
RGBrgb(197, 8, 205)
HSLhsl(298, 93%, 42%)
CMYKcmyk(4%, 96%, 0%, 20%)
LABlab(47.6 81.4 -53.6)
LCHlch(47.6 97.5 326.7)
OKLCHoklch(0.584 0.269 326.2)
Decimal12912845
Display P3color(display-p3 0.773 0.031 0.804)

Copy-ready code

/* CSS */
color: #c508cd;
background-color: #c508cd;
/* Tailwind (arbitrary) */
class="text-[#c508cd] bg-[#c508cd]"
/* SCSS */
$brand: #c508cd;
/* SwiftUI */
Color(red: 0.773, green: 0.031, blue: 0.804)
/* Android */
Color.parseColor("#c508cd")
/* Flutter */
Color(0xFFC508CD)
/* Python / OpenCV (BGR) */
(205, 8, 197)

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

Accessibility — WCAG contrast

Aa
#c508cd on white: 4.89:1
AA ✓ pass · AA-large · AAA
Aa
#c508cd on black: 4.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0064D1
deuteranopia · #4A78C9
tritanopia · #CA3E79

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c508cd is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDF2FD
#FAE4FB
#F7C3F9
#F793FB
#F25DF9
#EE27F7
#E309EC
#c508cd
#97069D
#6D0971
#440647
Base = 700Lightest = 50 · #FDF2FDDarkest = 950 · #440647
:root {
  --brand-50: #FDF2FD;
  --brand-100: #FAE4FB;
  --brand-200: #F7C3F9;
  --brand-300: #F793FB;
  --brand-400: #F25DF9;
  --brand-500: #EE27F7;
  --brand-600: #E309EC;
  --brand-700: #c508cd;
  --brand-800: #97069D;
  --brand-900: #6D0971;
  --brand-950: #440647;
  --brand: #c508cd;
  --brand-ink: #ffffff;
}

Colors that work with #c508cd

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#EBC0ED
Hairlines and dividers
Muted text#984B9B
Captions on the surface
Accent#3CC804
Second voice, not a rival
Dark variant#76057B
Hover, pressed, headers
Light variant#FDE6FE
Selected rows, tints
Dark surface#241424
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 #c508cd

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#10CD08
Analogous left#6308CD
Analogous right#CD0872
Split-complement 1#72CD08
Split-complement 2#08CD63
Triadic 1#CDC508
Triadic 2#08CDC5
Tetradic#CD6308

RGB percentages

Red77.3%
Green3.1%
Blue80.4%

CMYK percentages

Cyan3.9%
Magenta96.1%
Yellow0.0%
Key (black)19.6%

Color previews

#c508cd text on a black background

contrast 4.29:1

Card sample

#c508cd text on a white background

contrast 4.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(197, 8, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(197, 8, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c508cd;
background: linear-gradient(135deg, #c508cd, #CD0852);

Monochromatic scale

Palettes built from #c508cd

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.

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

#c508cd, answered

What color is #c508cd?

#c508cd is a dark electric magenta / pink, closest to Dark Orchid (ΔE2000 7.4). It sits at 298° on the hue wheel with 93% saturation and 42% lightness, which reads as neutral.

What is the RGB value of #c508cd?

rgb(197, 8, 205) — 197 red, 8 green and 205 blue out of 255, or 77.3% / 3.1% / 80.4% by channel.

Is #c508cd a light or a dark color?

It is a dark color. Relative luminance is 0.1645 and perceived brightness is 50%, so white text on it reaches 4.89:1.

Should I use black or white text on #c508cd?

White. It scores 4.89:1 against #c508cd, versus 4.29:1 for black — AA at any size.

What is the complementary color of #c508cd?

#10CD08 sits directly opposite on the wheel. Softer options are the split-complements #72CD08 and #08CD63, which give the same contrast with far less vibration.

What colors go well with #c508cd?

For interface work: #FAF4FA as the surface, #EBC0ED for borders, #984B9B for secondary text, #3CC804 as an accent and #76057B for hover and pressed states. For a palette, the analogous pair #6308CD and #CD0872 stays calm, while #10CD08 is the loudest partner.

What is #c508cd in CMYK for printing?

cmyk(4%, 96%, 0%, 20%). 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 #c508cd warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD088D; nudged cooler, #7D06CF.

Work with #c508cd in the Color Lab