Skip to content

#d06dec

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

RGB
208, 109, 236
HSL
287°, 77%, 68%
CMYK
12, 54, 0, 8
Luminance
0.3040

At a glance

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

Hex
#d06dec
Hue
287°
violet
Saturation
77%
electric
Lightness
68%
light
Brightness
93%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3040
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.08:1
Closest name
Orchid
ΔE2000 5
Where it sits
Hue287° of 360°
Saturation77%
Lightness68%
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#d06dec
RGBrgb(208, 109, 236)
HSLhsl(287, 77%, 68%)
CMYKcmyk(12%, 54%, 0%, 8%)
LABlab(62.0 58.1 -48.0)
LCHlch(62.0 75.4 320.4)
OKLCHoklch(0.697 0.201 318.4)
Decimal13659628
Display P3color(display-p3 0.816 0.427 0.925)

Copy-ready code

/* CSS */
color: #d06dec;
background-color: #d06dec;
/* Tailwind (arbitrary) */
class="text-[#d06dec] bg-[#d06dec]"
/* SCSS */
$brand: #d06dec;
/* SwiftUI */
Color(red: 0.816, green: 0.427, blue: 0.925)
/* Android */
Color.parseColor("#d06dec")
/* Flutter */
Color(0xFFD06DEC)
/* Python / OpenCV (BGR) */
(236, 109, 208)

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

Accessibility — WCAG contrast

Aa
#d06dec on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#d06dec on black: 7.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #528FF0
deuteranopia · #7399E9
tritanopia · #D080A2

Color scale — 50 to 950

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

#FAF3FC
#F5E7F9
#EAC7F4
#DF9CF2
#d06dec
#BF38E5
#AF1CD9
#9217B5
#751390
#551269
#350B41
Base = 400Lightest = 50 · #FAF3FCDarkest = 950 · #350B41
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F5E7F9;
  --brand-200: #EAC7F4;
  --brand-300: #DF9CF2;
  --brand-400: #d06dec;
  --brand-500: #BF38E5;
  --brand-600: #AF1CD9;
  --brand-700: #9217B5;
  --brand-800: #751390;
  --brand-900: #551269;
  --brand-950: #350B41;
  --brand: #d06dec;
  --brand-ink: #000000;
}

Colors that work with #d06dec

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#894B9B
Captions on the surface
Accent#61B814
Second voice, not a rival
Dark variant#5B0F71
Hover, pressed, headers
Light variant#F8E8FC
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 #d06dec

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#89EC6D
Analogous left#906DEC
Analogous right#EC6DC8
Split-complement 1#C8EC6D
Split-complement 2#6DEC90
Triadic 1#ECD06D
Triadic 2#6DECD0
Tetradic#EC906D

RGB percentages

Red81.6%
Green42.7%
Blue92.5%

CMYK percentages

Cyan11.9%
Magenta53.8%
Yellow0.0%
Key (black)7.5%

Color previews

#d06dec text on a black background

contrast 7.08:1

Card sample

#d06dec text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 109, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 109, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d06dec;
background: linear-gradient(135deg, #d06dec, #EC6DB3);

Monochromatic scale

Palettes built from #d06dec

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.

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

#d06dec, answered

What color is #d06dec?

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

What is the RGB value of #d06dec?

rgb(208, 109, 236) — 208 red, 109 green and 236 blue out of 255, or 81.6% / 42.7% / 92.5% by channel.

Is #d06dec a light or a dark color?

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

Should I use black or white text on #d06dec?

Black. It scores 7.08:1 against #d06dec, versus 2.97:1 for white — AAA at any size.

What is the complementary color of #d06dec?

#89EC6D sits directly opposite on the wheel. Softer options are the split-complements #C8EC6D and #6DEC90, which give the same contrast with far less vibration.

What colors go well with #d06dec?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #894B9B for secondary text, #61B814 as an accent and #5B0F71 for hover and pressed states. For a palette, the analogous pair #906DEC and #EC6DC8 stays calm, while #89EC6D is the loudest partner.

What is #d06dec in CMYK for printing?

cmyk(12%, 54%, 0%, 8%). 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 #d06dec 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 #EC6DD9; nudged cooler, #A16BEE.

Work with #d06dec in the Color Lab