Skip to content

#c29afb

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

RGB
194, 154, 251
HSL
265°, 92%, 79%
CMYK
23, 39, 0, 2
Luminance
0.4155

At a glance

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

Hex
#c29afb
Hue
265°
violet
Saturation
92%
electric
Lightness
79%
light
Brightness
98%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4155
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
9.31:1
Closest name
Plum
ΔE2000 10.5
Where it sits
Hue265° of 360°
Saturation92%
Lightness79%
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#c29afb
RGBrgb(194, 154, 251)
HSLhsl(265, 92%, 79%)
CMYKcmyk(23%, 39%, 0%, 2%)
LABlab(70.6 33.8 -42.9)
LCHlch(70.6 54.6 308.2)
OKLCHoklch(0.760 0.141 302.2)
Decimal12753659
Display P3color(display-p3 0.761 0.604 0.984)

Copy-ready code

/* CSS */
color: #c29afb;
background-color: #c29afb;
/* Tailwind (arbitrary) */
class="text-[#c29afb] bg-[#c29afb]"
/* SCSS */
$brand: #c29afb;
/* SwiftUI */
Color(red: 0.761, green: 0.604, blue: 0.984)
/* Android */
Color.parseColor("#c29afb")
/* Flutter */
Color(0xFFC29AFB)
/* Python / OpenCV (BGR) */
(251, 154, 194)

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

Accessibility — WCAG contrast

Aa
#c29afb on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#c29afb on black: 9.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #82ACFF
deuteranopia · #8BACF8
tritanopia · #B8AABF

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c29afb is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6F2FD
#EEE4FB
#D9C3F9
#c29afb
#9D5DF9
#7C27F6
#6609EB
#5508C4
#44069D
#340971
#210647
Base = 300Lightest = 50 · #F6F2FDDarkest = 950 · #210647
:root {
  --brand-50: #F6F2FD;
  --brand-100: #EEE4FB;
  --brand-200: #D9C3F9;
  --brand-300: #c29afb;
  --brand-400: #9D5DF9;
  --brand-500: #7C27F6;
  --brand-600: #6609EB;
  --brand-700: #5508C4;
  --brand-800: #44069D;
  --brand-900: #340971;
  --brand-950: #210647;
  --brand: #c29afb;
  --brand-ink: #000000;
}

Colors that work with #c29afb

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#D2C0ED
Hairlines and dividers
Muted text#6C4B9B
Captions on the surface
Accent#A9C804
Second voice, not a rival
Dark variant#35057B
Hover, pressed, headers
Light variant#F0E6FE
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 #c29afb

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#D3FB9A
Analogous left#9AA3FB
Analogous right#F29AFB
Split-complement 1#FBF29A
Split-complement 2#A3FB9A
Triadic 1#FBC29A
Triadic 2#9AFBC2
Tetradic#FB9AA3

RGB percentages

Red76.1%
Green60.4%
Blue98.4%

CMYK percentages

Cyan22.7%
Magenta38.6%
Yellow0.0%
Key (black)1.6%

Color previews

#c29afb text on a black background

contrast 9.31:1

Card sample

#c29afb text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 154, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 154, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c29afb;
background: linear-gradient(135deg, #c29afb, #FB9AF3);

Monochromatic scale

Palettes built from #c29afb

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.

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

#c29afb, answered

What color is #c29afb?

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

What is the RGB value of #c29afb?

rgb(194, 154, 251) — 194 red, 154 green and 251 blue out of 255, or 76.1% / 60.4% / 98.4% by channel.

Is #c29afb a light or a dark color?

It is a mid-tone. Relative luminance is 0.4155 and perceived brightness is 71%, so black text on it reaches 9.31:1.

Should I use black or white text on #c29afb?

Black. It scores 9.31:1 against #c29afb, versus 2.26:1 for white — AAA at any size.

What is the complementary color of #c29afb?

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

What colors go well with #c29afb?

For interface work: #F7F4FA as the surface, #D2C0ED for borders, #6C4B9B for secondary text, #A9C804 as an accent and #35057B for hover and pressed states. For a palette, the analogous pair #9AA3FB and #F29AFB stays calm, while #D3FB9A is the loudest partner.

What is #c29afb in CMYK for printing?

cmyk(23%, 39%, 0%, 2%). 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 #c29afb 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 #E59AFB; nudged cooler, #9D99FC.

Work with #c29afb in the Color Lab