Skip to content

#b682fd

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

RGB
182, 130, 253
HSL
265°, 97%, 75%
CMYK
28, 49, 0, 1
Luminance
0.3300

At a glance

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

Hex
#b682fd
Hue
265°
violet
Saturation
97%
electric
Lightness
75%
light
Brightness
99%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3300
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.60:1
Closest name
Medium Purple
ΔE2000 8.5
Where it sits
Hue265° of 360°
Saturation97%
Lightness75%
Temperature
Warm ← → Cool69% 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#b682fd
RGBrgb(182, 130, 253)
HSLhsl(265, 97%, 75%)
CMYKcmyk(28%, 49%, 0%, 1%)
LABlab(64.2 44.2 -54.2)
LCHlch(64.2 69.9 309.2)
OKLCHoklch(0.709 0.179 301.5)
Decimal11961085
Display P3color(display-p3 0.714 0.510 0.992)

Copy-ready code

/* CSS */
color: #b682fd;
background-color: #b682fd;
/* Tailwind (arbitrary) */
class="text-[#b682fd] bg-[#b682fd]"
/* SCSS */
$brand: #b682fd;
/* SwiftUI */
Color(red: 0.714, green: 0.510, blue: 0.992)
/* Android */
Color.parseColor("#b682fd")
/* Flutter */
Color(0xFFB682FD)
/* Python / OpenCV (BGR) */
(253, 130, 182)

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

Accessibility — WCAG contrast

Aa
#b682fd on white: 2.76:1
AA ✗ fail · AA-large · AAA
Aa
#b682fd on black: 7.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5B9BFF
deuteranopia · #699BFA
tritanopia · #A998B4

Color scale — 50 to 950

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

#F6F1FD
#EEE4FC
#D9C1FB
#b682fd
#9E59FC
#7E22FC
#6804F1
#5703C9
#4503A1
#350774
#210448
Base = 300Lightest = 50 · #F6F1FDDarkest = 950 · #210448
:root {
  --brand-50: #F6F1FD;
  --brand-100: #EEE4FC;
  --brand-200: #D9C1FB;
  --brand-300: #b682fd;
  --brand-400: #9E59FC;
  --brand-500: #7E22FC;
  --brand-600: #6804F1;
  --brand-700: #5703C9;
  --brand-800: #4503A1;
  --brand-900: #350774;
  --brand-950: #210448;
  --brand: #b682fd;
  --brand-ink: #000000;
}

Colors that work with #b682fd

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#D3C0ED
Hairlines and dividers
Muted text#6D4B9B
Captions on the surface
Accent#A9CC00
Second voice, not a rival
Dark variant#36027E
Hover, pressed, headers
Light variant#F0E6FF
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 #b682fd

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#C9FD82
Analogous left#828BFD
Analogous right#F482FD
Split-complement 1#FDF482
Split-complement 2#8BFD82
Triadic 1#FDB682
Triadic 2#82FDB6
Tetradic#FD828B

RGB percentages

Red71.4%
Green51.0%
Blue99.2%

CMYK percentages

Cyan28.1%
Magenta48.6%
Yellow0.0%
Key (black)0.8%

Color previews

#b682fd text on a black background

contrast 7.60:1

Card sample

#b682fd text on a white background

contrast 2.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b682fd

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.

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

#b682fd, answered

What color is #b682fd?

#b682fd is a light electric violet, closest to Medium Purple (ΔE2000 8.5). It sits at 265° on the hue wheel with 97% saturation and 75% lightness, which reads as cool.

What is the RGB value of #b682fd?

rgb(182, 130, 253) — 182 red, 130 green and 253 blue out of 255, or 71.4% / 51% / 99.2% by channel.

Is #b682fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3300 and perceived brightness is 65%, so black text on it reaches 7.60:1.

Should I use black or white text on #b682fd?

Black. It scores 7.60:1 against #b682fd, versus 2.76:1 for white — AAA at any size.

What is the complementary color of #b682fd?

#C9FD82 sits directly opposite on the wheel. Softer options are the split-complements #FDF482 and #8BFD82, which give the same contrast with far less vibration.

What colors go well with #b682fd?

For interface work: #F7F4FA as the surface, #D3C0ED for borders, #6D4B9B for secondary text, #A9CC00 as an accent and #36027E for hover and pressed states. For a palette, the analogous pair #828BFD and #F482FD stays calm, while #C9FD82 is the loudest partner.

What is #b682fd in CMYK for printing?

cmyk(28%, 49%, 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 #b682fd warm or cool?

Cool — it scores 69 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E382FD; nudged cooler, #8881FE.

Work with #b682fd in the Color Lab