Skip to content

#cfb9ec

a light, vivid violet · cool · closest name: Thistle

RGB
207, 185, 236
HSL
266°, 57%, 83%
CMYK
12, 22, 0, 8
Luminance
0.5402

At a glance

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

Hex
#cfb9ec
Hue
266°
violet
Saturation
57%
vivid
Lightness
83%
light
Brightness
93%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5402
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
11.80:1
Closest name
Thistle
ΔE2000 7.9
Where it sits
Hue266° of 360°
Saturation57%
Lightness83%
Temperature
Warm ← → Cool69% 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#cfb9ec
RGBrgb(207, 185, 236)
HSLhsl(266, 57%, 83%)
CMYKcmyk(12%, 22%, 0%, 8%)
LABlab(78.5 17.4 -22.5)
LCHlch(78.5 28.4 307.8)
OKLCHoklch(0.821 0.074 304.4)
Decimal13613548
Display P3color(display-p3 0.812 0.725 0.925)

Copy-ready code

/* CSS */
color: #cfb9ec;
background-color: #cfb9ec;
/* Tailwind (arbitrary) */
class="text-[#cfb9ec] bg-[#cfb9ec]"
/* SCSS */
$brand: #cfb9ec;
/* SwiftUI */
Color(red: 0.812, green: 0.725, blue: 0.925)
/* Android */
Color.parseColor("#cfb9ec")
/* Flutter */
Color(0xFFCFB9EC)
/* Python / OpenCV (BGR) */
(236, 185, 207)

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

Accessibility — WCAG contrast

Aa
#cfb9ec on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#cfb9ec on black: 11.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B0C1EE
deuteranopia · #B4C2EA
tritanopia · #CBC0CA

Color scale — 50 to 950

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

#F7F4FB
#EFE9F7
#cfb9ec
#C3A7E7
#A47BDB
#864FCF
#7134C1
#5E2CA0
#4B2380
#391D5D
#23123A
Base = 200Lightest = 50 · #F7F4FBDarkest = 950 · #23123A
:root {
  --brand-50: #F7F4FB;
  --brand-100: #EFE9F7;
  --brand-200: #cfb9ec;
  --brand-300: #C3A7E7;
  --brand-400: #A47BDB;
  --brand-500: #864FCF;
  --brand-600: #7134C1;
  --brand-700: #5E2CA0;
  --brand-800: #4B2380;
  --brand-900: #391D5D;
  --brand-950: #23123A;
  --brand: #cfb9ec;
  --brand-ink: #000000;
}

Colors that work with #cfb9ec

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#D3C0ED
Hairlines and dividers
Muted text#6D4B9B
Captions on the surface
Accent#8EA527
Second voice, not a rival
Dark variant#3B1B64
Hover, pressed, headers
Light variant#F1EBFA
Selected rows, tints
Dark surface#1B1424
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 #cfb9ec

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#D6ECB9
Analogous left#B9BCEC
Analogous right#E8B9EC
Split-complement 1#ECE8B9
Split-complement 2#BCECB9
Triadic 1#ECCFB9
Triadic 2#B9ECCF
Tetradic#ECB9BC

RGB percentages

Red81.2%
Green72.5%
Blue92.5%

CMYK percentages

Cyan12.3%
Magenta21.6%
Yellow0.0%
Key (black)7.5%

Color previews

#cfb9ec text on a black background

contrast 11.80:1

Card sample

#cfb9ec text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 185, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 185, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfb9ec;
background: linear-gradient(135deg, #cfb9ec, #ECB9E7);

Monochromatic scale

Palettes built from #cfb9ec

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.

#cfb9ec 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

Converts to four-color process without much drama. Proof it anyway.

#cfb9ec, answered

What color is #cfb9ec?

#cfb9ec is a light vivid violet, closest to Thistle (ΔE2000 7.9). It sits at 266° on the hue wheel with 57% saturation and 83% lightness, which reads as cool.

What is the RGB value of #cfb9ec?

rgb(207, 185, 236) — 207 red, 185 green and 236 blue out of 255, or 81.2% / 72.5% / 92.5% by channel.

Is #cfb9ec a light or a dark color?

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

Should I use black or white text on #cfb9ec?

Black. It scores 11.80:1 against #cfb9ec, versus 1.78:1 for white — AAA at any size.

What is the complementary color of #cfb9ec?

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

What colors go well with #cfb9ec?

For interface work: #F7F4FA as the surface, #D3C0ED for borders, #6D4B9B for secondary text, #8EA527 as an accent and #3B1B64 for hover and pressed states. For a palette, the analogous pair #B9BCEC and #E8B9EC stays calm, while #D6ECB9 is the loudest partner.

What is #cfb9ec in CMYK for printing?

cmyk(12%, 22%, 0%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cfb9ec warm or cool?

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

Work with #cfb9ec in the Color Lab