Skip to content

#d652f9

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

RGB
214, 82, 249
HSL
287°, 93%, 65%
CMYK
14, 67, 0, 2
Luminance
0.2717

At a glance

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

Hex
#d652f9
Hue
287°
violet
Saturation
93%
electric
Lightness
65%
balanced
Brightness
98%
HSV value
Perceived
62%
weighted brightness
Luminance
0.2717
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
6.43:1
Closest name
Magenta
ΔE2000 6
Where it sits
Hue287° of 360°
Saturation93%
Lightness65%
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#d652f9
RGBrgb(214, 82, 249)
HSLhsl(287, 93%, 65%)
CMYKcmyk(14%, 67%, 0%, 2%)
LABlab(59.1 73.9 -59.8)
LCHlch(59.1 95.0 321.0)
OKLCHoklch(0.680 0.253 318.4)
Decimal14045945
Display P3color(display-p3 0.839 0.322 0.976)

Copy-ready code

/* CSS */
color: #d652f9;
background-color: #d652f9;
/* Tailwind (arbitrary) */
class="text-[#d652f9] bg-[#d652f9]"
/* SCSS */
$brand: #d652f9;
/* SwiftUI */
Color(red: 0.839, green: 0.322, blue: 0.976)
/* Android */
Color.parseColor("#d652f9")
/* Flutter */
Color(0xFFD652F9)
/* Python / OpenCV (BGR) */
(249, 82, 214)

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

Accessibility — WCAG contrast

Aa
#d652f9 on white: 3.26:1
AA ✗ fail · AA-large · AAA
Aa
#d652f9 on black: 6.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0086FE
deuteranopia · #5B93F5
tritanopia · #D571A0

Color scale — 50 to 950

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

#FBF2FD
#F6E4FB
#EEC2F9
#E593FB
#d652f9
#CC26F7
#BD08ED
#9D07C5
#7E059E
#5C0972
#390547
Base = 400Lightest = 50 · #FBF2FDDarkest = 950 · #390547
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F6E4FB;
  --brand-200: #EEC2F9;
  --brand-300: #E593FB;
  --brand-400: #d652f9;
  --brand-500: #CC26F7;
  --brand-600: #BD08ED;
  --brand-700: #9D07C5;
  --brand-800: #7E059E;
  --brand-900: #5C0972;
  --brand-950: #390547;
  --brand: #d652f9;
  --brand-ink: #000000;
}

Colors that work with #d652f9

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#5FCA02
Second voice, not a rival
Dark variant#62047B
Hover, pressed, headers
Light variant#F9E6FE
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 #d652f9

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#75F952
Analogous left#8252F9
Analogous right#F952C9
Split-complement 1#C9F952
Split-complement 2#52F982
Triadic 1#F9D652
Triadic 2#52F9D6
Tetradic#F98252

RGB percentages

Red83.9%
Green32.2%
Blue97.6%

CMYK percentages

Cyan14.1%
Magenta67.1%
Yellow0.0%
Key (black)2.4%

Color previews

#d652f9 text on a black background

contrast 6.43:1

Card sample

#d652f9 text on a white background

contrast 3.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(214, 82, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(214, 82, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d652f9;
background: linear-gradient(135deg, #d652f9, #F952AD);

Monochromatic scale

Palettes built from #d652f9

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.

#d652f9 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

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

#d652f9, answered

What color is #d652f9?

#d652f9 is a balanced electric violet, closest to Magenta (ΔE2000 6). It sits at 287° on the hue wheel with 93% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #d652f9?

rgb(214, 82, 249) — 214 red, 82 green and 249 blue out of 255, or 83.9% / 32.2% / 97.6% by channel.

Is #d652f9 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2717 and perceived brightness is 62%, so black text on it reaches 6.43:1.

Should I use black or white text on #d652f9?

Black. It scores 6.43:1 against #d652f9, versus 3.26:1 for white — AA at any size.

What is the complementary color of #d652f9?

#75F952 sits directly opposite on the wheel. Softer options are the split-complements #C9F952 and #52F982, which give the same contrast with far less vibration.

What colors go well with #d652f9?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #5FCA02 as an accent and #62047B for hover and pressed states. For a palette, the analogous pair #8252F9 and #F952C9 stays calm, while #75F952 is the loudest partner.

What is #d652f9 in CMYK for printing?

cmyk(14%, 67%, 0%, 2%). 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 #d652f9 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 #F952DF; nudged cooler, #9850FB.

Work with #d652f9 in the Color Lab