Skip to content

#d166fd

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

RGB
209, 102, 253
HSL
283°, 97%, 70%
CMYK
17, 60, 0, 1
Luminance
0.3015

At a glance

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

Hex
#d166fd
Hue
283°
violet
Saturation
97%
electric
Lightness
70%
light
Brightness
99%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3015
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.03:1
Closest name
Orchid
ΔE2000 7.7
Where it sits
Hue283° of 360°
Saturation97%
Lightness70%
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#d166fd
RGBrgb(209, 102, 253)
HSLhsl(283, 97%, 70%)
CMYKcmyk(17%, 60%, 0%, 1%)
LABlab(61.8 65.0 -57.8)
LCHlch(61.8 87.0 318.4)
OKLCHoklch(0.698 0.228 314.8)
Decimal13723389
Display P3color(display-p3 0.820 0.400 0.992)

Copy-ready code

/* CSS */
color: #d166fd;
background-color: #d166fd;
/* Tailwind (arbitrary) */
class="text-[#d166fd] bg-[#d166fd]"
/* SCSS */
$brand: #d166fd;
/* SwiftUI */
Color(red: 0.820, green: 0.400, blue: 0.992)
/* Android */
Color.parseColor("#d166fd")
/* Flutter */
Color(0xFFD166FD)
/* Python / OpenCV (BGR) */
(253, 102, 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 #d166fd · 7.03:1
Use #000000AAA at every size.
Aa
White text · 2.99:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.03:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d166fd as text scores 2.99:1 on white and 7.03:1 on black.

Accessibility — WCAG contrast

Aa
#d166fd on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#d166fd on black: 7.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #358FFF
deuteranopia · #6398F9
tritanopia · #CE81A8

Color scale — 50 to 950

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

#FAF1FD
#F5E4FC
#EAC1FB
#DE90FE
#d166fd
#BC22FC
#AC03F2
#8F03C9
#7302A1
#540674
#350449
Base = 400Lightest = 50 · #FAF1FDDarkest = 950 · #350449
:root {
  --brand-50: #FAF1FD;
  --brand-100: #F5E4FC;
  --brand-200: #EAC1FB;
  --brand-300: #DE90FE;
  --brand-400: #d166fd;
  --brand-500: #BC22FC;
  --brand-600: #AC03F2;
  --brand-700: #8F03C9;
  --brand-800: #7302A1;
  --brand-900: #540674;
  --brand-950: #350449;
  --brand: #d166fd;
  --brand-ink: #000000;
}

Colors that work with #d166fd

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#834B9B
Captions on the surface
Accent#6FCC00
Second voice, not a rival
Dark variant#5A027E
Hover, pressed, headers
Light variant#F7E6FF
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 #d166fd

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#92FD66
Analogous left#8566FD
Analogous right#FD66DE
Split-complement 1#DEFD66
Split-complement 2#66FD85
Triadic 1#FDD166
Triadic 2#66FDD1
Tetradic#FD8566

RGB percentages

Red82.0%
Green40.0%
Blue99.2%

CMYK percentages

Cyan17.4%
Magenta59.7%
Yellow0.0%
Key (black)0.8%

Color previews

#d166fd text on a black background

contrast 7.03:1

Card sample

#d166fd text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d166fd

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.

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

#d166fd, answered

What color is #d166fd?

#d166fd is a light electric violet, closest to Orchid (ΔE2000 7.7). It sits at 283° on the hue wheel with 97% saturation and 70% lightness, which reads as cool.

What is the RGB value of #d166fd?

rgb(209, 102, 253) — 209 red, 102 green and 253 blue out of 255, or 82% / 40% / 99.2% by channel.

Is #d166fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3015 and perceived brightness is 64%, so black text on it reaches 7.03:1.

Should I use black or white text on #d166fd?

Black. It scores 7.03:1 against #d166fd, versus 2.99:1 for white — AAA at any size.

What is the complementary color of #d166fd?

#92FD66 sits directly opposite on the wheel. Softer options are the split-complements #DEFD66 and #66FD85, which give the same contrast with far less vibration.

What colors go well with #d166fd?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #834B9B for secondary text, #6FCC00 as an accent and #5A027E for hover and pressed states. For a palette, the analogous pair #8566FD and #FD66DE stays calm, while #92FD66 is the loudest partner.

What is #d166fd in CMYK for printing?

cmyk(17%, 60%, 0%, 1%). 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 #d166fd 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 #FD66F2; nudged cooler, #9964FF.

Work with #d166fd in the Color Lab