Skip to content

#ccbafd

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

RGB
204, 186, 253
HSL
256°, 94%, 86%
CMYK
19, 27, 0, 1
Luminance
0.5505

At a glance

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

Hex
#ccbafd
Hue
256°
violet
Saturation
94%
electric
Lightness
86%
pale
Brightness
99%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5505
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
12.01:1
Closest name
Plum
ΔE2000 11.2
Where it sits
Hue256° of 360°
Saturation94%
Lightness86%
Temperature
Warm ← → Cool74% 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#ccbafd
RGBrgb(204, 186, 253)
HSLhsl(256, 94%, 86%)
CMYKcmyk(19%, 27%, 0%, 1%)
LABlab(79.1 19.6 -30.7)
LCHlch(79.1 36.4 302.5)
OKLCHoklch(0.827 0.094 296.6)
Decimal13417213
Display P3color(display-p3 0.800 0.729 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccbafd on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#ccbafd on black: 12.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ABC4FF
deuteranopia · #ADC3FB
tritanopia · #C3C4D1

Color scale — 50 to 950

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

#F5F2FD
#EAE4FB
#ccbafd
#AE92FC
#865BFA
#5E25F9
#4507EE
#3906C6
#2E059F
#250872
#170547
Base = 200Lightest = 50 · #F5F2FDDarkest = 950 · #170547
:root {
  --brand-50: #F5F2FD;
  --brand-100: #EAE4FB;
  --brand-200: #ccbafd;
  --brand-300: #AE92FC;
  --brand-400: #865BFA;
  --brand-500: #5E25F9;
  --brand-600: #4507EE;
  --brand-700: #3906C6;
  --brand-800: #2E059F;
  --brand-900: #250872;
  --brand-950: #170547;
  --brand: #ccbafd;
  --brand-ink: #000000;
}

Colors that work with #ccbafd

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#CCC0ED
Hairlines and dividers
Muted text#604B9B
Captions on the surface
Accent#C6C903
Second voice, not a rival
Dark variant#24047C
Hover, pressed, headers
Light variant#EDE6FE
Selected rows, tints
Dark surface#181424
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 #ccbafd

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#EBFDBA
Analogous left#BACAFD
Analogous right#EEBAFD
Split-complement 1#FDEEBA
Split-complement 2#CAFDBA
Triadic 1#FDCCBA
Triadic 2#BAFDCC
Tetradic#FDBACA

RGB percentages

Red80.0%
Green72.9%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta26.5%
Yellow0.0%
Key (black)0.8%

Color previews

#ccbafd text on a black background

contrast 12.01:1

Card sample

#ccbafd text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccbafd

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.

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

#ccbafd, answered

What color is #ccbafd?

#ccbafd is a pale electric violet, closest to Plum (ΔE2000 11.2). It sits at 256° on the hue wheel with 94% saturation and 86% lightness, which reads as cool.

What is the RGB value of #ccbafd?

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

Is #ccbafd a light or a dark color?

It is a light color. Relative luminance is 0.5505 and perceived brightness is 78%, so black text on it reaches 12.01:1.

Should I use black or white text on #ccbafd?

Black. It scores 12.01:1 against #ccbafd, versus 1.75:1 for white — AAA at any size.

What is the complementary color of #ccbafd?

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

What colors go well with #ccbafd?

For interface work: #F6F4FA as the surface, #CCC0ED for borders, #604B9B for secondary text, #C6C903 as an accent and #24047C for hover and pressed states. For a palette, the analogous pair #BACAFD and #EEBAFD stays calm, while #EBFDBA is the loudest partner.

What is #ccbafd in CMYK for printing?

cmyk(19%, 27%, 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 #ccbafd warm or cool?

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

Work with #ccbafd in the Color Lab