Skip to content

#d83afb

a balanced, electric violet · neutral · closest name: Magenta

RGB
216, 58, 251
HSL
289°, 96%, 61%
CMYK
14, 77, 0, 2
Luminance
0.2459

At a glance

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

Hex
#d83afb
Hue
289°
violet
Saturation
96%
electric
Lightness
61%
balanced
Brightness
98%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2459
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.92:1
Closest name
Magenta
ΔE2000 5.6
Where it sits
Hue289° of 360°
Saturation96%
Lightness61%
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#d83afb
RGBrgb(216, 58, 251)
HSLhsl(289, 96%, 61%)
CMYKcmyk(14%, 77%, 0%, 2%)
LABlab(56.7 82.8 -64.8)
LCHlch(56.7 105.2 322.0)
OKLCHoklch(0.663 0.280 319.4)
Decimal14170875
Display P3color(display-p3 0.847 0.227 0.984)

Copy-ready code

/* CSS */
color: #d83afb;
background-color: #d83afb;
/* Tailwind (arbitrary) */
class="text-[#d83afb] bg-[#d83afb]"
/* SCSS */
$brand: #d83afb;
/* SwiftUI */
Color(red: 0.847, green: 0.227, blue: 0.984)
/* Android */
Color.parseColor("#d83afb")
/* Flutter */
Color(0xFFD83AFB)
/* Python / OpenCV (BGR) */
(251, 58, 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 #d83afb · 5.92:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.55:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.92:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #d83afb as text scores 3.55:1 on white and 5.92:1 on black.

Accessibility — WCAG contrast

Aa
#d83afb on white: 3.55:1
AA ✗ fail · AA-large · AAA
Aa
#d83afb on black: 5.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #007EFF
deuteranopia · #4A8DF7
tritanopia · #D8649B

Color scale — 50 to 950

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

#FBF1FD
#F7E4FC
#F0C1FA
#E991FD
#DE5AFC
#d83afb
#C505F0
#A404C8
#8303A0
#600773
#3C0448
Base = 500Lightest = 50 · #FBF1FDDarkest = 950 · #3C0448
:root {
  --brand-50: #FBF1FD;
  --brand-100: #F7E4FC;
  --brand-200: #F0C1FA;
  --brand-300: #E991FD;
  --brand-400: #DE5AFC;
  --brand-500: #d83afb;
  --brand-600: #C505F0;
  --brand-700: #A404C8;
  --brand-800: #8303A0;
  --brand-900: #600773;
  --brand-950: #3C0448;
  --brand: #d83afb;
  --brand-ink: #000000;
}

Colors that work with #d83afb

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#58CC00
Second voice, not a rival
Dark variant#67037D
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 #d83afb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#5DFB3A
Analogous left#773AFB
Analogous right#FB3ABE
Split-complement 1#BEFB3A
Split-complement 2#3AFB77
Triadic 1#FBD83A
Triadic 2#3AFBD8
Tetradic#FB773A

RGB percentages

Red84.7%
Green22.7%
Blue98.4%

CMYK percentages

Cyan13.9%
Magenta76.9%
Yellow0.0%
Key (black)1.6%

Color previews

#d83afb text on a black background

contrast 5.92:1

Card sample

#d83afb text on a white background

contrast 3.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d83afb

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.

#d83afb 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
ButtonsLinksFocus statesCharts
Print note

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

#d83afb, answered

What color is #d83afb?

#d83afb is a balanced electric violet, closest to Magenta (ΔE2000 5.6). It sits at 289° on the hue wheel with 96% saturation and 61% lightness, which reads as neutral.

What is the RGB value of #d83afb?

rgb(216, 58, 251) — 216 red, 58 green and 251 blue out of 255, or 84.7% / 22.7% / 98.4% by channel.

Is #d83afb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2459 and perceived brightness is 60%, so black text on it reaches 5.92:1.

Should I use black or white text on #d83afb?

Black. It scores 5.92:1 against #d83afb, versus 3.55:1 for white — AA at any size.

What is the complementary color of #d83afb?

#5DFB3A sits directly opposite on the wheel. Softer options are the split-complements #BEFB3A and #3AFB77, which give the same contrast with far less vibration.

What colors go well with #d83afb?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8C4B9B for secondary text, #58CC00 as an accent and #67037D for hover and pressed states. For a palette, the analogous pair #773AFB and #FB3ABE stays calm, while #5DFB3A is the loudest partner.

What is #d83afb in CMYK for printing?

cmyk(14%, 77%, 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 #d83afb 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 #FB3AD7; nudged cooler, #9138FD.

Work with #d83afb in the Color Lab