Skip to content

#c97feb

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

RGB
201, 127, 235
HSL
281°, 73%, 71%
CMYK
15, 46, 0, 8
Luminance
0.3359

At a glance

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

Hex
#c97feb
Hue
281°
violet
Saturation
73%
vivid
Lightness
71%
light
Brightness
92%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3359
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
7.72:1
Closest name
Orchid
ΔE2000 6.2
Where it sits
Hue281° of 360°
Saturation73%
Lightness71%
Temperature
Warm ← → Cool60% 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#c97feb
RGBrgb(201, 127, 235)
HSLhsl(281, 73%, 71%)
CMYKcmyk(15%, 46%, 0%, 8%)
LABlab(64.6 46.9 -43.4)
LCHlch(64.6 63.9 317.2)
OKLCHoklch(0.714 0.169 314.4)
Decimal13205483
Display P3color(display-p3 0.788 0.498 0.922)

Copy-ready code

/* CSS */
color: #c97feb;
background-color: #c97feb;
/* Tailwind (arbitrary) */
class="text-[#c97feb] bg-[#c97feb]"
/* SCSS */
$brand: #c97feb;
/* SwiftUI */
Color(red: 0.788, green: 0.498, blue: 0.922)
/* Android */
Color.parseColor("#c97feb")
/* Flutter */
Color(0xFFC97FEB)
/* Python / OpenCV (BGR) */
(235, 127, 201)

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

Accessibility — WCAG contrast

Aa
#c97feb on white: 2.72:1
AA ✗ fail · AA-large · AAA
Aa
#c97feb on black: 7.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6998EF
deuteranopia · #7E9FE8
tritanopia · #C78FAA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c97feb 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
#F3E7F8
#E6C9F3
#D69EF0
#c97feb
#AD3DE1
#9B21D4
#821CB0
#68168D
#4C1466
#300D40
Base = 400Lightest = 50 · #F9F3FCDarkest = 950 · #300D40
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E7F8;
  --brand-200: #E6C9F3;
  --brand-300: #D69EF0;
  --brand-400: #c97feb;
  --brand-500: #AD3DE1;
  --brand-600: #9B21D4;
  --brand-700: #821CB0;
  --brand-800: #68168D;
  --brand-900: #4C1466;
  --brand-950: #300D40;
  --brand: #c97feb;
  --brand-ink: #000000;
}

Colors that work with #c97feb

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#DFC0ED
Hairlines and dividers
Muted text#824B9B
Captions on the surface
Accent#70B517
Second voice, not a rival
Dark variant#51116E
Hover, pressed, headers
Light variant#F6E9FC
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 #c97feb

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#A1EB7F
Analogous left#937FEB
Analogous right#EB7FD7
Split-complement 1#D7EB7F
Split-complement 2#7FEB93
Triadic 1#EBC97F
Triadic 2#7FEBC9
Tetradic#EB937F

RGB percentages

Red78.8%
Green49.8%
Blue92.2%

CMYK percentages

Cyan14.5%
Magenta46.0%
Yellow0.0%
Key (black)7.8%

Color previews

#c97feb text on a black background

contrast 7.72:1

Card sample

#c97feb text on a white background

contrast 2.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c97feb

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.

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

#c97feb, answered

What color is #c97feb?

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

What is the RGB value of #c97feb?

rgb(201, 127, 235) — 201 red, 127 green and 235 blue out of 255, or 78.8% / 49.8% / 92.2% by channel.

Is #c97feb a light or a dark color?

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

Should I use black or white text on #c97feb?

Black. It scores 7.72:1 against #c97feb, versus 2.72:1 for white — AAA at any size.

What is the complementary color of #c97feb?

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

What colors go well with #c97feb?

For interface work: #F8F4FA as the surface, #DFC0ED for borders, #824B9B for secondary text, #70B517 as an accent and #51116E for hover and pressed states. For a palette, the analogous pair #937FEB and #EB7FD7 stays calm, while #A1EB7F is the loudest partner.

What is #c97feb 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 #c97feb warm or cool?

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

Work with #c97feb in the Color Lab