Skip to content

#cd8ce7

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

RGB
205, 140, 231
HSL
283°, 66%, 73%
CMYK
11, 39, 0, 9
Luminance
0.3750

At a glance

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

Hex
#cd8ce7
Hue
283°
violet
Saturation
66%
vivid
Lightness
73%
light
Brightness
91%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3750
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.50:1
Closest name
Violet
ΔE2000 6.1
Where it sits
Hue283° of 360°
Saturation66%
Lightness73%
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#cd8ce7
RGBrgb(205, 140, 231)
HSLhsl(283, 66%, 73%)
CMYKcmyk(11%, 39%, 0%, 9%)
LABlab(67.7 40.3 -36.4)
LCHlch(67.7 54.3 317.9)
OKLCHoklch(0.737 0.144 315.9)
Decimal13470951
Display P3color(display-p3 0.804 0.549 0.906)

Copy-ready code

/* CSS */
color: #cd8ce7;
background-color: #cd8ce7;
/* Tailwind (arbitrary) */
class="text-[#cd8ce7] bg-[#cd8ce7]"
/* SCSS */
$brand: #cd8ce7;
/* SwiftUI */
Color(red: 0.804, green: 0.549, blue: 0.906)
/* Android */
Color.parseColor("#cd8ce7")
/* Flutter */
Color(0xFFCD8CE7)
/* Python / OpenCV (BGR) */
(231, 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 #cd8ce7 · 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: #cd8ce7 as text scores 2.47:1 on white and 8.50:1 on black.

Accessibility — WCAG contrast

Aa
#cd8ce7 on white: 2.47:1
AA ✗ fail · AA-large · AAA
Aa
#cd8ce7 on black: 8.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7DA1EA
deuteranopia · #8DA7E4
tritanopia · #CC98AF

Color scale — 50 to 950

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

#F9F3FB
#F3E8F8
#E6CBF1
#cd8ce7
#C374E2
#AE45D8
#9D2ACB
#8323A9
#691C87
#4D1862
#300F3D
Base = 300Lightest = 50 · #F9F3FBDarkest = 950 · #300F3D
:root {
  --brand-50: #F9F3FB;
  --brand-100: #F3E8F8;
  --brand-200: #E6CBF1;
  --brand-300: #cd8ce7;
  --brand-400: #C374E2;
  --brand-500: #AE45D8;
  --brand-600: #9D2ACB;
  --brand-700: #8323A9;
  --brand-800: #691C87;
  --brand-900: #4D1862;
  --brand-950: #300F3D;
  --brand: #cd8ce7;
  --brand-ink: #000000;
}

Colors that work with #cd8ce7

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#E0C0ED
Hairlines and dividers
Muted text#844B9B
Captions on the surface
Accent#6BAD1F
Second voice, not a rival
Dark variant#52166A
Hover, pressed, headers
Light variant#F6EAFB
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 #cd8ce7

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#A6E78C
Analogous left#9F8CE7
Analogous right#E78CD3
Split-complement 1#D3E78C
Split-complement 2#8CE79F
Triadic 1#E7CD8C
Triadic 2#8CE7CD
Tetradic#E79F8C

RGB percentages

Red80.4%
Green54.9%
Blue90.6%

CMYK percentages

Cyan11.3%
Magenta39.4%
Yellow0.0%
Key (black)9.4%

Color previews

#cd8ce7 text on a black background

contrast 8.50:1

Card sample

#cd8ce7 text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd8ce7

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.

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

#cd8ce7, answered

What color is #cd8ce7?

#cd8ce7 is a light vivid violet, closest to Violet (ΔE2000 6.1). It sits at 283° on the hue wheel with 66% saturation and 73% lightness, which reads as cool.

What is the RGB value of #cd8ce7?

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

Is #cd8ce7 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 #cd8ce7?

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

What is the complementary color of #cd8ce7?

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

What colors go well with #cd8ce7?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #844B9B for secondary text, #6BAD1F as an accent and #52166A for hover and pressed states. For a palette, the analogous pair #9F8CE7 and #E78CD3 stays calm, while #A6E78C is the loudest partner.

What is #cd8ce7 in CMYK for printing?

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

Is #cd8ce7 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 #E78CE0; nudged cooler, #AB8AE8.

Work with #cd8ce7 in the Color Lab