Skip to content

#cdb8fc

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

RGB
205, 184, 252
HSL
259°, 92%, 86%
CMYK
19, 27, 0, 1
Luminance
0.5429

At a glance

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

Hex
#cdb8fc
Hue
259°
violet
Saturation
92%
electric
Lightness
86%
pale
Brightness
99%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5429
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
11.86:1
Closest name
Plum
ΔE2000 10.5
Where it sits
Hue259° of 360°
Saturation92%
Lightness86%
Temperature
Warm ← → Cool73% 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#cdb8fc
RGBrgb(205, 184, 252)
HSLhsl(259, 92%, 86%)
CMYKcmyk(19%, 27%, 0%, 1%)
LABlab(78.6 20.8 -30.9)
LCHlch(78.6 37.2 303.9)
OKLCHoklch(0.824 0.096 298.4)
Decimal13482236
Display P3color(display-p3 0.804 0.722 0.988)

Copy-ready code

/* CSS */
color: #cdb8fc;
background-color: #cdb8fc;
/* Tailwind (arbitrary) */
class="text-[#cdb8fc] bg-[#cdb8fc]"
/* SCSS */
$brand: #cdb8fc;
/* SwiftUI */
Color(red: 0.804, green: 0.722, blue: 0.988)
/* Android */
Color.parseColor("#cdb8fc")
/* Flutter */
Color(0xFFCDB8FC)
/* Python / OpenCV (BGR) */
(252, 184, 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 #cdb8fc · 11.86:1
Use #000000AAA at every size.
Aa
White text · 1.77:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.86:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cdb8fc as text scores 1.77:1 on white and 11.86:1 on black.

Accessibility — WCAG contrast

Aa
#cdb8fc on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#cdb8fc on black: 11.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A9C3FF
deuteranopia · #ACC2FA
tritanopia · #C5C2D0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cdb8fc 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
#EBE4FB
#cdb8fc
#B393FA
#8D5EF8
#6728F6
#4F0AEB
#4208C4
#35079D
#290971
#1A0647
Base = 200Lightest = 50 · #F5F2FDDarkest = 950 · #1A0647
:root {
  --brand-50: #F5F2FD;
  --brand-100: #EBE4FB;
  --brand-200: #cdb8fc;
  --brand-300: #B393FA;
  --brand-400: #8D5EF8;
  --brand-500: #6728F6;
  --brand-600: #4F0AEB;
  --brand-700: #4208C4;
  --brand-800: #35079D;
  --brand-900: #290971;
  --brand-950: #1A0647;
  --brand: #cdb8fc;
  --brand-ink: #000000;
}

Colors that work with #cdb8fc

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#CEC0ED
Hairlines and dividers
Muted text#634B9B
Captions on the surface
Accent#BCC606
Second voice, not a rival
Dark variant#29057A
Hover, pressed, headers
Light variant#EEE7FE
Selected rows, tints
Dark surface#191424
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 #cdb8fc

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#E7FCB8
Analogous left#B8C5FC
Analogous right#EFB8FC
Split-complement 1#FCEFB8
Split-complement 2#C5FCB8
Triadic 1#FCCDB8
Triadic 2#B8FCCD
Tetradic#FCB8C5

RGB percentages

Red80.4%
Green72.2%
Blue98.8%

CMYK percentages

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

Color previews

#cdb8fc text on a black background

contrast 11.86:1

Card sample

#cdb8fc text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdb8fc

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.

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

#cdb8fc, answered

What color is #cdb8fc?

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

What is the RGB value of #cdb8fc?

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

Is #cdb8fc a light or a dark color?

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

Should I use black or white text on #cdb8fc?

Black. It scores 11.86:1 against #cdb8fc, versus 1.77:1 for white — AAA at any size.

What is the complementary color of #cdb8fc?

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

What colors go well with #cdb8fc?

For interface work: #F6F4FA as the surface, #CEC0ED for borders, #634B9B for secondary text, #BCC606 as an accent and #29057A for hover and pressed states. For a palette, the analogous pair #B8C5FC and #EFB8FC stays calm, while #E7FCB8 is the loudest partner.

What is #cdb8fc 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 #cdb8fc warm or cool?

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

Work with #cdb8fc in the Color Lab