Skip to content

#c87fec

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

RGB
200, 127, 236
HSL
280°, 74%, 71%
CMYK
15, 46, 0, 8
Luminance
0.3351

At a glance

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

Hex
#c87fec
Hue
280°
violet
Saturation
74%
vivid
Lightness
71%
light
Brightness
93%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3351
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
7.70:1
Closest name
Orchid
ΔE2000 6.5
Where it sits
Hue280° of 360°
Saturation74%
Lightness71%
Temperature
Warm ← → Cool61% 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#c87fec
RGBrgb(200, 127, 236)
HSLhsl(280, 74%, 71%)
CMYKcmyk(15%, 46%, 0%, 8%)
LABlab(64.6 46.8 -44.0)
LCHlch(64.6 64.3 316.7)
OKLCHoklch(0.714 0.169 313.7)
Decimal13139948
Display P3color(display-p3 0.784 0.498 0.925)

Copy-ready code

/* CSS */
color: #c87fec;
background-color: #c87fec;
/* Tailwind (arbitrary) */
class="text-[#c87fec] bg-[#c87fec]"
/* SCSS */
$brand: #c87fec;
/* SwiftUI */
Color(red: 0.784, green: 0.498, blue: 0.925)
/* Android */
Color.parseColor("#c87fec")
/* Flutter */
Color(0xFFC87FEC)
/* Python / OpenCV (BGR) */
(236, 127, 200)

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

Accessibility — WCAG contrast

Aa
#c87fec on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#c87fec on black: 7.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6898F0
deuteranopia · #7D9EE9
tritanopia · #C58FAA

Color scale — 50 to 950

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

#F9F3FC
#F3E7F9
#E5C8F3
#D59DF0
#c87fec
#AB3CE2
#9920D5
#801AB2
#66158E
#4B1367
#2F0C40
Base = 400Lightest = 50 · #F9F3FCDarkest = 950 · #2F0C40
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E7F9;
  --brand-200: #E5C8F3;
  --brand-300: #D59DF0;
  --brand-400: #c87fec;
  --brand-500: #AB3CE2;
  --brand-600: #9920D5;
  --brand-700: #801AB2;
  --brand-800: #66158E;
  --brand-900: #4B1367;
  --brand-950: #2F0C40;
  --brand: #c87fec;
  --brand-ink: #000000;
}

Colors that work with #c87fec

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#DEC0ED
Hairlines and dividers
Muted text#804B9B
Captions on the surface
Accent#73B616
Second voice, not a rival
Dark variant#50116F
Hover, pressed, headers
Light variant#F5E9FC
Selected rows, tints
Dark surface#1F1424
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 #c87fec

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#A3EC7F
Analogous left#927FEC
Analogous right#EC7FD9
Split-complement 1#D9EC7F
Split-complement 2#7FEC92
Triadic 1#ECC87F
Triadic 2#7FECC8
Tetradic#EC927F

RGB percentages

Red78.4%
Green49.8%
Blue92.5%

CMYK percentages

Cyan15.3%
Magenta46.2%
Yellow0.0%
Key (black)7.5%

Color previews

#c87fec text on a black background

contrast 7.70:1

Card sample

#c87fec text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c87fec

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.

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

#c87fec, answered

What color is #c87fec?

#c87fec is a light vivid violet, closest to Orchid (ΔE2000 6.5). It sits at 280° on the hue wheel with 74% saturation and 71% lightness, which reads as cool.

What is the RGB value of #c87fec?

rgb(200, 127, 236) — 200 red, 127 green and 236 blue out of 255, or 78.4% / 49.8% / 92.5% by channel.

Is #c87fec a light or a dark color?

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

Should I use black or white text on #c87fec?

Black. It scores 7.70:1 against #c87fec, versus 2.73:1 for white — AAA at any size.

What is the complementary color of #c87fec?

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

What colors go well with #c87fec?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #804B9B for secondary text, #73B616 as an accent and #50116F for hover and pressed states. For a palette, the analogous pair #927FEC and #EC7FD9 stays calm, while #A3EC7F is the loudest partner.

What is #c87fec in CMYK for printing?

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

Is #c87fec warm or cool?

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

Work with #c87fec in the Color Lab