Skip to content

#f366fa

a light, electric magenta / pink · neutral · closest name: Violet

RGB
243, 102, 250
HSL
297°, 94%, 69%
CMYK
3, 59, 0, 2
Luminance
0.3546

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.

Hex
#f366fa
Hue
297°
magenta / pink
Saturation
94%
electric
Lightness
69%
light
Brightness
98%
HSV value
Perceived
69%
weighted brightness
Luminance
0.3546
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
8.09:1
Closest name
Violet
ΔE2000 5.4
Where it sits
Hue297° of 360°
Saturation94%
Lightness69%
Temperature
Warm ← → Cool52% 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#f366fa
RGBrgb(243, 102, 250)
HSLhsl(297, 94%, 69%)
CMYKcmyk(3%, 59%, 0%, 2%)
LABlab(66.1 72.5 -49.0)
LCHlch(66.1 87.5 326.0)
OKLCHoklch(0.739 0.241 325.8)
Decimal15951610
Display P3color(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.

Readable at a glance#000000 on #f366fa · 8.09:1
Use #000000AAA at every size.
Aa
White text · 2.60:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.09:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f366fa as text scores 2.60:1 on white and 8.09:1 on black.

Accessibility — WCAG contrast

Aa
#f366fa on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#f366fa on black: 8.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5095FF
deuteranopia · #83A7F6
tritanopia · #F97AA7

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.

#FDF2FD
#FAE4FB
#F7C2FA
#F792FB
#f366fa
#EE26F8
#E208ED
#BD06C6
#97059E
#6D0872
#440547
Base = 400Lightest = 50 · #FDF2FDDarkest = 950 · #440547
: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.

Text on it#000000
Black wins here
Surface#FAF4FA
Tinted page background
Border#EBC0ED
Hairlines and dividers
Muted text#974B9B
Captions on the surface
Accent#3EC903
Second voice, not a rival
Dark variant#76047B
Hover, pressed, headers
Light variant#FDE6FE
Selected rows, tints
Dark surface#241424
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 #f366fa

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#6DFA66
Analogous left#A966FA
Analogous right#FA66B7
Split-complement 1#B7FA66
Split-complement 2#66FAA9
Triadic 1#FAF366
Triadic 2#66FAF3
Tetradic#FAA966

RGB percentages

Red95.3%
Green40.0%
Blue98.0%

CMYK percentages

Cyan2.8%
Magenta59.2%
Yellow0.0%
Key (black)2.0%

Color previews

#f366fa text on a black background

contrast 8.09:1

Card sample

#f366fa text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(243, 102, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(243, 102, 250, 0.45);
Border & gradient
Gradient panel
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.

#f366fa in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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.

Work with #f366fa in the Color Lab