Skip to content

#cd8bec

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

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

At a glance

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

Hex
#cd8bec
Hue
281°
violet
Saturation
72%
vivid
Lightness
74%
light
Brightness
93%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3750
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.50:1
Closest name
Violet
ΔE2000 6.2
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#cd8bec
RGBrgb(205, 139, 236)
HSLhsl(281, 72%, 74%)
CMYKcmyk(13%, 41%, 0%, 8%)
LABlab(67.7 41.8 -39.2)
LCHlch(67.7 57.3 316.9)
OKLCHoklch(0.738 0.151 314.4)
Decimal13470700
Display P3color(display-p3 0.804 0.545 0.925)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd8bec on white: 2.47:1
AA ✗ fail · AA-large · AAA
Aa
#cd8bec on black: 8.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #79A1F0
deuteranopia · #8AA7E9
tritanopia · #CB98B0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd8bec 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
#cd8bec
#C16EE7
#AC3EDF
#9A22D2
#801DAF
#67178C
#4C1566
#2F0D40
Base = 300Lightest = 50 · #F9F3FCDarkest = 950 · #2F0D40
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E7F8;
  --brand-200: #E5C9F3;
  --brand-300: #cd8bec;
  --brand-400: #C16EE7;
  --brand-500: #AC3EDF;
  --brand-600: #9A22D2;
  --brand-700: #801DAF;
  --brand-800: #67178C;
  --brand-900: #4C1566;
  --brand-950: #2F0D40;
  --brand: #cd8bec;
  --brand-ink: #000000;
}

Colors that work with #cd8bec

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#50126E
Hover, pressed, headers
Light variant#F6E9FB
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 #cd8bec

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#AAEC8B
Analogous left#9C8BEC
Analogous right#EC8BDB
Split-complement 1#DBEC8B
Split-complement 2#8BEC9C
Triadic 1#ECCD8B
Triadic 2#8BECCD
Tetradic#EC9C8B

RGB percentages

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

CMYK percentages

Cyan13.1%
Magenta41.1%
Yellow0.0%
Key (black)7.5%

Color previews

#cd8bec text on a black background

contrast 8.50:1

Card sample

#cd8bec text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd8bec

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.

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

#cd8bec, answered

What color is #cd8bec?

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

What is the RGB value of #cd8bec?

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

Is #cd8bec a light or a dark color?

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

Should I use black or white text on #cd8bec?

Black. It scores 8.50:1 against #cd8bec, versus 2.47:1 for white — AAA at any size.

What is the complementary color of #cd8bec?

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

What colors go well with #cd8bec?

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

What is #cd8bec 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 #cd8bec 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 #EC8BE7; nudged cooler, #A989ED.

Work with #cd8bec in the Color Lab