#cf97ee
a light, vivid violet · cool · closest name: Plum
At a glance
Every number on this page in one read: what #cf97ee is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #cf97ee |
| RGB | rgb(207, 151, 238) |
| HSL | hsl(279, 72%, 76%) |
| CMYK | cmyk(13%, 37%, 0%, 7%) |
| LAB | lab(70.6 36.4 -35.7) |
| LCH | lch(70.6 51.0 315.5) |
| OKLCH | oklch(0.761 0.134 312.9) |
| Decimal | 13604846 |
| Display P3 | color(display-p3 0.812 0.592 0.933) |
Copy-ready code
/* CSS */
color: #cf97ee;
background-color: #cf97ee;
/* Tailwind (arbitrary) */
class="text-[#cf97ee] bg-[#cf97ee]"
/* SCSS */
$brand: #cf97ee;
/* SwiftUI */
Color(red: 0.812, green: 0.592, blue: 0.933)
/* Android */
Color.parseColor("#cf97ee")
/* Flutter */
Color(0xFFCF97EE)
/* Python / OpenCV (BGR) */
(238, 151, 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. #cf97ee 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.
:root {
--brand-50: #F9F3FC;
--brand-100: #F2E7F8;
--brand-200: #E4C9F3;
--brand-300: #cf97ee;
--brand-400: #BC6EE7;
--brand-500: #A63EDF;
--brand-600: #9422D2;
--brand-700: #7B1DAF;
--brand-800: #62178C;
--brand-900: #491566;
--brand-950: #2E0D40;
--brand: #cf97ee;
--brand-ink: #000000;
}Colors that work with #cf97ee
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 #cf97ee
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | #B6EE97 | Directly opposite — maximum tension | |
| Analogous left | #A497EE | Neighbour, quieter | |
| Analogous right | #EE97E2 | Neighbour, quieter | |
| Split-complement 1 | #E2EE97 | Contrast without the clash | |
| Split-complement 2 | #97EEA4 | Contrast without the clash | |
| Triadic 1 | #EECF97 | Even thirds — balanced and loud | |
| Triadic 2 | #97EECF | Even thirds — balanced and loud | |
| Tetradic | #EEA497 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cf97ee text on a black background
contrast 9.31:1
#cf97ee text on a white background
contrast 2.25:1
CSS3 live lab
The quick brown fox
color: #cf97ee;
background-color: #cf97ee;
Glowing headline
text-shadow: 2px 2px 8px #cf97ee;
Soft neon halo
text-shadow: 0 0 14px rgba(207, 151, 238, 0.45);
box-shadow: 0 12px 32px -8px rgba(207, 151, 238, 0.45);
border: 3px solid #cf97ee; background: linear-gradient(135deg, #cf97ee, #EE97D3);
Monochromatic scale
Palettes built from #cf97ee
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: Mauve (#e0b0ff) — ΔE2000 6.1 away, with its history, psychology and brand usage.
#cf97ee in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#cf97ee, answered
What color is #cf97ee?
#cf97ee is a light vivid violet, closest to Plum (ΔE2000 6.6). It sits at 279° on the hue wheel with 72% saturation and 76% lightness, which reads as cool.
What is the RGB value of #cf97ee?
rgb(207, 151, 238) — 207 red, 151 green and 238 blue out of 255, or 81.2% / 59.2% / 93.3% by channel.
Is #cf97ee a light or a dark color?
It is a mid-tone. Relative luminance is 0.4157 and perceived brightness is 71%, so black text on it reaches 9.31:1.
Should I use black or white text on #cf97ee?
Black. It scores 9.31:1 against #cf97ee, versus 2.25:1 for white — AAA at any size.
What is the complementary color of #cf97ee?
#B6EE97 sits directly opposite on the wheel. Softer options are the split-complements #E2EE97 and #97EEA4, which give the same contrast with far less vibration.
What colors go well with #cf97ee?
For interface work: #F8F4FA as the surface, #DDC0ED for borders, #7E4B9B for secondary text, #76B319 as an accent and #4D126E for hover and pressed states. For a palette, the analogous pair #A497EE and #EE97E2 stays calm, while #B6EE97 is the loudest partner.
What is #cf97ee in CMYK for printing?
cmyk(13%, 37%, 0%, 7%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #cf97ee warm or cool?
Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EE97ED; nudged cooler, #AF96EF.