Skip to content

#ed6dfb

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

RGB
237, 109, 251
HSL
294°, 95%, 71%
CMYK
6, 57, 0, 2
Luminance
0.3591

At a glance

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

Hex
#ed6dfb
Hue
294°
magenta / pink
Saturation
95%
electric
Lightness
71%
light
Brightness
98%
HSV value
Perceived
69%
weighted brightness
Luminance
0.3591
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
8.18:1
Closest name
Violet
ΔE2000 4.8
Where it sits
Hue294° of 360°
Saturation95%
Lightness71%
Temperature
Warm ← → Cool53% 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#ed6dfb
RGBrgb(237, 109, 251)
HSLhsl(294, 95%, 71%)
CMYKcmyk(6%, 57%, 0%, 2%)
LABlab(66.5 68.2 -49.0)
LCHlch(66.5 84.0 324.3)
OKLCHoklch(0.740 0.229 323.6)
Decimal15560187
Display P3color(display-p3 0.929 0.427 0.984)

Copy-ready code

/* CSS */
color: #ed6dfb;
background-color: #ed6dfb;
/* Tailwind (arbitrary) */
class="text-[#ed6dfb] bg-[#ed6dfb]"
/* SCSS */
$brand: #ed6dfb;
/* SwiftUI */
Color(red: 0.929, green: 0.427, blue: 0.984)
/* Android */
Color.parseColor("#ed6dfb")
/* Flutter */
Color(0xFFED6DFB)
/* Python / OpenCV (BGR) */
(251, 109, 237)

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

Accessibility — WCAG contrast

Aa
#ed6dfb on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#ed6dfb on black: 8.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5698FF
deuteranopia · #82A7F7
tritanopia · #F181AA

Color scale — 50 to 950

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

#FCF1FD
#F9E4FB
#F4C2FA
#F292FC
#ed6dfb
#E425F9
#D806EE
#B405C7
#90049F
#680873
#410548
Base = 400Lightest = 50 · #FCF1FDDarkest = 950 · #410548
:root {
  --brand-50: #FCF1FD;
  --brand-100: #F9E4FB;
  --brand-200: #F4C2FA;
  --brand-300: #F292FC;
  --brand-400: #ed6dfb;
  --brand-500: #E425F9;
  --brand-600: #D806EE;
  --brand-700: #B405C7;
  --brand-800: #90049F;
  --brand-900: #680873;
  --brand-950: #410548;
  --brand: #ed6dfb;
  --brand-ink: #000000;
}

Colors that work with #ed6dfb

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#E8C0ED
Hairlines and dividers
Muted text#934B9B
Captions on the surface
Accent#48CB01
Second voice, not a rival
Dark variant#70037C
Hover, pressed, headers
Light variant#FCE6FE
Selected rows, tints
Dark surface#231424
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 #ed6dfb

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#7BFB6D
Analogous left#A66DFB
Analogous right#FB6DC2
Split-complement 1#C2FB6D
Split-complement 2#6DFBA6
Triadic 1#FBED6D
Triadic 2#6DFBED
Tetradic#FBA66D

RGB percentages

Red92.9%
Green42.7%
Blue98.4%

CMYK percentages

Cyan5.6%
Magenta56.6%
Yellow0.0%
Key (black)1.6%

Color previews

#ed6dfb text on a black background

contrast 8.18:1

Card sample

#ed6dfb text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(237, 109, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(237, 109, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ed6dfb;
background: linear-gradient(135deg, #ed6dfb, #FB6DAA);

Monochromatic scale

Palettes built from #ed6dfb

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.

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

#ed6dfb, answered

What color is #ed6dfb?

#ed6dfb is a light electric magenta / pink, closest to Violet (ΔE2000 4.8). It sits at 294° on the hue wheel with 95% saturation and 71% lightness, which reads as neutral.

What is the RGB value of #ed6dfb?

rgb(237, 109, 251) — 237 red, 109 green and 251 blue out of 255, or 92.9% / 42.7% / 98.4% by channel.

Is #ed6dfb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3591 and perceived brightness is 69%, so black text on it reaches 8.18:1.

Should I use black or white text on #ed6dfb?

Black. It scores 8.18:1 against #ed6dfb, versus 2.57:1 for white — AAA at any size.

What is the complementary color of #ed6dfb?

#7BFB6D sits directly opposite on the wheel. Softer options are the split-complements #C2FB6D and #6DFBA6, which give the same contrast with far less vibration.

What colors go well with #ed6dfb?

For interface work: #FAF4FA as the surface, #E8C0ED for borders, #934B9B for secondary text, #48CB01 as an accent and #70037C for hover and pressed states. For a palette, the analogous pair #A66DFB and #FB6DC2 stays calm, while #7BFB6D is the loudest partner.

What is #ed6dfb in CMYK for printing?

cmyk(6%, 57%, 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 #ed6dfb warm or cool?

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

Work with #ed6dfb in the Color Lab