Skip to content

#df90f1

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

RGB
223, 144, 241
HSL
289°, 78%, 76%
CMYK
8, 40, 0, 6
Luminance
0.4199

At a glance

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

Hex
#df90f1
Hue
289°
violet
Saturation
78%
electric
Lightness
76%
light
Brightness
95%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4199
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
9.40:1
Closest name
Violet
ΔE2000 3.9
Where it sits
Hue289° of 360°
Saturation78%
Lightness76%
Temperature
Warm ← → Cool56% 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#df90f1
RGBrgb(223, 144, 241)
HSLhsl(289, 78%, 76%)
CMYKcmyk(8%, 40%, 0%, 6%)
LABlab(70.9 45.5 -36.8)
LCHlch(70.9 58.5 321.0)
OKLCHoklch(0.767 0.157 320.0)
Decimal14651633
Display P3color(display-p3 0.875 0.565 0.945)

Copy-ready code

/* CSS */
color: #df90f1;
background-color: #df90f1;
/* Tailwind (arbitrary) */
class="text-[#df90f1] bg-[#df90f1]"
/* SCSS */
$brand: #df90f1;
/* SwiftUI */
Color(red: 0.875, green: 0.565, blue: 0.945)
/* Android */
Color.parseColor("#df90f1")
/* Flutter */
Color(0xFFDF90F1)
/* Python / OpenCV (BGR) */
(241, 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 #df90f1 · 9.40:1
Use #000000AAA at every size.
Aa
White text · 2.23:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.40:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #df90f1 as text scores 2.23:1 on white and 9.40:1 on black.

Accessibility — WCAG contrast

Aa
#df90f1 on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#df90f1 on black: 9.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #83A8F5
deuteranopia · #97B0EE
tritanopia · #E09CB5

Color scale — 50 to 950

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

#FAF3FC
#F6E6F9
#ECC7F4
#df90f1
#D46AEC
#C638E6
#B61BD9
#9817B5
#791291
#591269
#370B42
Base = 300Lightest = 50 · #FAF3FCDarkest = 950 · #370B42
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F6E6F9;
  --brand-200: #ECC7F4;
  --brand-300: #df90f1;
  --brand-400: #D46AEC;
  --brand-500: #C638E6;
  --brand-600: #B61BD9;
  --brand-700: #9817B5;
  --brand-800: #791291;
  --brand-900: #591269;
  --brand-950: #370B42;
  --brand: #df90f1;
  --brand-ink: #000000;
}

Colors that work with #df90f1

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#E4C0ED
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#5BBA12
Second voice, not a rival
Dark variant#5F0E71
Hover, pressed, headers
Light variant#F8E8FC
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 #df90f1

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#A2F190
Analogous left#AF90F1
Analogous right#F190D2
Split-complement 1#D2F190
Split-complement 2#90F1AF
Triadic 1#F1DF90
Triadic 2#90F1DF
Tetradic#F1AF90

RGB percentages

Red87.5%
Green56.5%
Blue94.5%

CMYK percentages

Cyan7.5%
Magenta40.2%
Yellow0.0%
Key (black)5.5%

Color previews

#df90f1 text on a black background

contrast 9.40:1

Card sample

#df90f1 text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df90f1

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.

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

#df90f1, answered

What color is #df90f1?

#df90f1 is a light electric violet, closest to Violet (ΔE2000 3.9). It sits at 289° on the hue wheel with 78% saturation and 76% lightness, which reads as neutral.

What is the RGB value of #df90f1?

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

Is #df90f1 a light or a dark color?

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

Should I use black or white text on #df90f1?

Black. It scores 9.40:1 against #df90f1, versus 2.23:1 for white — AAA at any size.

What is the complementary color of #df90f1?

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

What colors go well with #df90f1?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8C4B9B for secondary text, #5BBA12 as an accent and #5F0E71 for hover and pressed states. For a palette, the analogous pair #AF90F1 and #F190D2 stays calm, while #A2F190 is the loudest partner.

What is #df90f1 in CMYK for printing?

cmyk(8%, 40%, 0%, 6%). 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 #df90f1 warm or cool?

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

Work with #df90f1 in the Color Lab