Skip to content

#d17df3

a light, electric violet · cool · closest name: Violet

RGB
209, 125, 243
HSL
283°, 83%, 72%
CMYK
14, 49, 0, 5
Luminance
0.3469

At a glance

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

Hex
#d17df3
Hue
283°
violet
Saturation
83%
electric
Lightness
72%
light
Brightness
95%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3469
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.94:1
Closest name
Violet
ΔE2000 6
Where it sits
Hue283° of 360°
Saturation83%
Lightness72%
Temperature
Warm ← → Cool60% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#d17df3
RGBrgb(209, 125, 243)
HSLhsl(283, 83%, 72%)
CMYKcmyk(14%, 49%, 0%, 5%)
LABlab(65.5 51.8 -46.4)
LCHlch(65.5 69.5 318.2)
OKLCHoklch(0.724 0.184 315.5)
Decimal13729267
Display P3color(display-p3 0.820 0.490 0.953)

Copy-ready code

/* CSS */
color: #d17df3;
background-color: #d17df3;
/* Tailwind (arbitrary) */
class="text-[#d17df3] bg-[#d17df3]"
/* SCSS */
$brand: #d17df3;
/* SwiftUI */
Color(red: 0.820, green: 0.490, blue: 0.953)
/* Android */
Color.parseColor("#d17df3")
/* Flutter */
Color(0xFFD17DF3)
/* Python / OpenCV (BGR) */
(243, 125, 209)

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

Accessibility — WCAG contrast

Aa
#d17df3 on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#d17df3 on black: 7.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #659AF7
deuteranopia · #7DA2F0
tritanopia · #CF8FAD

Color scale — 50 to 950

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

#F9F2FC
#F4E6FA
#E8C6F6
#DB98F6
#d17df3
#B632EC
#A515E0
#8A11BB
#6E0E95
#510E6C
#330943
Base = 400Lightest = 50 · #F9F2FCDarkest = 950 · #330943
:root {
  --brand-50: #F9F2FC;
  --brand-100: #F4E6FA;
  --brand-200: #E8C6F6;
  --brand-300: #DB98F6;
  --brand-400: #d17df3;
  --brand-500: #B632EC;
  --brand-600: #A515E0;
  --brand-700: #8A11BB;
  --brand-800: #6E0E95;
  --brand-900: #510E6C;
  --brand-950: #330943;
  --brand: #d17df3;
  --brand-ink: #000000;
}

Colors that work with #d17df3

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#E0C0ED
Hairlines and dividers
Muted text#844B9B
Captions on the surface
Accent#6DBF0D
Second voice, not a rival
Dark variant#560B75
Hover, pressed, headers
Light variant#F7E8FD
Selected rows, tints
Dark surface#201424
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 #d17df3

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#9FF37D
Analogous left#967DF3
Analogous right#F37DDA
Split-complement 1#DAF37D
Split-complement 2#7DF396
Triadic 1#F3D17D
Triadic 2#7DF3D1
Tetradic#F3967D

RGB percentages

Red82.0%
Green49.0%
Blue95.3%

CMYK percentages

Cyan14.0%
Magenta48.6%
Yellow0.0%
Key (black)4.7%

Color previews

#d17df3 text on a black background

contrast 7.94:1

Card sample

#d17df3 text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(209, 125, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(209, 125, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d17df3;
background: linear-gradient(135deg, #d17df3, #F37DC6);

Monochromatic scale

Palettes built from #d17df3

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.

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

#d17df3, answered

What color is #d17df3?

#d17df3 is a light electric violet, closest to Violet (ΔE2000 6). It sits at 283° on the hue wheel with 83% saturation and 72% lightness, which reads as cool.

What is the RGB value of #d17df3?

rgb(209, 125, 243) — 209 red, 125 green and 243 blue out of 255, or 82% / 49% / 95.3% by channel.

Is #d17df3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3469 and perceived brightness is 67%, so black text on it reaches 7.94:1.

Should I use black or white text on #d17df3?

Black. It scores 7.94:1 against #d17df3, versus 2.65:1 for white — AAA at any size.

What is the complementary color of #d17df3?

#9FF37D sits directly opposite on the wheel. Softer options are the split-complements #DAF37D and #7DF396, which give the same contrast with far less vibration.

What colors go well with #d17df3?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #844B9B for secondary text, #6DBF0D as an accent and #560B75 for hover and pressed states. For a palette, the analogous pair #967DF3 and #F37DDA stays calm, while #9FF37D is the loudest partner.

What is #d17df3 in CMYK for printing?

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

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F37DEA; nudged cooler, #A57CF4.

Work with #d17df3 in the Color Lab