Skip to content

#d7a7eb

a light, vivid violet · cool · closest name: Plum

RGB
215, 167, 235
HSL
282°, 63%, 79%
CMYK
9, 29, 0, 8
Luminance
0.4808

At a glance

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

Hex
#d7a7eb
Hue
282°
violet
Saturation
63%
vivid
Lightness
79%
light
Brightness
92%
HSV value
Perceived
75%
weighted brightness
Luminance
0.4808
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
10.62:1
Closest name
Plum
ΔE2000 3.9
Where it sits
Hue282° of 360°
Saturation63%
Lightness79%
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#d7a7eb
RGBrgb(215, 167, 235)
HSLhsl(282, 63%, 79%)
CMYKcmyk(9%, 29%, 0%, 8%)
LABlab(74.9 29.5 -27.4)
LCHlch(74.9 40.3 317.2)
OKLCHoklch(0.795 0.107 315.8)
Decimal14133227
Display P3color(display-p3 0.843 0.655 0.922)

Copy-ready code

/* CSS */
color: #d7a7eb;
background-color: #d7a7eb;
/* Tailwind (arbitrary) */
class="text-[#d7a7eb] bg-[#d7a7eb]"
/* SCSS */
$brand: #d7a7eb;
/* SwiftUI */
Color(red: 0.843, green: 0.655, blue: 0.922)
/* Android */
Color.parseColor("#d7a7eb")
/* Flutter */
Color(0xFFD7A7EB)
/* Python / OpenCV (BGR) */
(235, 167, 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 #d7a7eb · 10.62:1
Use #000000AAA at every size.
Aa
White text · 1.98:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.62:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d7a7eb as text scores 1.98:1 on white and 10.62:1 on black.

Accessibility — WCAG contrast

Aa
#d7a7eb on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#d7a7eb on black: 10.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9EB5EE
deuteranopia · #A8BAE9
tritanopia · #D6AFBF

Color scale — 50 to 950

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

#F9F4FB
#F3E8F7
#E5CBF0
#d7a7eb
#C176E0
#AC48D5
#9A2DC8
#8126A6
#671E85
#4C1A61
#2F103C
Base = 300Lightest = 50 · #F9F4FBDarkest = 950 · #2F103C
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F3E8F7;
  --brand-200: #E5CBF0;
  --brand-300: #d7a7eb;
  --brand-400: #C176E0;
  --brand-500: #AC48D5;
  --brand-600: #9A2DC8;
  --brand-700: #8126A6;
  --brand-800: #671E85;
  --brand-900: #4C1A61;
  --brand-950: #2F103C;
  --brand: #d7a7eb;
  --brand-ink: #000000;
}

Colors that work with #d7a7eb

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#DFC0ED
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#6CAA22
Second voice, not a rival
Dark variant#501868
Hover, pressed, headers
Light variant#F6EAFA
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 #d7a7eb

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#BBEBA7
Analogous left#B5A7EB
Analogous right#EBA7DD
Split-complement 1#DDEBA7
Split-complement 2#A7EBB5
Triadic 1#EBD7A7
Triadic 2#A7EBD7
Tetradic#EBB5A7

RGB percentages

Red84.3%
Green65.5%
Blue92.2%

CMYK percentages

Cyan8.5%
Magenta28.9%
Yellow0.0%
Key (black)7.8%

Color previews

#d7a7eb text on a black background

contrast 10.62:1

Card sample

#d7a7eb text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7a7eb

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.

#d7a7eb 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

Converts to four-color process without much drama. Proof it anyway.

#d7a7eb, answered

What color is #d7a7eb?

#d7a7eb is a light vivid violet, closest to Plum (ΔE2000 3.9). It sits at 282° on the hue wheel with 63% saturation and 79% lightness, which reads as cool.

What is the RGB value of #d7a7eb?

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

Is #d7a7eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.4808 and perceived brightness is 75%, so black text on it reaches 10.62:1.

Should I use black or white text on #d7a7eb?

Black. It scores 10.62:1 against #d7a7eb, versus 1.98:1 for white — AAA at any size.

What is the complementary color of #d7a7eb?

#BBEBA7 sits directly opposite on the wheel. Softer options are the split-complements #DDEBA7 and #A7EBB5, which give the same contrast with far less vibration.

What colors go well with #d7a7eb?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #834B9B for secondary text, #6CAA22 as an accent and #501868 for hover and pressed states. For a palette, the analogous pair #B5A7EB and #EBA7DD stays calm, while #BBEBA7 is the loudest partner.

What is #d7a7eb in CMYK for printing?

cmyk(9%, 29%, 0%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #d7a7eb 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 #EBA7E6; nudged cooler, #BEA6EC.

Work with #d7a7eb in the Color Lab