Skip to content

#d56ef1

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

RGB
213, 110, 241
HSL
287°, 82%, 69%
CMYK
12, 54, 0, 6
Luminance
0.3165

At a glance

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

Hex
#d56ef1
Hue
287°
violet
Saturation
82%
electric
Lightness
69%
light
Brightness
95%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3165
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.33:1
Closest name
Orchid
ΔE2000 5.2
Where it sits
Hue287° of 360°
Saturation82%
Lightness69%
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#d56ef1
RGBrgb(213, 110, 241)
HSLhsl(287, 82%, 69%)
CMYKcmyk(12%, 54%, 0%, 6%)
LABlab(63.0 59.9 -49.1)
LCHlch(63.0 77.4 320.6)
OKLCHoklch(0.707 0.207 318.6)
Decimal13987569
Display P3color(display-p3 0.835 0.431 0.945)

Copy-ready code

/* CSS */
color: #d56ef1;
background-color: #d56ef1;
/* Tailwind (arbitrary) */
class="text-[#d56ef1] bg-[#d56ef1]"
/* SCSS */
$brand: #d56ef1;
/* SwiftUI */
Color(red: 0.835, green: 0.431, blue: 0.945)
/* Android */
Color.parseColor("#d56ef1")
/* Flutter */
Color(0xFFD56EF1)
/* Python / OpenCV (BGR) */
(241, 110, 213)

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

Accessibility — WCAG contrast

Aa
#d56ef1 on white: 2.87:1
AA ✗ fail · AA-large · AAA
Aa
#d56ef1 on black: 7.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5292F5
deuteranopia · #759CEE
tritanopia · #D582A5

Color scale — 50 to 950

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

#FAF2FC
#F5E6FA
#ECC6F6
#E199F5
#d56ef1
#C432EB
#B416DF
#9612BA
#780E95
#580F6C
#370943
Base = 400Lightest = 50 · #FAF2FCDarkest = 950 · #370943
:root {
  --brand-50: #FAF2FC;
  --brand-100: #F5E6FA;
  --brand-200: #ECC6F6;
  --brand-300: #E199F5;
  --brand-400: #d56ef1;
  --brand-500: #C432EB;
  --brand-600: #B416DF;
  --brand-700: #9612BA;
  --brand-800: #780E95;
  --brand-900: #580F6C;
  --brand-950: #370943;
  --brand: #d56ef1;
  --brand-ink: #000000;
}

Colors that work with #d56ef1

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#5FBE0E
Second voice, not a rival
Dark variant#5E0B74
Hover, pressed, headers
Light variant#F8E8FD
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 #d56ef1

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#8AF16E
Analogous left#936EF1
Analogous right#F16ECB
Split-complement 1#CBF16E
Split-complement 2#6EF193
Triadic 1#F1D56E
Triadic 2#6EF1D5
Tetradic#F1936E

RGB percentages

Red83.5%
Green43.1%
Blue94.5%

CMYK percentages

Cyan11.6%
Magenta54.4%
Yellow0.0%
Key (black)5.5%

Color previews

#d56ef1 text on a black background

contrast 7.33:1

Card sample

#d56ef1 text on a white background

contrast 2.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(213, 110, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(213, 110, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d56ef1;
background: linear-gradient(135deg, #d56ef1, #F16EB6);

Monochromatic scale

Palettes built from #d56ef1

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.

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

#d56ef1, answered

What color is #d56ef1?

#d56ef1 is a light electric violet, closest to Orchid (ΔE2000 5.2). It sits at 287° on the hue wheel with 82% saturation and 69% lightness, which reads as neutral.

What is the RGB value of #d56ef1?

rgb(213, 110, 241) — 213 red, 110 green and 241 blue out of 255, or 83.5% / 43.1% / 94.5% by channel.

Is #d56ef1 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3165 and perceived brightness is 65%, so black text on it reaches 7.33:1.

Should I use black or white text on #d56ef1?

Black. It scores 7.33:1 against #d56ef1, versus 2.87:1 for white — AAA at any size.

What is the complementary color of #d56ef1?

#8AF16E sits directly opposite on the wheel. Softer options are the split-complements #CBF16E and #6EF193, which give the same contrast with far less vibration.

What colors go well with #d56ef1?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #5FBE0E as an accent and #5E0B74 for hover and pressed states. For a palette, the analogous pair #936EF1 and #F16ECB stays calm, while #8AF16E is the loudest partner.

What is #d56ef1 in CMYK for printing?

cmyk(12%, 54%, 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 #d56ef1 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 #F16EDD; nudged cooler, #A56CF3.

Work with #d56ef1 in the Color Lab