Skip to content

#cc8cdd

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

RGB
204, 140, 221
HSL
287°, 54%, 71%
CMYK
8, 37, 0, 13
Luminance
0.3681

At a glance

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

Hex
#cc8cdd
Hue
287°
violet
Saturation
54%
vivid
Lightness
71%
light
Brightness
87%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3681
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.36:1
Closest name
Violet
ΔE2000 6.3
Where it sits
Hue287° of 360°
Saturation54%
Lightness71%
Temperature
Warm ← → Cool57% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cc8cdd
RGBrgb(204, 140, 221)
HSLhsl(287, 54%, 71%)
CMYKcmyk(8%, 37%, 0%, 13%)
LABlab(67.1 38.0 -31.7)
LCHlch(67.1 49.5 320.1)
OKLCHoklch(0.732 0.133 319.0)
Decimal13405405
Display P3color(display-p3 0.800 0.549 0.867)

Copy-ready code

/* CSS */
color: #cc8cdd;
background-color: #cc8cdd;
/* Tailwind (arbitrary) */
class="text-[#cc8cdd] bg-[#cc8cdd]"
/* SCSS */
$brand: #cc8cdd;
/* SwiftUI */
Color(red: 0.800, green: 0.549, blue: 0.867)
/* Android */
Color.parseColor("#cc8cdd")
/* Flutter */
Color(0xFFCC8CDD)
/* Python / OpenCV (BGR) */
(221, 140, 204)

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

Accessibility — WCAG contrast

Aa
#cc8cdd on white: 2.51:1
AA ✗ fail · AA-large · AAA
Aa
#cc8cdd on black: 8.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #819FE0
deuteranopia · #91A6DA
tritanopia · #CD96AA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cc8cdd is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F4FB
#F3E9F6
#E7CEEE
#D9A8E5
#cc8cdd
#B252CC
#A138BD
#862F9D
#6B257E
#4F1F5C
#311339
Base = 400Lightest = 50 · #F9F4FBDarkest = 950 · #311339
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F3E9F6;
  --brand-200: #E7CEEE;
  --brand-300: #D9A8E5;
  --brand-400: #cc8cdd;
  --brand-500: #B252CC;
  --brand-600: #A138BD;
  --brand-700: #862F9D;
  --brand-800: #6B257E;
  --brand-900: #4F1F5C;
  --brand-950: #311339;
  --brand: #cc8cdd;
  --brand-ink: #000000;
}

Colors that work with #cc8cdd

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#E3C0EC
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#61A22A
Second voice, not a rival
Dark variant#541D62
Hover, pressed, headers
Light variant#F6EBF9
Selected rows, tints
Dark surface#211424
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 #cc8cdd

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#9DDD8C
Analogous left#A48CDD
Analogous right#DD8CC6
Split-complement 1#C6DD8C
Split-complement 2#8CDDA4
Triadic 1#DDCC8C
Triadic 2#8CDDCC
Tetradic#DDA48C

RGB percentages

Red80.0%
Green54.9%
Blue86.7%

CMYK percentages

Cyan7.7%
Magenta36.7%
Yellow0.0%
Key (black)13.3%

Color previews

#cc8cdd text on a black background

contrast 8.36:1

Card sample

#cc8cdd text on a white background

contrast 2.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc8cdd

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.

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

#cc8cdd, answered

What color is #cc8cdd?

#cc8cdd is a light vivid violet, closest to Violet (ΔE2000 6.3). It sits at 287° on the hue wheel with 54% saturation and 71% lightness, which reads as neutral.

What is the RGB value of #cc8cdd?

rgb(204, 140, 221) — 204 red, 140 green and 221 blue out of 255, or 80% / 54.9% / 86.7% by channel.

Is #cc8cdd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3681 and perceived brightness is 67%, so black text on it reaches 8.36:1.

Should I use black or white text on #cc8cdd?

Black. It scores 8.36:1 against #cc8cdd, versus 2.51:1 for white — AAA at any size.

What is the complementary color of #cc8cdd?

#9DDD8C sits directly opposite on the wheel. Softer options are the split-complements #C6DD8C and #8CDDA4, which give the same contrast with far less vibration.

What colors go well with #cc8cdd?

For interface work: #F9F4FA as the surface, #E3C0EC for borders, #8A4B9B for secondary text, #61A22A as an accent and #541D62 for hover and pressed states. For a palette, the analogous pair #A48CDD and #DD8CC6 stays calm, while #9DDD8C is the loudest partner.

What is #cc8cdd in CMYK for printing?

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

Is #cc8cdd warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DD8CD0; nudged cooler, #AE8BDF.

Work with #cc8cdd in the Color Lab