#f366fa
a light, electric magenta / pink · neutral · closest name: Violet
At a glance
Every number on this page in one read: what #f366fa 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 | #f366fa |
| RGB | rgb(243, 102, 250) |
| HSL | hsl(297, 94%, 69%) |
| CMYK | cmyk(3%, 59%, 0%, 2%) |
| LAB | lab(66.1 72.5 -49.0) |
| LCH | lch(66.1 87.5 326.0) |
| OKLCH | oklch(0.739 0.241 325.8) |
| Decimal | 15951610 |
| Display P3 | color(display-p3 0.953 0.400 0.980) |
Copy-ready code
/* CSS */
color: #f366fa;
background-color: #f366fa;
/* Tailwind (arbitrary) */
class="text-[#f366fa] bg-[#f366fa]"
/* SCSS */
$brand: #f366fa;
/* SwiftUI */
Color(red: 0.953, green: 0.400, blue: 0.980)
/* Android */
Color.parseColor("#f366fa")
/* Flutter */
Color(0xFFF366FA)
/* Python / OpenCV (BGR) */
(250, 102, 243)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. #f366fa 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: #FDF2FD;
--brand-100: #FAE4FB;
--brand-200: #F7C2FA;
--brand-300: #F792FB;
--brand-400: #f366fa;
--brand-500: #EE26F8;
--brand-600: #E208ED;
--brand-700: #BD06C6;
--brand-800: #97059E;
--brand-900: #6D0872;
--brand-950: #440547;
--brand: #f366fa;
--brand-ink: #000000;
}Colors that work with #f366fa
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 #f366fa
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 | #6DFA66 | Directly opposite — maximum tension | |
| Analogous left | #A966FA | Neighbour, quieter | |
| Analogous right | #FA66B7 | Neighbour, quieter | |
| Split-complement 1 | #B7FA66 | Contrast without the clash | |
| Split-complement 2 | #66FAA9 | Contrast without the clash | |
| Triadic 1 | #FAF366 | Even thirds — balanced and loud | |
| Triadic 2 | #66FAF3 | Even thirds — balanced and loud | |
| Tetradic | #FAA966 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#f366fa text on a black background
contrast 8.09:1
#f366fa text on a white background
contrast 2.60:1
CSS3 live lab
The quick brown fox
color: #f366fa;
background-color: #f366fa;
Glowing headline
text-shadow: 2px 2px 8px #f366fa;
Soft neon halo
text-shadow: 0 0 14px rgba(243, 102, 250, 0.45);
box-shadow: 0 12px 32px -8px rgba(243, 102, 250, 0.45);
border: 3px solid #f366fa; background: linear-gradient(135deg, #f366fa, #FA669E);
Monochromatic scale
Palettes built from #f366fa
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: Violet (#ee82ee) — ΔE2000 5.4 away, with its history, psychology and brand usage.
#f366fa 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.
#f366fa, answered
What color is #f366fa?
#f366fa is a light electric magenta / pink, closest to Violet (ΔE2000 5.4). It sits at 297° on the hue wheel with 94% saturation and 69% lightness, which reads as neutral.
What is the RGB value of #f366fa?
rgb(243, 102, 250) — 243 red, 102 green and 250 blue out of 255, or 95.3% / 40% / 98% by channel.
Is #f366fa a light or a dark color?
It is a mid-tone. Relative luminance is 0.3546 and perceived brightness is 69%, so black text on it reaches 8.09:1.
Should I use black or white text on #f366fa?
Black. It scores 8.09:1 against #f366fa, versus 2.60:1 for white — AAA at any size.
What is the complementary color of #f366fa?
#6DFA66 sits directly opposite on the wheel. Softer options are the split-complements #B7FA66 and #66FAA9, which give the same contrast with far less vibration.
What colors go well with #f366fa?
For interface work: #FAF4FA as the surface, #EBC0ED for borders, #974B9B for secondary text, #3EC903 as an accent and #76047B for hover and pressed states. For a palette, the analogous pair #A966FA and #FA66B7 stays calm, while #6DFA66 is the loudest partner.
What is #f366fa in CMYK for printing?
cmyk(3%, 59%, 0%, 2%). 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 #f366fa warm or cool?
Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FA66CB; nudged cooler, #BD64FC.