#dc5fef
a light, electric magenta / pink · neutral · closest name: Orchid
At a glance
Every number on this page in one read: what #dc5fef is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #dc5fef |
| RGB | rgb(220, 95, 239) |
| HSL | hsl(292, 82%, 66%) |
| CMYK | cmyk(8%, 60%, 0%, 6%) |
| LAB | lab(61.3 68.1 -50.6) |
| LCH | lch(61.3 84.8 323.3) |
| OKLCH | oklch(0.696 0.230 322.2) |
| Decimal | 14442479 |
| Display P3 | color(display-p3 0.863 0.373 0.937) |
Copy-ready code
/* CSS */
color: #dc5fef;
background-color: #dc5fef;
/* Tailwind (arbitrary) */
class="text-[#dc5fef] bg-[#dc5fef]"
/* SCSS */
$brand: #dc5fef;
/* SwiftUI */
Color(red: 0.863, green: 0.373, blue: 0.937)
/* Android */
Color.parseColor("#dc5fef")
/* Flutter */
Color(0xFFDC5FEF)
/* Python / OpenCV (BGR) */
(239, 95, 220)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #dc5fef 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.
:root {
--brand-50: #FBF2FC;
--brand-100: #F7E6F9;
--brand-200: #EFC6F6;
--brand-300: #E999F5;
--brand-400: #dc5fef;
--brand-500: #D233EB;
--brand-600: #C416DF;
--brand-700: #A313B9;
--brand-800: #830F94;
--brand-900: #5F0F6B;
--brand-950: #3B0943;
--brand: #dc5fef;
--brand-ink: #000000;
}Colors that work with #dc5fef
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #dc5fef
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓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
- ⚠Small text on white — under 4.5:1
- ⚠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 | #72EF5F | Directly opposite — maximum tension | |
| Analogous left | #945FEF | Neighbour, quieter | |
| Analogous right | #EF5FBA | Neighbour, quieter | |
| Split-complement 1 | #BAEF5F | Contrast without the clash | |
| Split-complement 2 | #5FEF94 | Contrast without the clash | |
| Triadic 1 | #EFDC5F | Even thirds — balanced and loud | |
| Triadic 2 | #5FEFDC | Even thirds — balanced and loud | |
| Tetradic | #EF945F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#dc5fef text on a black background
contrast 6.93:1
#dc5fef text on a white background
contrast 3.03:1
CSS3 live lab
The quick brown fox
color: #dc5fef;
background-color: #dc5fef;
Glowing headline
text-shadow: 2px 2px 8px #dc5fef;
Soft neon halo
text-shadow: 0 0 14px rgba(220, 95, 239, 0.45);
box-shadow: 0 12px 32px -8px rgba(220, 95, 239, 0.45);
border: 3px solid #dc5fef; background: linear-gradient(135deg, #dc5fef, #EF5FA2);
Monochromatic scale
Palettes built from #dc5fef
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.
Closest color with a full write-up: Orchid (#da70d6) — ΔE2000 5.4 away, with its history, psychology and brand usage.
#dc5fef in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#dc5fef, answered
What color is #dc5fef?
#dc5fef is a light electric magenta / pink, closest to Orchid (ΔE2000 5.4). It sits at 292° on the hue wheel with 82% saturation and 66% lightness, which reads as neutral.
What is the RGB value of #dc5fef?
rgb(220, 95, 239) — 220 red, 95 green and 239 blue out of 255, or 86.3% / 37.3% / 93.7% by channel.
Is #dc5fef a light or a dark color?
It is a mid-tone. Relative luminance is 0.2963 and perceived brightness is 64%, so black text on it reaches 6.93:1.
Should I use black or white text on #dc5fef?
Black. It scores 6.93:1 against #dc5fef, versus 3.03:1 for white — AA at any size.
What is the complementary color of #dc5fef?
#72EF5F sits directly opposite on the wheel. Softer options are the split-complements #BAEF5F and #5FEF94, which give the same contrast with far less vibration.
What colors go well with #dc5fef?
For interface work: #FAF4FA as the surface, #E7C0ED for borders, #904B9B for secondary text, #50BE0E as an accent and #660C74 for hover and pressed states. For a palette, the analogous pair #945FEF and #EF5FBA stays calm, while #72EF5F is the loudest partner.
What is #dc5fef in CMYK for printing?
cmyk(8%, 60%, 0%, 6%). 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 #dc5fef 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 #EF5FCD; nudged cooler, #A75DF1.