Skip to content

#c47cfb

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

RGB
196, 124, 251
HSL
274°, 94%, 74%
CMYK
22, 51, 0, 2
Luminance
0.3312

At a glance

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

Hex
#c47cfb
Hue
274°
violet
Saturation
94%
electric
Lightness
74%
light
Brightness
98%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3312
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.62:1
Closest name
Orchid
ΔE2000 8.7
Where it sits
Hue274° of 360°
Saturation94%
Lightness74%
Temperature
Warm ← → Cool64% 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#c47cfb
RGBrgb(196, 124, 251)
HSLhsl(274, 94%, 74%)
CMYKcmyk(22%, 51%, 0%, 2%)
LABlab(64.3 50.5 -52.8)
LCHlch(64.3 73.1 313.7)
OKLCHoklch(0.713 0.189 308.5)
Decimal12877051
Display P3color(display-p3 0.769 0.486 0.984)

Copy-ready code

/* CSS */
color: #c47cfb;
background-color: #c47cfb;
/* Tailwind (arbitrary) */
class="text-[#c47cfb] bg-[#c47cfb]"
/* SCSS */
$brand: #c47cfb;
/* SwiftUI */
Color(red: 0.769, green: 0.486, blue: 0.984)
/* Android */
Color.parseColor("#c47cfb")
/* Flutter */
Color(0xFFC47CFB)
/* Python / OpenCV (BGR) */
(251, 124, 196)

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

Accessibility — WCAG contrast

Aa
#c47cfb on white: 2.75:1
AA ✗ fail · AA-large · AAA
Aa
#c47cfb on black: 7.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5899FF
deuteranopia · #6E9DF8
tritanopia · #BC92B0

Color scale — 50 to 950

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

#F8F2FD
#F1E4FB
#E2C2FA
#c47cfb
#B55CFA
#9D25F8
#8A07EE
#7306C6
#5C059E
#440872
#2B0547
Base = 300Lightest = 50 · #F8F2FDDarkest = 950 · #2B0547
:root {
  --brand-50: #F8F2FD;
  --brand-100: #F1E4FB;
  --brand-200: #E2C2FA;
  --brand-300: #c47cfb;
  --brand-400: #B55CFA;
  --brand-500: #9D25F8;
  --brand-600: #8A07EE;
  --brand-700: #7306C6;
  --brand-800: #5C059E;
  --brand-900: #440872;
  --brand-950: #2B0547;
  --brand: #c47cfb;
  --brand-ink: #000000;
}

Colors that work with #c47cfb

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#F8F4FA
Tinted page background
Border#D9C0ED
Hairlines and dividers
Muted text#784B9B
Captions on the surface
Accent#8BCA02
Second voice, not a rival
Dark variant#48047C
Hover, pressed, headers
Light variant#F4E6FE
Selected rows, tints
Dark surface#1D1424
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 #c47cfb

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#B3FB7C
Analogous left#847CFB
Analogous right#FB7CF3
Split-complement 1#F3FB7C
Split-complement 2#7CFB84
Triadic 1#FBC47C
Triadic 2#7CFBC4
Tetradic#FB847C

RGB percentages

Red76.9%
Green48.6%
Blue98.4%

CMYK percentages

Cyan21.9%
Magenta50.6%
Yellow0.0%
Key (black)1.6%

Color previews

#c47cfb text on a black background

contrast 7.62:1

Card sample

#c47cfb text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c47cfb

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.

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

#c47cfb, answered

What color is #c47cfb?

#c47cfb is a light electric violet, closest to Orchid (ΔE2000 8.7). It sits at 274° on the hue wheel with 94% saturation and 74% lightness, which reads as cool.

What is the RGB value of #c47cfb?

rgb(196, 124, 251) — 196 red, 124 green and 251 blue out of 255, or 76.9% / 48.6% / 98.4% by channel.

Is #c47cfb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3312 and perceived brightness is 65%, so black text on it reaches 7.62:1.

Should I use black or white text on #c47cfb?

Black. It scores 7.62:1 against #c47cfb, versus 2.75:1 for white — AAA at any size.

What is the complementary color of #c47cfb?

#B3FB7C sits directly opposite on the wheel. Softer options are the split-complements #F3FB7C and #7CFB84, which give the same contrast with far less vibration.

What colors go well with #c47cfb?

For interface work: #F8F4FA as the surface, #D9C0ED for borders, #784B9B for secondary text, #8BCA02 as an accent and #48047C for hover and pressed states. For a palette, the analogous pair #847CFB and #FB7CF3 stays calm, while #B3FB7C is the loudest partner.

What is #c47cfb in CMYK for printing?

cmyk(22%, 51%, 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 #c47cfb warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F37CFB; nudged cooler, #947AFC.

Work with #c47cfb in the Color Lab