Skip to content

#cd8cec

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

RGB
205, 140, 236
HSL
281°, 72%, 74%
CMYK
13, 41, 0, 8
Luminance
0.3779

At a glance

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

Hex
#cd8cec
Hue
281°
violet
Saturation
72%
vivid
Lightness
74%
light
Brightness
93%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3779
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.56:1
Closest name
Violet
ΔE2000 6.3
Where it sits
Hue281° of 360°
Saturation72%
Lightness74%
Temperature
Warm ← → Cool61% 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#cd8cec
RGBrgb(205, 140, 236)
HSLhsl(281, 72%, 74%)
CMYKcmyk(13%, 41%, 0%, 8%)
LABlab(67.9 41.3 -38.8)
LCHlch(67.9 56.7 316.8)
OKLCHoklch(0.740 0.150 314.2)
Decimal13470956
Display P3color(display-p3 0.804 0.549 0.925)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd8cec on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#cd8cec on black: 8.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7BA2F0
deuteranopia · #8BA7E9
tritanopia · #CB99B1

Color scale — 50 to 950

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

#F9F3FC
#F3E7F8
#E5C9F3
#cd8cec
#C06FE7
#AB3EDF
#9923D2
#801DAF
#66178C
#4B1566
#2F0D3F
Base = 300Lightest = 50 · #F9F3FCDarkest = 950 · #2F0D3F
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E7F8;
  --brand-200: #E5C9F3;
  --brand-300: #cd8cec;
  --brand-400: #C06FE7;
  --brand-500: #AB3EDF;
  --brand-600: #9923D2;
  --brand-700: #801DAF;
  --brand-800: #66178C;
  --brand-900: #4B1566;
  --brand-950: #2F0D3F;
  --brand: #cd8cec;
  --brand-ink: #000000;
}

Colors that work with #cd8cec

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#DEC0ED
Hairlines and dividers
Muted text#814B9B
Captions on the surface
Accent#71B418
Second voice, not a rival
Dark variant#50126D
Hover, pressed, headers
Light variant#F5E9FB
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 #cd8cec

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#ABEC8C
Analogous left#9D8CEC
Analogous right#EC8CDB
Split-complement 1#DBEC8C
Split-complement 2#8CEC9D
Triadic 1#ECCD8C
Triadic 2#8CECCD
Tetradic#EC9D8C

RGB percentages

Red80.4%
Green54.9%
Blue92.5%

CMYK percentages

Cyan13.1%
Magenta40.7%
Yellow0.0%
Key (black)7.5%

Color previews

#cd8cec text on a black background

contrast 8.56:1

Card sample

#cd8cec text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd8cec

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.

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

#cd8cec, answered

What color is #cd8cec?

#cd8cec is a light vivid violet, closest to Violet (ΔE2000 6.3). It sits at 281° on the hue wheel with 72% saturation and 74% lightness, which reads as cool.

What is the RGB value of #cd8cec?

rgb(205, 140, 236) — 205 red, 140 green and 236 blue out of 255, or 80.4% / 54.9% / 92.5% by channel.

Is #cd8cec a light or a dark color?

It is a mid-tone. Relative luminance is 0.3779 and perceived brightness is 68%, so black text on it reaches 8.56:1.

Should I use black or white text on #cd8cec?

Black. It scores 8.56:1 against #cd8cec, versus 2.45:1 for white — AAA at any size.

What is the complementary color of #cd8cec?

#ABEC8C sits directly opposite on the wheel. Softer options are the split-complements #DBEC8C and #8CEC9D, which give the same contrast with far less vibration.

What colors go well with #cd8cec?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #814B9B for secondary text, #71B418 as an accent and #50126D for hover and pressed states. For a palette, the analogous pair #9D8CEC and #EC8CDB stays calm, while #ABEC8C is the loudest partner.

What is #cd8cec in CMYK for printing?

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

Is #cd8cec warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EC8CE8; nudged cooler, #A98BED.

Work with #cd8cec in the Color Lab