Skip to content

#ee8cf2

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

RGB
238, 140, 242
HSL
298°, 80%, 75%
CMYK
2, 42, 0, 5
Luminance
0.4334

At a glance

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

Hex
#ee8cf2
Hue
298°
magenta / pink
Saturation
80%
electric
Lightness
75%
light
Brightness
95%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4334
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
9.67:1
Closest name
Violet
ΔE2000 2
Where it sits
Hue298° of 360°
Saturation80%
Lightness75%
Temperature
Warm ← → Cool51% 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#ee8cf2
RGBrgb(238, 140, 242)
HSLhsl(298, 80%, 75%)
CMYKcmyk(2%, 42%, 0%, 5%)
LABlab(71.8 52.1 -35.8)
LCHlch(71.8 63.2 325.5)
OKLCHoklch(0.778 0.173 325.7)
Decimal15633650
Display P3color(display-p3 0.933 0.549 0.949)

Copy-ready code

/* CSS */
color: #ee8cf2;
background-color: #ee8cf2;
/* Tailwind (arbitrary) */
class="text-[#ee8cf2] bg-[#ee8cf2]"
/* SCSS */
$brand: #ee8cf2;
/* SwiftUI */
Color(red: 0.933, green: 0.549, blue: 0.949)
/* Android */
Color.parseColor("#ee8cf2")
/* Flutter */
Color(0xFFEE8CF2)
/* Python / OpenCV (BGR) */
(242, 140, 238)

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 #ee8cf2 · 9.67:1
Use #000000AAA at every size.
Aa
White text · 2.17:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.67:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ee8cf2 as text scores 2.17:1 on white and 9.67:1 on black.

Accessibility — WCAG contrast

Aa
#ee8cf2 on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#ee8cf2 on black: 9.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #82A8F6
deuteranopia · #9DB4EF
tritanopia · #F397B4

Color scale — 50 to 950

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

#FCF3FC
#F8E6F9
#F3C7F5
#ee8cf2
#E968EE
#E135E8
#D419DC
#B115B7
#8D1193
#66106A
#400A42
Base = 300Lightest = 50 · #FCF3FCDarkest = 950 · #400A42
:root {
  --brand-50: #FCF3FC;
  --brand-100: #F8E6F9;
  --brand-200: #F3C7F5;
  --brand-300: #ee8cf2;
  --brand-400: #E968EE;
  --brand-500: #E135E8;
  --brand-600: #D419DC;
  --brand-700: #B115B7;
  --brand-800: #8D1193;
  --brand-900: #66106A;
  --brand-950: #400A42;
  --brand: #ee8cf2;
  --brand-ink: #000000;
}

Colors that work with #ee8cf2

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#984B9B
Captions on the surface
Accent#41BC10
Second voice, not a rival
Dark variant#6E0D73
Hover, pressed, headers
Light variant#FCE8FC
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 #ee8cf2

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#90F28C
Analogous left#BB8CF2
Analogous right#F28CC3
Split-complement 1#C3F28C
Split-complement 2#8CF2BB
Triadic 1#F2EE8C
Triadic 2#8CF2EE
Tetradic#F2BB8C

RGB percentages

Red93.3%
Green54.9%
Blue94.9%

CMYK percentages

Cyan1.7%
Magenta42.1%
Yellow0.0%
Key (black)5.1%

Color previews

#ee8cf2 text on a black background

contrast 9.67:1

Card sample

#ee8cf2 text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(238, 140, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(238, 140, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ee8cf2;
background: linear-gradient(135deg, #ee8cf2, #F28CB2);

Monochromatic scale

Palettes built from #ee8cf2

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.

#ee8cf2 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.

#ee8cf2, answered

What color is #ee8cf2?

#ee8cf2 is a light electric magenta / pink, closest to Violet (ΔE2000 2). It sits at 298° on the hue wheel with 80% saturation and 75% lightness, which reads as neutral.

What is the RGB value of #ee8cf2?

rgb(238, 140, 242) — 238 red, 140 green and 242 blue out of 255, or 93.3% / 54.9% / 94.9% by channel.

Is #ee8cf2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4334 and perceived brightness is 73%, so black text on it reaches 9.67:1.

Should I use black or white text on #ee8cf2?

Black. It scores 9.67:1 against #ee8cf2, versus 2.17:1 for white — AAA at any size.

What is the complementary color of #ee8cf2?

#90F28C sits directly opposite on the wheel. Softer options are the split-complements #C3F28C and #8CF2BB, which give the same contrast with far less vibration.

What colors go well with #ee8cf2?

For interface work: #FAF4FA as the surface, #EBC0ED for borders, #984B9B for secondary text, #41BC10 as an accent and #6E0D73 for hover and pressed states. For a palette, the analogous pair #BB8CF2 and #F28CC3 stays calm, while #90F28C is the loudest partner.

What is #ee8cf2 in CMYK for printing?

cmyk(2%, 42%, 0%, 5%). 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 #ee8cf2 warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F28CD1; nudged cooler, #C98BF3.

Work with #ee8cf2 in the Color Lab