Skip to content

#ccb2f4

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

RGB
204, 178, 244
HSL
264°, 75%, 83%
CMYK
16, 27, 0, 4
Luminance
0.5121

At a glance

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

Hex
#ccb2f4
Hue
264°
violet
Saturation
75%
electric
Lightness
83%
light
Brightness
96%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5121
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
11.24:1
Closest name
Plum
ΔE2000 8.7
Where it sits
Hue264° of 360°
Saturation75%
Lightness83%
Temperature
Warm ← → Cool70% 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#ccb2f4
RGBrgb(204, 178, 244)
HSLhsl(264, 75%, 83%)
CMYKcmyk(16%, 27%, 0%, 4%)
LABlab(76.8 22.0 -29.4)
LCHlch(76.8 36.7 306.8)
OKLCHoklch(0.809 0.095 302.4)
Decimal13415156
Display P3color(display-p3 0.800 0.698 0.957)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccb2f4 on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#ccb2f4 on black: 11.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A5BDF7
deuteranopia · #A9BDF2
tritanopia · #C6BCC9

Color scale — 50 to 950

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

#F6F3FC
#EEE7F9
#ccb2f4
#BE9DF1
#9D6CEA
#7D3BE3
#671FD6
#5619B3
#45148F
#341367
#210C41
Base = 200Lightest = 50 · #F6F3FCDarkest = 950 · #210C41
:root {
  --brand-50: #F6F3FC;
  --brand-100: #EEE7F9;
  --brand-200: #ccb2f4;
  --brand-300: #BE9DF1;
  --brand-400: #9D6CEA;
  --brand-500: #7D3BE3;
  --brand-600: #671FD6;
  --brand-700: #5619B3;
  --brand-800: #45148F;
  --brand-900: #341367;
  --brand-950: #210C41;
  --brand: #ccb2f4;
  --brand-ink: #000000;
}

Colors that work with #ccb2f4

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#D1C0ED
Hairlines and dividers
Muted text#6A4B9B
Captions on the surface
Accent#A0B715
Second voice, not a rival
Dark variant#361070
Hover, pressed, headers
Light variant#F0E9FC
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 #ccb2f4

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#DAF4B2
Analogous left#B2B9F4
Analogous right#EDB2F4
Split-complement 1#F4EDB2
Split-complement 2#B9F4B2
Triadic 1#F4CCB2
Triadic 2#B2F4CC
Tetradic#F4B2B9

RGB percentages

Red80.0%
Green69.8%
Blue95.7%

CMYK percentages

Cyan16.4%
Magenta27.0%
Yellow0.0%
Key (black)4.3%

Color previews

#ccb2f4 text on a black background

contrast 11.24:1

Card sample

#ccb2f4 text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccb2f4

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.

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

#ccb2f4, answered

What color is #ccb2f4?

#ccb2f4 is a light electric violet, closest to Plum (ΔE2000 8.7). It sits at 264° on the hue wheel with 75% saturation and 83% lightness, which reads as cool.

What is the RGB value of #ccb2f4?

rgb(204, 178, 244) — 204 red, 178 green and 244 blue out of 255, or 80% / 69.8% / 95.7% by channel.

Is #ccb2f4 a light or a dark color?

It is a light color. Relative luminance is 0.5121 and perceived brightness is 76%, so black text on it reaches 11.24:1.

Should I use black or white text on #ccb2f4?

Black. It scores 11.24:1 against #ccb2f4, versus 1.87:1 for white — AAA at any size.

What is the complementary color of #ccb2f4?

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

What colors go well with #ccb2f4?

For interface work: #F7F4FA as the surface, #D1C0ED for borders, #6A4B9B for secondary text, #A0B715 as an accent and #361070 for hover and pressed states. For a palette, the analogous pair #B2B9F4 and #EDB2F4 stays calm, while #DAF4B2 is the loudest partner.

What is #ccb2f4 in CMYK for printing?

cmyk(16%, 27%, 0%, 4%). 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 #ccb2f4 warm or cool?

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

Work with #ccb2f4 in the Color Lab