Skip to content

#cc9bfe

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

RGB
204, 155, 254
HSL
270°, 98%, 80%
CMYK
20, 39, 0, 0
Luminance
0.4344

At a glance

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

Hex
#cc9bfe
Hue
270°
violet
Saturation
98%
electric
Lightness
80%
light
Brightness
100%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4344
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
9.69:1
Closest name
Plum
ΔE2000 9.4
Where it sits
Hue270° of 360°
Saturation98%
Lightness80%
Temperature
Warm ← → Cool67% 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#cc9bfe
RGBrgb(204, 155, 254)
HSLhsl(270, 98%, 80%)
CMYKcmyk(20%, 39%, 0%, 0%)
LABlab(71.8 36.8 -42.5)
LCHlch(71.8 56.2 310.9)
OKLCHoklch(0.772 0.146 306.0)
Decimal13409278
Display P3color(display-p3 0.800 0.608 0.996)

Copy-ready code

/* CSS */
color: #cc9bfe;
background-color: #cc9bfe;
/* Tailwind (arbitrary) */
class="text-[#cc9bfe] bg-[#cc9bfe]"
/* SCSS */
$brand: #cc9bfe;
/* SwiftUI */
Color(red: 0.800, green: 0.608, blue: 0.996)
/* Android */
Color.parseColor("#cc9bfe")
/* Flutter */
Color(0xFFCC9BFE)
/* Python / OpenCV (BGR) */
(254, 155, 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 #cc9bfe · 9.69:1
Use #000000AAA at every size.
Aa
White text · 2.17:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.69:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cc9bfe as text scores 2.17:1 on white and 9.69:1 on black.

Accessibility — WCAG contrast

Aa
#cc9bfe on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#cc9bfe on black: 9.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #85AEFF
deuteranopia · #90B0FB
tritanopia · #C5AAC1

Color scale — 50 to 950

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

#F7F1FD
#F0E3FC
#DEC1FB
#cc9bfe
#AA58FD
#8E21FD
#7902F2
#6502CA
#5102A2
#3D0674
#260449
Base = 300Lightest = 50 · #F7F1FDDarkest = 950 · #260449
:root {
  --brand-50: #F7F1FD;
  --brand-100: #F0E3FC;
  --brand-200: #DEC1FB;
  --brand-300: #cc9bfe;
  --brand-400: #AA58FD;
  --brand-500: #8E21FD;
  --brand-600: #7902F2;
  --brand-700: #6502CA;
  --brand-800: #5102A2;
  --brand-900: #3D0674;
  --brand-950: #260449;
  --brand: #cc9bfe;
  --brand-ink: #000000;
}

Colors that work with #cc9bfe

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#F7F4FA
Tinted page background
Border#D6C0ED
Hairlines and dividers
Muted text#724B9B
Captions on the surface
Accent#99CC00
Second voice, not a rival
Dark variant#3F017E
Hover, pressed, headers
Light variant#F2E6FF
Selected rows, tints
Dark surface#1C1424
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 #cc9bfe

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#CDFE9B
Analogous left#9B9CFE
Analogous right#FD9BFE
Split-complement 1#FEFD9B
Split-complement 2#9CFE9B
Triadic 1#FECC9B
Triadic 2#9BFECC
Tetradic#FE9B9C

RGB percentages

Red80.0%
Green60.8%
Blue99.6%

CMYK percentages

Cyan19.7%
Magenta39.0%
Yellow0.0%
Key (black)0.4%

Color previews

#cc9bfe text on a black background

contrast 9.69:1

Card sample

#cc9bfe text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc9bfe

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.

#cc9bfe 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cc9bfe, answered

What color is #cc9bfe?

#cc9bfe is a light electric violet, closest to Plum (ΔE2000 9.4). It sits at 270° on the hue wheel with 98% saturation and 80% lightness, which reads as cool.

What is the RGB value of #cc9bfe?

rgb(204, 155, 254) — 204 red, 155 green and 254 blue out of 255, or 80% / 60.8% / 99.6% by channel.

Is #cc9bfe a light or a dark color?

It is a mid-tone. Relative luminance is 0.4344 and perceived brightness is 72%, so black text on it reaches 9.69:1.

Should I use black or white text on #cc9bfe?

Black. It scores 9.69:1 against #cc9bfe, versus 2.17:1 for white — AAA at any size.

What is the complementary color of #cc9bfe?

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

What colors go well with #cc9bfe?

For interface work: #F7F4FA as the surface, #D6C0ED for borders, #724B9B for secondary text, #99CC00 as an accent and #3F017E for hover and pressed states. For a palette, the analogous pair #9B9CFE and #FD9BFE stays calm, while #CDFE9B is the loudest partner.

What is #cc9bfe in CMYK for printing?

cmyk(20%, 39%, 0%, 0%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cc9bfe warm or cool?

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

Work with #cc9bfe in the Color Lab