Skip to content

#df90f6

a light, electric violet · neutral · closest name: Violet

RGB
223, 144, 246
HSL
287°, 85%, 77%
CMYK
9, 42, 0, 4
Luminance
0.4229

At a glance

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

Hex
#df90f6
Hue
287°
violet
Saturation
85%
electric
Lightness
77%
light
Brightness
96%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4229
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
9.46:1
Closest name
Violet
ΔE2000 4.3
Where it sits
Hue287° of 360°
Saturation85%
Lightness77%
Temperature
Warm ← → Cool58% 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#df90f6
RGBrgb(223, 144, 246)
HSLhsl(287, 85%, 77%)
CMYKcmyk(9%, 42%, 0%, 4%)
LABlab(71.1 46.4 -39.2)
LCHlch(71.1 60.8 319.8)
OKLCHoklch(0.769 0.163 318.4)
Decimal14651638
Display P3color(display-p3 0.875 0.565 0.965)

Copy-ready code

/* CSS */
color: #df90f6;
background-color: #df90f6;
/* Tailwind (arbitrary) */
class="text-[#df90f6] bg-[#df90f6]"
/* SCSS */
$brand: #df90f6;
/* SwiftUI */
Color(red: 0.875, green: 0.565, blue: 0.965)
/* Android */
Color.parseColor("#df90f6")
/* Flutter */
Color(0xFFDF90F6)
/* Python / OpenCV (BGR) */
(246, 144, 223)

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

Accessibility — WCAG contrast

Aa
#df90f6 on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#df90f6 on black: 9.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #80A9FA
deuteranopia · #95B1F3
tritanopia · #DF9DB7

Color scale — 50 to 950

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

#FAF2FC
#F5E5FA
#ECC5F7
#df90f6
#D263F2
#C32FEE
#B412E2
#960FBD
#780C97
#580D6D
#370844
Base = 300Lightest = 50 · #FAF2FCDarkest = 950 · #370844
:root {
  --brand-50: #FAF2FC;
  --brand-100: #F5E5FA;
  --brand-200: #ECC5F7;
  --brand-300: #df90f6;
  --brand-400: #D263F2;
  --brand-500: #C32FEE;
  --brand-600: #B412E2;
  --brand-700: #960FBD;
  --brand-800: #780C97;
  --brand-900: #580D6D;
  --brand-950: #370844;
  --brand: #df90f6;
  --brand-ink: #000000;
}

Colors that work with #df90f6

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#F9F4FA
Tinted page background
Border#E3C0ED
Hairlines and dividers
Muted text#894B9B
Captions on the surface
Accent#61C00C
Second voice, not a rival
Dark variant#5E0A76
Hover, pressed, headers
Light variant#F8E7FD
Selected rows, tints
Dark surface#211424
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 #df90f6

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#A7F690
Analogous left#AC90F6
Analogous right#F690DA
Split-complement 1#DAF690
Split-complement 2#90F6AC
Triadic 1#F6DF90
Triadic 2#90F6DF
Tetradic#F6AC90

RGB percentages

Red87.5%
Green56.5%
Blue96.5%

CMYK percentages

Cyan9.3%
Magenta41.5%
Yellow0.0%
Key (black)3.5%

Color previews

#df90f6 text on a black background

contrast 9.46:1

Card sample

#df90f6 text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 144, 246, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 144, 246, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df90f6;
background: linear-gradient(135deg, #df90f6, #F690C9);

Monochromatic scale

Palettes built from #df90f6

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.

#df90f6 in the real world

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

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#df90f6, answered

What color is #df90f6?

#df90f6 is a light electric violet, closest to Violet (ΔE2000 4.3). It sits at 287° on the hue wheel with 85% saturation and 77% lightness, which reads as neutral.

What is the RGB value of #df90f6?

rgb(223, 144, 246) — 223 red, 144 green and 246 blue out of 255, or 87.5% / 56.5% / 96.5% by channel.

Is #df90f6 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4229 and perceived brightness is 72%, so black text on it reaches 9.46:1.

Should I use black or white text on #df90f6?

Black. It scores 9.46:1 against #df90f6, versus 2.22:1 for white — AAA at any size.

What is the complementary color of #df90f6?

#A7F690 sits directly opposite on the wheel. Softer options are the split-complements #DAF690 and #90F6AC, which give the same contrast with far less vibration.

What colors go well with #df90f6?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #894B9B for secondary text, #61C00C as an accent and #5E0A76 for hover and pressed states. For a palette, the analogous pair #AC90F6 and #F690DA stays calm, while #A7F690 is the loudest partner.

What is #df90f6 in CMYK for printing?

cmyk(9%, 42%, 0%, 4%). 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 #df90f6 warm or cool?

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

Work with #df90f6 in the Color Lab