Skip to content

#ccb1fd

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

RGB
204, 177, 253
HSL
261°, 95%, 84%
CMYK
19, 30, 0, 1
Luminance
0.5137

At a glance

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

Hex
#ccb1fd
Hue
261°
violet
Saturation
95%
electric
Lightness
84%
light
Brightness
99%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5137
WCAG relative
Temperature
Cool
72/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
11.27:1
Closest name
Plum
ΔE2000 9.8
Where it sits
Hue261° of 360°
Saturation95%
Lightness84%
Temperature
Warm ← → Cool72% 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#ccb1fd
RGBrgb(204, 177, 253)
HSLhsl(261, 95%, 84%)
CMYKcmyk(19%, 30%, 0%, 1%)
LABlab(76.9 24.5 -34.1)
LCHlch(76.9 42.0 305.7)
OKLCHoklch(0.810 0.109 300.3)
Decimal13414909
Display P3color(display-p3 0.800 0.694 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccb1fd on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#ccb1fd on black: 11.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A0BEFF
deuteranopia · #A5BDFB
tritanopia · #C3BDCC

Color scale — 50 to 950

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

#F6F1FD
#ECE4FB
#ccb1fd
#B792FC
#945BFB
#7024F9
#5906EF
#4A05C7
#3B049F
#2E0873
#1D0548
Base = 200Lightest = 50 · #F6F1FDDarkest = 950 · #1D0548
:root {
  --brand-50: #F6F1FD;
  --brand-100: #ECE4FB;
  --brand-200: #ccb1fd;
  --brand-300: #B792FC;
  --brand-400: #945BFB;
  --brand-500: #7024F9;
  --brand-600: #5906EF;
  --brand-700: #4A05C7;
  --brand-800: #3B049F;
  --brand-900: #2E0873;
  --brand-950: #1D0548;
  --brand: #ccb1fd;
  --brand-ink: #000000;
}

Colors that work with #ccb1fd

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#F6F4FA
Tinted page background
Border#D0C0ED
Hairlines and dividers
Muted text#674B9B
Captions on the surface
Accent#B5CC00
Second voice, not a rival
Dark variant#2E037C
Hover, pressed, headers
Light variant#EFE6FE
Selected rows, tints
Dark surface#1A1424
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 #ccb1fd

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#E2FDB1
Analogous left#B1BCFD
Analogous right#F2B1FD
Split-complement 1#FDF2B1
Split-complement 2#BCFDB1
Triadic 1#FDCCB1
Triadic 2#B1FDCC
Tetradic#FDB1BC

RGB percentages

Red80.0%
Green69.4%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta30.0%
Yellow0.0%
Key (black)0.8%

Color previews

#ccb1fd text on a black background

contrast 11.27:1

Card sample

#ccb1fd text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccb1fd

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.

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

#ccb1fd, answered

What color is #ccb1fd?

#ccb1fd is a light electric violet, closest to Plum (ΔE2000 9.8). It sits at 261° on the hue wheel with 95% saturation and 84% lightness, which reads as cool.

What is the RGB value of #ccb1fd?

rgb(204, 177, 253) — 204 red, 177 green and 253 blue out of 255, or 80% / 69.4% / 99.2% by channel.

Is #ccb1fd a light or a dark color?

It is a light color. Relative luminance is 0.5137 and perceived brightness is 77%, so black text on it reaches 11.27:1.

Should I use black or white text on #ccb1fd?

Black. It scores 11.27:1 against #ccb1fd, versus 1.86:1 for white — AAA at any size.

What is the complementary color of #ccb1fd?

#E2FDB1 sits directly opposite on the wheel. Softer options are the split-complements #FDF2B1 and #BCFDB1, which give the same contrast with far less vibration.

What colors go well with #ccb1fd?

For interface work: #F6F4FA as the surface, #D0C0ED for borders, #674B9B for secondary text, #B5CC00 as an accent and #2E037C for hover and pressed states. For a palette, the analogous pair #B1BCFD and #F2B1FD stays calm, while #E2FDB1 is the loudest partner.

What is #ccb1fd in CMYK for printing?

cmyk(19%, 30%, 0%, 1%). 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 #ccb1fd warm or cool?

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

Work with #ccb1fd in the Color Lab