Skip to content

#ad6dfb

a light, electric violet · cool · closest name: Medium Purple

RGB
173, 109, 251
HSL
267°, 95%, 71%
CMYK
31, 57, 0, 2
Luminance
0.2679

At a glance

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

Hex
#ad6dfb
Hue
267°
violet
Saturation
95%
electric
Lightness
71%
light
Brightness
98%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2679
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
6.36:1
Closest name
Medium Purple
ΔE2000 6.1
Where it sits
Hue267° of 360°
Saturation95%
Lightness71%
Temperature
Warm ← → Cool68% 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#ad6dfb
RGBrgb(173, 109, 251)
HSLhsl(267, 95%, 71%)
CMYKcmyk(31%, 57%, 0%, 2%)
LABlab(58.8 52.7 -61.7)
LCHlch(58.8 81.2 310.5)
OKLCHoklch(0.667 0.206 301.9)
Decimal11365883
Display P3color(display-p3 0.678 0.427 0.984)

Copy-ready code

/* CSS */
color: #ad6dfb;
background-color: #ad6dfb;
/* Tailwind (arbitrary) */
class="text-[#ad6dfb] bg-[#ad6dfb]"
/* SCSS */
$brand: #ad6dfb;
/* SwiftUI */
Color(red: 0.678, green: 0.427, blue: 0.984)
/* Android */
Color.parseColor("#ad6dfb")
/* Flutter */
Color(0xFFAD6DFB)
/* Python / OpenCV (BGR) */
(251, 109, 173)

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

Accessibility — WCAG contrast

Aa
#ad6dfb on white: 3.30:1
AA ✗ fail · AA-large · AAA
Aa
#ad6dfb on black: 6.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2E8CFF
deuteranopia · #488DF8
tritanopia · #9E89AA

Color scale — 50 to 950

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

#F7F1FD
#EFE4FB
#DBC2FA
#C292FC
#ad6dfb
#8425F9
#6F06EE
#5C05C7
#4A049F
#380873
#230548
Base = 400Lightest = 50 · #F7F1FDDarkest = 950 · #230548
:root {
  --brand-50: #F7F1FD;
  --brand-100: #EFE4FB;
  --brand-200: #DBC2FA;
  --brand-300: #C292FC;
  --brand-400: #ad6dfb;
  --brand-500: #8425F9;
  --brand-600: #6F06EE;
  --brand-700: #5C05C7;
  --brand-800: #4A049F;
  --brand-900: #380873;
  --brand-950: #230548;
  --brand: #ad6dfb;
  --brand-ink: #000000;
}

Colors that work with #ad6dfb

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#F7F4FA
Tinted page background
Border#D4C0ED
Hairlines and dividers
Muted text#6F4B9B
Captions on the surface
Accent#A2CB01
Second voice, not a rival
Dark variant#3A037C
Hover, pressed, headers
Light variant#F1E6FE
Selected rows, tints
Dark surface#1B1424
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 #ad6dfb

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
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#BBFB6D
Analogous left#6D74FB
Analogous right#F46DFB
Split-complement 1#FBF46D
Split-complement 2#74FB6D
Triadic 1#FBAD6D
Triadic 2#6DFBAD
Tetradic#FB6D74

RGB percentages

Red67.8%
Green42.7%
Blue98.4%

CMYK percentages

Cyan31.1%
Magenta56.6%
Yellow0.0%
Key (black)1.6%

Color previews

#ad6dfb text on a black background

contrast 6.36:1

Card sample

#ad6dfb text on a white background

contrast 3.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad6dfb

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.

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

#ad6dfb, answered

What color is #ad6dfb?

#ad6dfb is a light electric violet, closest to Medium Purple (ΔE2000 6.1). It sits at 267° on the hue wheel with 95% saturation and 71% lightness, which reads as cool.

What is the RGB value of #ad6dfb?

rgb(173, 109, 251) — 173 red, 109 green and 251 blue out of 255, or 67.8% / 42.7% / 98.4% by channel.

Is #ad6dfb a light or a dark color?

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

Should I use black or white text on #ad6dfb?

Black. It scores 6.36:1 against #ad6dfb, versus 3.30:1 for white — AA at any size.

What is the complementary color of #ad6dfb?

#BBFB6D sits directly opposite on the wheel. Softer options are the split-complements #FBF46D and #74FB6D, which give the same contrast with far less vibration.

What colors go well with #ad6dfb?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #6F4B9B for secondary text, #A2CB01 as an accent and #3A037C for hover and pressed states. For a palette, the analogous pair #6D74FB and #F46DFB stays calm, while #BBFB6D is the loudest partner.

What is #ad6dfb in CMYK for printing?

cmyk(31%, 57%, 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 #ad6dfb warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E16DFB; nudged cooler, #786CFD.

Work with #ad6dfb in the Color Lab