Skip to content

#d708eb

a balanced, electric magenta / pink · neutral · closest name: Medium Orchid

RGB
215, 8, 235
HSL
295°, 93%, 48%
CMYK
9, 97, 0, 8
Luminance
0.2062

At a glance

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

Hex
#d708eb
Hue
295°
magenta / pink
Saturation
93%
electric
Lightness
48%
balanced
Brightness
92%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2062
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.12:1
Closest name
Medium Orchid
ΔE2000 6.8
Where it sits
Hue295° of 360°
Saturation93%
Lightness48%
Temperature
Warm ← → Cool53% 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#d708eb
RGBrgb(215, 8, 235)
HSLhsl(295, 93%, 48%)
CMYKcmyk(9%, 97%, 0%, 8%)
LABlab(52.5 88.8 -62.5)
LCHlch(52.5 108.6 324.8)
OKLCHoklch(0.631 0.295 323.5)
Decimal14092523
Display P3color(display-p3 0.843 0.031 0.922)

Copy-ready code

/* CSS */
color: #d708eb;
background-color: #d708eb;
/* Tailwind (arbitrary) */
class="text-[#d708eb] bg-[#d708eb]"
/* SCSS */
$brand: #d708eb;
/* SwiftUI */
Color(red: 0.843, green: 0.031, blue: 0.922)
/* Android */
Color.parseColor("#d708eb")
/* Flutter */
Color(0xFFD708EB)
/* Python / OpenCV (BGR) */
(235, 8, 215)

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

Accessibility — WCAG contrast

Aa
#d708eb on white: 4.10:1
AA ✗ fail · AA-large · AAA
Aa
#d708eb on black: 5.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0070F0
deuteranopia · #4784E7
tritanopia · #DA4C8B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d708eb is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF2FD
#F9E4FB
#F5C2F9
#F293FB
#EC5CF9
#E526F8
#d708eb
#B407C5
#90059E
#680972
#410547
Base = 600Lightest = 50 · #FCF2FDDarkest = 950 · #410547
:root {
  --brand-50: #FCF2FD;
  --brand-100: #F9E4FB;
  --brand-200: #F5C2F9;
  --brand-300: #F293FB;
  --brand-400: #EC5CF9;
  --brand-500: #E526F8;
  --brand-600: #d708eb;
  --brand-700: #B407C5;
  --brand-800: #90059E;
  --brand-900: #680972;
  --brand-950: #410547;
  --brand: #d708eb;
  --brand-ink: #000000;
}

Colors that work with #d708eb

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#FAF4FA
Tinted page background
Border#E9C0ED
Hairlines and dividers
Muted text#944B9B
Captions on the surface
Accent#46C903
Second voice, not a rival
Dark variant#71047B
Hover, pressed, headers
Light variant#FCE6FE
Selected rows, tints
Dark surface#231424
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 #d708eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#1CEB08
Analogous left#6508EB
Analogous right#EB088D
Split-complement 1#8DEB08
Split-complement 2#08EB65
Triadic 1#EBD708
Triadic 2#08EBD7
Tetradic#EB6508

RGB percentages

Red84.3%
Green3.1%
Blue92.2%

CMYK percentages

Cyan8.5%
Magenta96.6%
Yellow0.0%
Key (black)7.8%

Color previews

#d708eb text on a black background

contrast 5.12:1

Card sample

#d708eb text on a white background

contrast 4.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(215, 8, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(215, 8, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d708eb;
background: linear-gradient(135deg, #d708eb, #EB0868);

Monochromatic scale

Palettes built from #d708eb

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.

#d708eb in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#d708eb, answered

What color is #d708eb?

#d708eb is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 6.8). It sits at 295° on the hue wheel with 93% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #d708eb?

rgb(215, 8, 235) — 215 red, 8 green and 235 blue out of 255, or 84.3% / 3.1% / 92.2% by channel.

Is #d708eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2062 and perceived brightness is 56%, so black text on it reaches 5.12:1.

Should I use black or white text on #d708eb?

Black. It scores 5.12:1 against #d708eb, versus 4.10:1 for white — AA at any size.

What is the complementary color of #d708eb?

#1CEB08 sits directly opposite on the wheel. Softer options are the split-complements #8DEB08 and #08EB65, which give the same contrast with far less vibration.

What colors go well with #d708eb?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #944B9B for secondary text, #46C903 as an accent and #71047B for hover and pressed states. For a palette, the analogous pair #6508EB and #EB088D stays calm, while #1CEB08 is the loudest partner.

What is #d708eb in CMYK for printing?

cmyk(9%, 97%, 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 #d708eb warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EB08AC; nudged cooler, #8406ED.

Work with #d708eb in the Color Lab