Skip to content

#d882ff

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

RGB
216, 130, 255
HSL
281°, 100%, 76%
CMYK
15, 49, 0, 0
Luminance
0.3778

At a glance

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

Hex
#d882ff
Hue
281°
violet
Saturation
100%
electric
Lightness
76%
light
Brightness
100%
HSV value
Perceived
69%
weighted brightness
Luminance
0.3778
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.56:1
Closest name
Violet
ΔE2000 5.8
Where it sits
Hue281° of 360°
Saturation100%
Lightness76%
Temperature
Warm ← → Cool60% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#d882ff
RGBrgb(216, 130, 255)
HSLhsl(281, 100%, 76%)
CMYKcmyk(15%, 49%, 0%, 0%)
LABlab(67.9 53.5 -49.2)
LCHlch(67.9 72.7 317.4)
OKLCHoklch(0.745 0.192 314.4)
Decimal14189311
Display P3color(display-p3 0.847 0.510 1.000)

Copy-ready code

/* CSS */
color: #d882ff;
background-color: #d882ff;
/* Tailwind (arbitrary) */
class="text-[#d882ff] bg-[#d882ff]"
/* SCSS */
$brand: #d882ff;
/* SwiftUI */
Color(red: 0.847, green: 0.510, blue: 1.000)
/* Android */
Color.parseColor("#d882ff")
/* Flutter */
Color(0xFFD882FF)
/* Python / OpenCV (BGR) */
(255, 130, 216)

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

Accessibility — WCAG contrast

Aa
#d882ff on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#d882ff on black: 8.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #67A0FF
deuteranopia · #80A8FC
tritanopia · #D595B5

Color scale — 50 to 950

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

#FAF1FE
#F4E3FC
#E9C0FC
#d882ff
#CB57FF
#B91FFF
#A900F5
#8C00CC
#7000A3
#520576
#340349
Base = 300Lightest = 50 · #FAF1FEDarkest = 950 · #340349
:root {
  --brand-50: #FAF1FE;
  --brand-100: #F4E3FC;
  --brand-200: #E9C0FC;
  --brand-300: #d882ff;
  --brand-400: #CB57FF;
  --brand-500: #B91FFF;
  --brand-600: #A900F5;
  --brand-700: #8C00CC;
  --brand-800: #7000A3;
  --brand-900: #520576;
  --brand-950: #340349;
  --brand: #d882ff;
  --brand-ink: #000000;
}

Colors that work with #d882ff

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#DFC0ED
Hairlines and dividers
Muted text#824B9B
Captions on the surface
Accent#72CC00
Second voice, not a rival
Dark variant#580080
Hover, pressed, headers
Light variant#F7E5FF
Selected rows, tints
Dark surface#1F1424
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 #d882ff

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#A9FF82
Analogous left#9A82FF
Analogous right#FF82E7
Split-complement 1#E7FF82
Split-complement 2#82FF9A
Triadic 1#FFD882
Triadic 2#82FFD8
Tetradic#FF9A82

RGB percentages

Red84.7%
Green51.0%
Blue100.0%

CMYK percentages

Cyan15.3%
Magenta49.0%
Yellow0.0%
Key (black)0.0%

Color previews

#d882ff text on a black background

contrast 8.56:1

Card sample

#d882ff text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(216, 130, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(216, 130, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d882ff;
background: linear-gradient(135deg, #d882ff, #FF82D3);

Monochromatic scale

Palettes built from #d882ff

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.

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

#d882ff, answered

What color is #d882ff?

#d882ff is a light electric violet, closest to Violet (ΔE2000 5.8). It sits at 281° on the hue wheel with 100% saturation and 76% lightness, which reads as cool.

What is the RGB value of #d882ff?

rgb(216, 130, 255) — 216 red, 130 green and 255 blue out of 255, or 84.7% / 51% / 100% by channel.

Is #d882ff a light or a dark color?

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

Should I use black or white text on #d882ff?

Black. It scores 8.56:1 against #d882ff, versus 2.45:1 for white — AAA at any size.

What is the complementary color of #d882ff?

#A9FF82 sits directly opposite on the wheel. Softer options are the split-complements #E7FF82 and #82FF9A, which give the same contrast with far less vibration.

What colors go well with #d882ff?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #824B9B for secondary text, #72CC00 as an accent and #580080 for hover and pressed states. For a palette, the analogous pair #9A82FF and #FF82E7 stays calm, while #A9FF82 is the loudest partner.

What is #d882ff in CMYK for printing?

cmyk(15%, 49%, 0%, 0%). 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 #d882ff warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FF82F8; nudged cooler, #AA82FF.

Work with #d882ff in the Color Lab