Skip to content

#cd9fe2

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

RGB
205, 159, 226
HSL
281°, 54%, 76%
CMYK
9, 30, 0, 11
Luminance
0.4327

At a glance

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

Hex
#cd9fe2
Hue
281°
violet
Saturation
54%
vivid
Lightness
76%
light
Brightness
89%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4327
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
9.65:1
Closest name
Plum
ΔE2000 4.2
Where it sits
Hue281° of 360°
Saturation54%
Lightness76%
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#cd9fe2
RGBrgb(205, 159, 226)
HSLhsl(281, 54%, 76%)
CMYKcmyk(9%, 30%, 0%, 11%)
LABlab(71.7 28.9 -27.4)
LCHlch(71.7 39.8 316.6)
OKLCHoklch(0.768 0.106 315.0)
Decimal13475810
Display P3color(display-p3 0.804 0.624 0.886)

Copy-ready code

/* CSS */
color: #cd9fe2;
background-color: #cd9fe2;
/* Tailwind (arbitrary) */
class="text-[#cd9fe2] bg-[#cd9fe2]"
/* SCSS */
$brand: #cd9fe2;
/* SwiftUI */
Color(red: 0.804, green: 0.624, blue: 0.886)
/* Android */
Color.parseColor("#cd9fe2")
/* Flutter */
Color(0xFFCD9FE2)
/* Python / OpenCV (BGR) */
(226, 159, 205)

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

Accessibility — WCAG contrast

Aa
#cd9fe2 on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#cd9fe2 on black: 9.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #95ADE5
deuteranopia · #A0B1E0
tritanopia · #CCA7B7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd9fe2 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
#F2E9F6
#E4CEED
#cd9fe2
#BC7ED8
#A553CB
#9339BC
#7A2F9D
#62267D
#481F5B
#2D1339
Base = 300Lightest = 50 · #F9F4FBDarkest = 950 · #2D1339
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F2E9F6;
  --brand-200: #E4CEED;
  --brand-300: #cd9fe2;
  --brand-400: #BC7ED8;
  --brand-500: #A553CB;
  --brand-600: #9339BC;
  --brand-700: #7A2F9D;
  --brand-800: #62267D;
  --brand-900: #481F5B;
  --brand-950: #2D1339;
  --brand: #cd9fe2;
  --brand-ink: #000000;
}

Colors that work with #cd9fe2

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#F8F4FA
Tinted page background
Border#DEC0EC
Hairlines and dividers
Muted text#824B9B
Captions on the surface
Accent#6DA12B
Second voice, not a rival
Dark variant#4D1E62
Hover, pressed, headers
Light variant#F5EBF9
Selected rows, tints
Dark surface#1F1424
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 #cd9fe2

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#B4E29F
Analogous left#AC9FE2
Analogous right#E29FD6
Split-complement 1#D6E29F
Split-complement 2#9FE2AC
Triadic 1#E2CD9F
Triadic 2#9FE2CD
Tetradic#E2AC9F

RGB percentages

Red80.4%
Green62.4%
Blue88.6%

CMYK percentages

Cyan9.3%
Magenta29.6%
Yellow0.0%
Key (black)11.4%

Color previews

#cd9fe2 text on a black background

contrast 9.65:1

Card sample

#cd9fe2 text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 159, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 159, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd9fe2;
background: linear-gradient(135deg, #cd9fe2, #E29FCA);

Monochromatic scale

Palettes built from #cd9fe2

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.

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

#cd9fe2, answered

What color is #cd9fe2?

#cd9fe2 is a light vivid violet, closest to Plum (ΔE2000 4.2). It sits at 281° on the hue wheel with 54% saturation and 76% lightness, which reads as cool.

What is the RGB value of #cd9fe2?

rgb(205, 159, 226) — 205 red, 159 green and 226 blue out of 255, or 80.4% / 62.4% / 88.6% by channel.

Is #cd9fe2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4327 and perceived brightness is 71%, so black text on it reaches 9.65:1.

Should I use black or white text on #cd9fe2?

Black. It scores 9.65:1 against #cd9fe2, versus 2.18:1 for white — AAA at any size.

What is the complementary color of #cd9fe2?

#B4E29F sits directly opposite on the wheel. Softer options are the split-complements #D6E29F and #9FE2AC, which give the same contrast with far less vibration.

What colors go well with #cd9fe2?

For interface work: #F8F4FA as the surface, #DEC0EC for borders, #824B9B for secondary text, #6DA12B as an accent and #4D1E62 for hover and pressed states. For a palette, the analogous pair #AC9FE2 and #E29FD6 stays calm, while #B4E29F is the loudest partner.

What is #cd9fe2 in CMYK for printing?

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

Is #cd9fe2 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 #E29FDE; nudged cooler, #B49EE3.

Work with #cd9fe2 in the Color Lab