Skip to content

#cf5cec

a balanced, electric violet · neutral · closest name: Medium Orchid

RGB
207, 92, 236
HSL
288°, 79%, 64%
CMYK
12, 61, 0, 8
Luminance
0.2698

At a glance

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

Hex
#cf5cec
Hue
288°
violet
Saturation
79%
electric
Lightness
64%
balanced
Brightness
93%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2698
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
6.40:1
Closest name
Medium Orchid
ΔE2000 5.3
Where it sits
Hue288° of 360°
Saturation79%
Lightness64%
Temperature
Warm ← → Cool57% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cf5cec
RGBrgb(207, 92, 236)
HSLhsl(288, 79%, 64%)
CMYKcmyk(12%, 61%, 0%, 8%)
LABlab(59.0 65.8 -52.9)
LCHlch(59.0 84.4 321.2)
OKLCHoklch(0.674 0.225 319.0)
Decimal13589740
Display P3color(display-p3 0.812 0.361 0.925)

Copy-ready code

/* CSS */
color: #cf5cec;
background-color: #cf5cec;
/* Tailwind (arbitrary) */
class="text-[#cf5cec] bg-[#cf5cec]"
/* SCSS */
$brand: #cf5cec;
/* SwiftUI */
Color(red: 0.812, green: 0.361, blue: 0.925)
/* Android */
Color.parseColor("#cf5cec")
/* Flutter */
Color(0xFFCF5CEC)
/* Python / OpenCV (BGR) */
(236, 92, 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 #cf5cec · 6.40:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.28:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.40:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #cf5cec as text scores 3.28:1 on white and 6.40:1 on black.

Accessibility — WCAG contrast

Aa
#cf5cec on white: 3.28:1
AA ✗ fail · AA-large · AAA
Aa
#cf5cec on black: 6.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3586F0
deuteranopia · #6592E8
tritanopia · #CF749C

Color scale — 50 to 950

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

#FAF3FC
#F5E6F9
#ECC7F5
#E19BF3
#cf5cec
#C436E8
#B41ADB
#9615B7
#781192
#58116A
#370A42
Base = 400Lightest = 50 · #FAF3FCDarkest = 950 · #370A42
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F5E6F9;
  --brand-200: #ECC7F5;
  --brand-300: #E19BF3;
  --brand-400: #cf5cec;
  --brand-500: #C436E8;
  --brand-600: #B41ADB;
  --brand-700: #9615B7;
  --brand-800: #781192;
  --brand-900: #58116A;
  --brand-950: #370A42;
  --brand: #cf5cec;
  --brand-ink: #000000;
}

Colors that work with #cf5cec

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#F9F4FA
Tinted page background
Border#E4C0ED
Hairlines and dividers
Muted text#8B4B9B
Captions on the surface
Accent#5EBB11
Second voice, not a rival
Dark variant#5E0D72
Hover, pressed, headers
Light variant#F8E8FC
Selected rows, tints
Dark surface#211424
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 #cf5cec

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#79EC5C
Analogous left#875CEC
Analogous right#EC5CC1
Split-complement 1#C1EC5C
Split-complement 2#5CEC87
Triadic 1#ECCF5C
Triadic 2#5CECCF
Tetradic#EC875C

RGB percentages

Red81.2%
Green36.1%
Blue92.5%

CMYK percentages

Cyan12.3%
Magenta61.0%
Yellow0.0%
Key (black)7.5%

Color previews

#cf5cec text on a black background

contrast 6.40:1

Card sample

#cf5cec text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf5cec

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.

#cf5cec 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
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cf5cec, answered

What color is #cf5cec?

#cf5cec is a balanced electric violet, closest to Medium Orchid (ΔE2000 5.3). It sits at 288° on the hue wheel with 79% saturation and 64% lightness, which reads as neutral.

What is the RGB value of #cf5cec?

rgb(207, 92, 236) — 207 red, 92 green and 236 blue out of 255, or 81.2% / 36.1% / 92.5% by channel.

Is #cf5cec a light or a dark color?

It is a mid-tone. Relative luminance is 0.2698 and perceived brightness is 61%, so black text on it reaches 6.40:1.

Should I use black or white text on #cf5cec?

Black. It scores 6.40:1 against #cf5cec, versus 3.28:1 for white — AA at any size.

What is the complementary color of #cf5cec?

#79EC5C sits directly opposite on the wheel. Softer options are the split-complements #C1EC5C and #5CEC87, which give the same contrast with far less vibration.

What colors go well with #cf5cec?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #5EBB11 as an accent and #5E0D72 for hover and pressed states. For a palette, the analogous pair #875CEC and #EC5CC1 stays calm, while #79EC5C is the loudest partner.

What is #cf5cec in CMYK for printing?

cmyk(12%, 61%, 0%, 8%). 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 #cf5cec warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EC5CD4; nudged cooler, #9A5AEE.

Work with #cf5cec in the Color Lab