Skip to content

#cfb7f6

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

RGB
207, 183, 246
HSL
263°, 78%, 84%
CMYK
16, 26, 0, 4
Luminance
0.5379

At a glance

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

Hex
#cfb7f6
Hue
263°
violet
Saturation
78%
electric
Lightness
84%
light
Brightness
96%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5379
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
11.76:1
Closest name
Plum
ΔE2000 9.3
Where it sits
Hue263° of 360°
Saturation78%
Lightness84%
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#cfb7f6
RGBrgb(207, 183, 246)
HSLhsl(263, 78%, 84%)
CMYKcmyk(16%, 26%, 0%, 4%)
LABlab(78.3 20.6 -28.1)
LCHlch(78.3 34.8 306.3)
OKLCHoklch(0.821 0.090 301.9)
Decimal13613046
Display P3color(display-p3 0.812 0.718 0.965)

Copy-ready code

/* CSS */
color: #cfb7f6;
background-color: #cfb7f6;
/* Tailwind (arbitrary) */
class="text-[#cfb7f6] bg-[#cfb7f6]"
/* SCSS */
$brand: #cfb7f6;
/* SwiftUI */
Color(red: 0.812, green: 0.718, blue: 0.965)
/* Android */
Color.parseColor("#cfb7f6")
/* Flutter */
Color(0xFFCFB7F6)
/* Python / OpenCV (BGR) */
(246, 183, 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 #cfb7f6 · 11.76:1
Use #000000AAA at every size.
Aa
White text · 1.79:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.76:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cfb7f6 as text scores 1.79:1 on white and 11.76:1 on black.

Accessibility — WCAG contrast

Aa
#cfb7f6 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#cfb7f6 on black: 11.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ABC1F9
deuteranopia · #AFC2F4
tritanopia · #C9C0CD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cfb7f6 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
#EEE6F9
#cfb7f6
#BD9BF3
#9B69EC
#7A38E6
#641BDA
#5317B5
#431291
#331169
#200B42
Base = 200Lightest = 50 · #F6F3FCDarkest = 950 · #200B42
:root {
  --brand-50: #F6F3FC;
  --brand-100: #EEE6F9;
  --brand-200: #cfb7f6;
  --brand-300: #BD9BF3;
  --brand-400: #9B69EC;
  --brand-500: #7A38E6;
  --brand-600: #641BDA;
  --brand-700: #5317B5;
  --brand-800: #431291;
  --brand-900: #331169;
  --brand-950: #200B42;
  --brand: #cfb7f6;
  --brand-ink: #000000;
}

Colors that work with #cfb7f6

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#694B9B
Captions on the surface
Accent#A4BA12
Second voice, not a rival
Dark variant#340E71
Hover, pressed, headers
Light variant#F0E8FC
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 #cfb7f6

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#DEF6B7
Analogous left#B7BEF6
Analogous right#EFB7F6
Split-complement 1#F6EFB7
Split-complement 2#BEF6B7
Triadic 1#F6CFB7
Triadic 2#B7F6CF
Tetradic#F6B7BE

RGB percentages

Red81.2%
Green71.8%
Blue96.5%

CMYK percentages

Cyan15.9%
Magenta25.6%
Yellow0.0%
Key (black)3.5%

Color previews

#cfb7f6 text on a black background

contrast 11.76:1

Card sample

#cfb7f6 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfb7f6

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.

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

#cfb7f6, answered

What color is #cfb7f6?

#cfb7f6 is a light electric violet, closest to Plum (ΔE2000 9.3). It sits at 263° on the hue wheel with 78% saturation and 84% lightness, which reads as cool.

What is the RGB value of #cfb7f6?

rgb(207, 183, 246) — 207 red, 183 green and 246 blue out of 255, or 81.2% / 71.8% / 96.5% by channel.

Is #cfb7f6 a light or a dark color?

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

Should I use black or white text on #cfb7f6?

Black. It scores 11.76:1 against #cfb7f6, versus 1.79:1 for white — AAA at any size.

What is the complementary color of #cfb7f6?

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

What colors go well with #cfb7f6?

For interface work: #F7F4FA as the surface, #D1C0ED for borders, #694B9B for secondary text, #A4BA12 as an accent and #340E71 for hover and pressed states. For a palette, the analogous pair #B7BEF6 and #EFB7F6 stays calm, while #DEF6B7 is the loudest partner.

What is #cfb7f6 in CMYK for printing?

cmyk(16%, 26%, 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 #cfb7f6 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 #E6B7F6; nudged cooler, #B7B6F7.

Work with #cfb7f6 in the Color Lab