Skip to content

#d23dfd

a balanced, electric violet · warm · closest name: magenta

RGB
210, 61, 253
HSL
287°, 98%, 62%
CMYK
17, 76, 0, 1
Luminance
0.2413

Every format

HEX#d23dfd
RGBrgb(210, 61, 253)
HSLhsl(287, 98%, 62%)
CMYKcmyk(17%, 76%, 0%, 1%)
LABlab(56.2 81.2 -66.7)
LCHlch(56.2 105.1 320.6)
OKLCHoklch(0.659 0.277 317.2)

Copy-ready code

/* CSS */
color: #d23dfd;
background-color: #d23dfd;
/* Tailwind (arbitrary) */
class="text-[#d23dfd] bg-[#d23dfd]"
/* SCSS */
$brand: #d23dfd;
/* SwiftUI */
Color(red: 0.824, green: 0.239, blue: 0.992)
/* Android */
Color.parseColor("#d23dfd")

Accessibility — WCAG contrast

Aa
#d23dfd on white: 3.60:1
AA ✗ fail · AA-large · AAA
Aa
#d23dfd on black: 5.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green23.9%
Blue99.2%

CMYK percentages

Cyan17.0%
Magenta75.9%
Yellow0.0%
Key (black)0.8%

Color previews

#d23dfd text on a black background

contrast 5.83:1

Card sample

#d23dfd text on a white background

contrast 3.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 61, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 61, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d23dfd;
background: linear-gradient(135deg, #d23dfd, #FD3DA8);

Monochromatic scale

Palettes built from #d23dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d23dfd in the Color Lab