Skip to content

#cdb3fc

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

RGB
205, 179, 252
HSL
261°, 92%, 85%
CMYK
19, 29, 0, 1
Luminance
0.5225

At a glance

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

Hex
#cdb3fc
Hue
261°
violet
Saturation
92%
electric
Lightness
85%
light
Brightness
99%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5225
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
11.45:1
Closest name
Plum
ΔE2000 9.7
Where it sits
Hue261° of 360°
Saturation92%
Lightness85%
Temperature
Warm ← → Cool71% 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#cdb3fc
RGBrgb(205, 179, 252)
HSLhsl(261, 92%, 85%)
CMYKcmyk(19%, 29%, 0%, 1%)
LABlab(77.4 23.5 -32.7)
LCHlch(77.4 40.3 305.7)
OKLCHoklch(0.815 0.104 300.4)
Decimal13480956
Display P3color(display-p3 0.804 0.702 0.988)

Copy-ready code

/* CSS */
color: #cdb3fc;
background-color: #cdb3fc;
/* Tailwind (arbitrary) */
class="text-[#cdb3fc] bg-[#cdb3fc]"
/* SCSS */
$brand: #cdb3fc;
/* SwiftUI */
Color(red: 0.804, green: 0.702, blue: 0.988)
/* Android */
Color.parseColor("#cdb3fc")
/* Flutter */
Color(0xFFCDB3FC)
/* Python / OpenCV (BGR) */
(252, 179, 205)

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

Accessibility — WCAG contrast

Aa
#cdb3fc on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#cdb3fc on black: 11.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A3BFFF
deuteranopia · #A8BFFA
tritanopia · #C5BECD

Color scale — 50 to 950

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

#F6F2FD
#ECE4FB
#cdb3fc
#B893FB
#955DF9
#7127F6
#5A09EB
#4B08C4
#3C069D
#2E0971
#1D0647
Base = 200Lightest = 50 · #F6F2FDDarkest = 950 · #1D0647
:root {
  --brand-50: #F6F2FD;
  --brand-100: #ECE4FB;
  --brand-200: #cdb3fc;
  --brand-300: #B893FB;
  --brand-400: #955DF9;
  --brand-500: #7127F6;
  --brand-600: #5A09EB;
  --brand-700: #4B08C4;
  --brand-800: #3C069D;
  --brand-900: #2E0971;
  --brand-950: #1D0647;
  --brand: #cdb3fc;
  --brand-ink: #000000;
}

Colors that work with #cdb3fc

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#B2C903
Second voice, not a rival
Dark variant#2F057B
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 #cdb3fc

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#E2FCB3
Analogous left#B3BDFC
Analogous right#F2B3FC
Split-complement 1#FCF2B3
Split-complement 2#BDFCB3
Triadic 1#FCCDB3
Triadic 2#B3FCCD
Tetradic#FCB3BD

RGB percentages

Red80.4%
Green70.2%
Blue98.8%

CMYK percentages

Cyan18.7%
Magenta29.0%
Yellow0.0%
Key (black)1.2%

Color previews

#cdb3fc text on a black background

contrast 11.45:1

Card sample

#cdb3fc text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 179, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 179, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdb3fc;
background: linear-gradient(135deg, #cdb3fc, #FCB3FA);

Monochromatic scale

Palettes built from #cdb3fc

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.

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

#cdb3fc, answered

What color is #cdb3fc?

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

What is the RGB value of #cdb3fc?

rgb(205, 179, 252) — 205 red, 179 green and 252 blue out of 255, or 80.4% / 70.2% / 98.8% by channel.

Is #cdb3fc a light or a dark color?

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

Should I use black or white text on #cdb3fc?

Black. It scores 11.45:1 against #cdb3fc, versus 1.83:1 for white — AAA at any size.

What is the complementary color of #cdb3fc?

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

What colors go well with #cdb3fc?

For interface work: #F6F4FA as the surface, #D0C0ED for borders, #674B9B for secondary text, #B2C903 as an accent and #2F057B for hover and pressed states. For a palette, the analogous pair #B3BDFC and #F2B3FC stays calm, while #E2FCB3 is the loudest partner.

What is #cdb3fc in CMYK for printing?

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

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

Work with #cdb3fc in the Color Lab