#cf5fed
a light, electric violet · neutral · closest name: Medium Orchid
At a glance
Every number on this page in one read: what #cf5fed is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #cf5fed |
| RGB | rgb(207, 95, 237) |
| HSL | hsl(287, 80%, 65%) |
| CMYK | cmyk(13%, 60%, 0%, 7%) |
| LAB | lab(59.5 64.6 -52.6) |
| LCH | lch(59.5 83.3 320.9) |
| OKLCH | oklch(0.678 0.222 318.6) |
| Decimal | 13590509 |
| Display P3 | color(display-p3 0.812 0.373 0.929) |
Copy-ready code
/* CSS */
color: #cf5fed;
background-color: #cf5fed;
/* Tailwind (arbitrary) */
class="text-[#cf5fed] bg-[#cf5fed]"
/* SCSS */
$brand: #cf5fed;
/* SwiftUI */
Color(red: 0.812, green: 0.373, blue: 0.929)
/* Android */
Color.parseColor("#cf5fed")
/* Flutter */
Color(0xFFCF5FED)
/* Python / OpenCV (BGR) */
(237, 95, 207)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #cf5fed 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.
:root {
--brand-50: #FAF3FC;
--brand-100: #F5E6F9;
--brand-200: #EBC7F5;
--brand-300: #E19AF4;
--brand-400: #cf5fed;
--brand-500: #C235E8;
--brand-600: #B319DC;
--brand-700: #9515B7;
--brand-800: #771093;
--brand-900: #57106A;
--brand-950: #360A42;
--brand: #cf5fed;
--brand-ink: #000000;
}Colors that work with #cf5fed
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #cf5fed
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓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
- ⚠Small text on white — under 4.5:1
- ⚠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 | #7DED5F | Directly opposite — maximum tension | |
| Analogous left | #885FED | Neighbour, quieter | |
| Analogous right | #ED5FC4 | Neighbour, quieter | |
| Split-complement 1 | #C4ED5F | Contrast without the clash | |
| Split-complement 2 | #5FED88 | Contrast without the clash | |
| Triadic 1 | #EDCF5F | Even thirds — balanced and loud | |
| Triadic 2 | #5FEDCF | Even thirds — balanced and loud | |
| Tetradic | #ED885F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cf5fed text on a black background
contrast 6.51:1
#cf5fed text on a white background
contrast 3.22:1
CSS3 live lab
The quick brown fox
color: #cf5fed;
background-color: #cf5fed;
Glowing headline
text-shadow: 2px 2px 8px #cf5fed;
Soft neon halo
text-shadow: 0 0 14px rgba(207, 95, 237, 0.45);
box-shadow: 0 12px 32px -8px rgba(207, 95, 237, 0.45);
border: 3px solid #cf5fed; background: linear-gradient(135deg, #cf5fed, #ED5FAC);
Monochromatic scale
Palettes built from #cf5fed
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.
Closest color with a full write-up: Orchid (#da70d6) — ΔE2000 6.6 away, with its history, psychology and brand usage.
#cf5fed in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#cf5fed, answered
What color is #cf5fed?
#cf5fed is a light electric violet, closest to Medium Orchid (ΔE2000 5.7). It sits at 287° on the hue wheel with 80% saturation and 65% lightness, which reads as neutral.
What is the RGB value of #cf5fed?
rgb(207, 95, 237) — 207 red, 95 green and 237 blue out of 255, or 81.2% / 37.3% / 92.9% by channel.
Is #cf5fed a light or a dark color?
It is a mid-tone. Relative luminance is 0.2756 and perceived brightness is 61%, so black text on it reaches 6.51:1.
Should I use black or white text on #cf5fed?
Black. It scores 6.51:1 against #cf5fed, versus 3.22:1 for white — AA at any size.
What is the complementary color of #cf5fed?
#7DED5F sits directly opposite on the wheel. Softer options are the split-complements #C4ED5F and #5FED88, which give the same contrast with far less vibration.
What colors go well with #cf5fed?
For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #5FBC10 as an accent and #5D0D73 for hover and pressed states. For a palette, the analogous pair #885FED and #ED5FC4 stays calm, while #7DED5F is the loudest partner.
What is #cf5fed in CMYK for printing?
cmyk(13%, 60%, 0%, 7%). 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 #cf5fed 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 #ED5FD7; nudged cooler, #9B5DEF.