Skip to content

#cd9ee2

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

RGB
205, 158, 226
HSL
282°, 54%, 75%
CMYK
9, 30, 0, 11
Luminance
0.4292

At a glance

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

Hex
#cd9ee2
Hue
282°
violet
Saturation
54%
vivid
Lightness
75%
light
Brightness
89%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4292
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
9.58:1
Closest name
Plum
ΔE2000 4.2
Where it sits
Hue282° of 360°
Saturation54%
Lightness75%
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#cd9ee2
RGBrgb(205, 158, 226)
HSLhsl(282, 54%, 75%)
CMYKcmyk(9%, 30%, 0%, 11%)
LABlab(71.5 29.5 -27.7)
LCHlch(71.5 40.5 316.8)
OKLCHoklch(0.766 0.107 315.1)
Decimal13475554
Display P3color(display-p3 0.804 0.620 0.886)

Copy-ready code

/* CSS */
color: #cd9ee2;
background-color: #cd9ee2;
/* Tailwind (arbitrary) */
class="text-[#cd9ee2] bg-[#cd9ee2]"
/* SCSS */
$brand: #cd9ee2;
/* SwiftUI */
Color(red: 0.804, green: 0.620, blue: 0.886)
/* Android */
Color.parseColor("#cd9ee2")
/* Flutter */
Color(0xFFCD9EE2)
/* Python / OpenCV (BGR) */
(226, 158, 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 #cd9ee2 · 9.58:1
Use #000000AAA at every size.
Aa
White text · 2.19:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.58:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cd9ee2 as text scores 2.19:1 on white and 9.58:1 on black.

Accessibility — WCAG contrast

Aa
#cd9ee2 on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#cd9ee2 on black: 9.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #94ACE5
deuteranopia · #9FB1E0
tritanopia · #CCA6B6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd9ee2 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
#E4CEEE
#cd9ee2
#BC7DD8
#A652CB
#9438BC
#7B2F9D
#62267E
#491F5C
#2E1339
Base = 300Lightest = 50 · #F9F4FBDarkest = 950 · #2E1339
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F2E9F6;
  --brand-200: #E4CEEE;
  --brand-300: #cd9ee2;
  --brand-400: #BC7DD8;
  --brand-500: #A652CB;
  --brand-600: #9438BC;
  --brand-700: #7B2F9D;
  --brand-800: #62267E;
  --brand-900: #491F5C;
  --brand-950: #2E1339;
  --brand: #cd9ee2;
  --brand-ink: #000000;
}

Colors that work with #cd9ee2

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#DFC0EC
Hairlines and dividers
Muted text#824B9B
Captions on the surface
Accent#6CA22A
Second voice, not a rival
Dark variant#4D1D62
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 #cd9ee2

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#B3E29E
Analogous left#AB9EE2
Analogous right#E29ED5
Split-complement 1#D5E29E
Split-complement 2#9EE2AB
Triadic 1#E2CD9E
Triadic 2#9EE2CD
Tetradic#E2AB9E

RGB percentages

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

CMYK percentages

Cyan9.3%
Magenta30.1%
Yellow0.0%
Key (black)11.4%

Color previews

#cd9ee2 text on a black background

contrast 9.58:1

Card sample

#cd9ee2 text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd9ee2

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.

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

#cd9ee2, answered

What color is #cd9ee2?

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

What is the RGB value of #cd9ee2?

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

Is #cd9ee2 a light or a dark color?

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

Should I use black or white text on #cd9ee2?

Black. It scores 9.58:1 against #cd9ee2, versus 2.19:1 for white — AAA at any size.

What is the complementary color of #cd9ee2?

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

What colors go well with #cd9ee2?

For interface work: #F9F4FA as the surface, #DFC0EC for borders, #824B9B for secondary text, #6CA22A as an accent and #4D1D62 for hover and pressed states. For a palette, the analogous pair #AB9EE2 and #E29ED5 stays calm, while #B3E29E is the loudest partner.

What is #cd9ee2 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 #cd9ee2 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 #E29EDE; nudged cooler, #B49DE3.

Work with #cd9ee2 in the Color Lab