Skip to content

#f0b8fd

a pale, electric violet · neutral · closest name: Plum

RGB
240, 184, 253
HSL
289°, 95%, 86%
CMYK
5, 27, 0, 1
Luminance
0.5990

At a glance

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

Hex
#f0b8fd
Hue
289°
violet
Saturation
95%
electric
Lightness
86%
pale
Brightness
99%
HSV value
Perceived
83%
weighted brightness
Luminance
0.5990
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
12.98:1
Closest name
Plum
ΔE2000 6.5
Where it sits
Hue289° of 360°
Saturation95%
Lightness86%
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#f0b8fd
RGBrgb(240, 184, 253)
HSLhsl(289, 95%, 86%)
CMYKcmyk(5%, 27%, 0%, 1%)
LABlab(81.8 31.8 -26.3)
LCHlch(81.8 41.2 320.4)
OKLCHoklch(0.855 0.111 319.9)
Decimal15775997
Display P3color(display-p3 0.941 0.722 0.992)

Copy-ready code

/* CSS */
color: #f0b8fd;
background-color: #f0b8fd;
/* Tailwind (arbitrary) */
class="text-[#f0b8fd] bg-[#f0b8fd]"
/* SCSS */
$brand: #f0b8fd;
/* SwiftUI */
Color(red: 0.941, green: 0.722, blue: 0.992)
/* Android */
Color.parseColor("#f0b8fd")
/* Flutter */
Color(0xFFF0B8FD)
/* Python / OpenCV (BGR) */
(253, 184, 240)

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

Accessibility — WCAG contrast

Aa
#f0b8fd on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#f0b8fd on black: 12.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B0C7FF
deuteranopia · #BDCDFB
tritanopia · #F1BFD0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f0b8fd is pinned to step 200; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF1FD
#F7E4FB
#f0b8fd
#E892FC
#DC5BFA
#D125F9
#C207EE
#A206C6
#82049F
#5E0872
#3B0548
Base = 200Lightest = 50 · #FBF1FDDarkest = 950 · #3B0548
:root {
  --brand-50: #FBF1FD;
  --brand-100: #F7E4FB;
  --brand-200: #f0b8fd;
  --brand-300: #E892FC;
  --brand-400: #DC5BFA;
  --brand-500: #D125F9;
  --brand-600: #C207EE;
  --brand-700: #A206C6;
  --brand-800: #82049F;
  --brand-900: #5E0872;
  --brand-950: #3B0548;
  --brand: #f0b8fd;
  --brand-ink: #000000;
}

Colors that work with #f0b8fd

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#59C903
Second voice, not a rival
Dark variant#65047C
Hover, pressed, headers
Light variant#FAE6FE
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 #f0b8fd

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#C5FDB8
Analogous left#CEB8FD
Analogous right#FDB8E8
Split-complement 1#E8FDB8
Split-complement 2#B8FDCE
Triadic 1#FDF0B8
Triadic 2#B8FDF0
Tetradic#FDCEB8

RGB percentages

Red94.1%
Green72.2%
Blue99.2%

CMYK percentages

Cyan5.1%
Magenta27.3%
Yellow0.0%
Key (black)0.8%

Color previews

#f0b8fd text on a black background

contrast 12.98:1

Card sample

#f0b8fd text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(240, 184, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 184, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0b8fd;
background: linear-gradient(135deg, #f0b8fd, #FDB8DC);

Monochromatic scale

Palettes built from #f0b8fd

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.

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

#f0b8fd, answered

What color is #f0b8fd?

#f0b8fd is a pale electric violet, closest to Plum (ΔE2000 6.5). It sits at 289° on the hue wheel with 95% saturation and 86% lightness, which reads as neutral.

What is the RGB value of #f0b8fd?

rgb(240, 184, 253) — 240 red, 184 green and 253 blue out of 255, or 94.1% / 72.2% / 99.2% by channel.

Is #f0b8fd a light or a dark color?

It is a light color. Relative luminance is 0.5990 and perceived brightness is 83%, so black text on it reaches 12.98:1.

Should I use black or white text on #f0b8fd?

Black. It scores 12.98:1 against #f0b8fd, versus 1.62:1 for white — AAA at any size.

What is the complementary color of #f0b8fd?

#C5FDB8 sits directly opposite on the wheel. Softer options are the split-complements #E8FDB8 and #B8FDCE, which give the same contrast with far less vibration.

What colors go well with #f0b8fd?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8C4B9B for secondary text, #59C903 as an accent and #65047C for hover and pressed states. For a palette, the analogous pair #CEB8FD and #FDB8E8 stays calm, while #C5FDB8 is the loudest partner.

What is #f0b8fd in CMYK for printing?

cmyk(5%, 27%, 0%, 1%). 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 #f0b8fd 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 #FDB8F1; nudged cooler, #D7B7FE.

Work with #f0b8fd in the Color Lab