Skip to content

#dc5cff

a light, electric violet · neutral · closest name: Magenta

RGB
220, 92, 255
HSL
287°, 100%, 68%
CMYK
14, 64, 0, 0
Luminance
0.3009

At a glance

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

Hex
#dc5cff
Hue
287°
violet
Saturation
100%
electric
Lightness
68%
light
Brightness
100%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3009
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.02:1
Closest name
Magenta
ΔE2000 6.3
Where it sits
Hue287° of 360°
Saturation100%
Lightness68%
Temperature
Warm ← → Cool57% 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#dc5cff
RGBrgb(220, 92, 255)
HSLhsl(287, 100%, 68%)
CMYKcmyk(14%, 64%, 0%, 0%)
LABlab(61.7 72.3 -58.9)
LCHlch(61.7 93.2 320.8)
OKLCHoklch(0.701 0.248 318.3)
Decimal14441727
Display P3color(display-p3 0.863 0.361 1.000)

Copy-ready code

/* CSS */
color: #dc5cff;
background-color: #dc5cff;
/* Tailwind (arbitrary) */
class="text-[#dc5cff] bg-[#dc5cff]"
/* SCSS */
$brand: #dc5cff;
/* SwiftUI */
Color(red: 0.863, green: 0.361, blue: 1.000)
/* Android */
Color.parseColor("#dc5cff")
/* Flutter */
Color(0xFFDC5CFF)
/* Python / OpenCV (BGR) */
(255, 92, 220)

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 #dc5cff · 7.02:1
Use #000000AAA at every size.
Aa
White text · 2.99:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.02:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #dc5cff as text scores 2.99:1 on white and 7.02:1 on black.

Accessibility — WCAG contrast

Aa
#dc5cff on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#dc5cff on black: 7.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #238DFF
deuteranopia · #6499FB
tritanopia · #DB79A6

Color scale — 50 to 950

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

#FBF1FE
#F7E3FC
#EFC0FC
#E78FFF
#dc5cff
#CF1FFF
#C000F5
#A000CC
#8000A3
#5D0576
#3A0349
Base = 400Lightest = 50 · #FBF1FEDarkest = 950 · #3A0349
:root {
  --brand-50: #FBF1FE;
  --brand-100: #F7E3FC;
  --brand-200: #EFC0FC;
  --brand-300: #E78FFF;
  --brand-400: #dc5cff;
  --brand-500: #CF1FFF;
  --brand-600: #C000F5;
  --brand-700: #A000CC;
  --brand-800: #8000A3;
  --brand-900: #5D0576;
  --brand-950: #3A0349;
  --brand: #dc5cff;
  --brand-ink: #000000;
}

Colors that work with #dc5cff

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#E3C0ED
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#5FCC00
Second voice, not a rival
Dark variant#640080
Hover, pressed, headers
Light variant#FAE5FF
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 #dc5cff

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

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White 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#7FFF5C
Analogous left#8A5CFF
Analogous right#FF5CD0
Split-complement 1#D0FF5C
Split-complement 2#5CFF8A
Triadic 1#FFDC5C
Triadic 2#5CFFDC
Tetradic#FF8A5C

RGB percentages

Red86.3%
Green36.1%
Blue100.0%

CMYK percentages

Cyan13.7%
Magenta63.9%
Yellow0.0%
Key (black)0.0%

Color previews

#dc5cff text on a black background

contrast 7.02:1

Card sample

#dc5cff text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 92, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 92, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dc5cff;
background: linear-gradient(135deg, #dc5cff, #FF5CB5);

Monochromatic scale

Palettes built from #dc5cff

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.

#dc5cff 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#dc5cff, answered

What color is #dc5cff?

#dc5cff is a light electric violet, closest to Magenta (ΔE2000 6.3). It sits at 287° on the hue wheel with 100% saturation and 68% lightness, which reads as neutral.

What is the RGB value of #dc5cff?

rgb(220, 92, 255) — 220 red, 92 green and 255 blue out of 255, or 86.3% / 36.1% / 100% by channel.

Is #dc5cff a light or a dark color?

It is a mid-tone. Relative luminance is 0.3009 and perceived brightness is 64%, so black text on it reaches 7.02:1.

Should I use black or white text on #dc5cff?

Black. It scores 7.02:1 against #dc5cff, versus 2.99:1 for white — AAA at any size.

What is the complementary color of #dc5cff?

#7FFF5C sits directly opposite on the wheel. Softer options are the split-complements #D0FF5C and #5CFF8A, which give the same contrast with far less vibration.

What colors go well with #dc5cff?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #5FCC00 as an accent and #640080 for hover and pressed states. For a palette, the analogous pair #8A5CFF and #FF5CD0 stays calm, while #7FFF5C is the loudest partner.

What is #dc5cff in CMYK for printing?

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

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FF5CE6; nudged cooler, #A05CFF.

Work with #dc5cff in the Color Lab