Skip to content

#844dfb

a balanced, electric violet · cool · closest name: Medium Slate Blue

RGB
132, 77, 251
HSL
259°, 96%, 64%
CMYK
47, 69, 0, 2
Luminance
0.1718

At a glance

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

Hex
#844dfb
Hue
259°
violet
Saturation
96%
electric
Lightness
64%
balanced
Brightness
98%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1718
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Electric
Best ink
White
4.73:1
Closest name
Medium Slate Blue
ΔE2000 6.9
Where it sits
Hue259° of 360°
Saturation96%
Lightness64%
Temperature
Warm ← → Cool73% 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#844dfb
RGBrgb(132, 77, 251)
HSLhsl(259, 96%, 64%)
CMYKcmyk(47%, 69%, 0%, 2%)
LABlab(48.5 60.9 -78.6)
LCHlch(48.5 99.4 307.8)
OKLCHoklch(0.583 0.242 291.5)
Decimal8670715
Display P3color(display-p3 0.518 0.302 0.984)

Copy-ready code

/* CSS */
color: #844dfb;
background-color: #844dfb;
/* Tailwind (arbitrary) */
class="text-[#844dfb] bg-[#844dfb]"
/* SCSS */
$brand: #844dfb;
/* SwiftUI */
Color(red: 0.518, green: 0.302, blue: 0.984)
/* Android */
Color.parseColor("#844dfb")
/* Flutter */
Color(0xFF844DFB)
/* Python / OpenCV (BGR) */
(251, 77, 132)

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

Accessibility — WCAG contrast

Aa
#844dfb on white: 4.73:1
AA ✓ pass · AA-large · AAA
Aa
#844dfb on black: 4.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0076FF
deuteranopia · #006FF8
tritanopia · #5E7A9F

Color scale — 50 to 950

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

#F5F1FD
#EBE4FC
#D3C1FA
#B391FD
#844dfb
#6724FA
#4F05EF
#4204C8
#3504A0
#290773
#1A0548
Base = 400Lightest = 50 · #F5F1FDDarkest = 950 · #1A0548
:root {
  --brand-50: #F5F1FD;
  --brand-100: #EBE4FC;
  --brand-200: #D3C1FA;
  --brand-300: #B391FD;
  --brand-400: #844dfb;
  --brand-500: #6724FA;
  --brand-600: #4F05EF;
  --brand-700: #4204C8;
  --brand-800: #3504A0;
  --brand-900: #290773;
  --brand-950: #1A0548;
  --brand: #844dfb;
  --brand-ink: #ffffff;
}

Colors that work with #844dfb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F6F4FA
Tinted page background
Border#CEC0ED
Hairlines and dividers
Muted text#644B9B
Captions on the surface
Accent#BECC00
Second voice, not a rival
Dark variant#29037D
Hover, pressed, headers
Light variant#EEE6FE
Selected rows, tints
Dark surface#191424
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 #844dfb

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#C4FB4D
Analogous left#4D6DFB
Analogous right#DB4DFB
Split-complement 1#FBDB4D
Split-complement 2#6DFB4D
Triadic 1#FB844D
Triadic 2#4DFB84
Tetradic#FB4D6D

RGB percentages

Red51.8%
Green30.2%
Blue98.4%

CMYK percentages

Cyan47.4%
Magenta69.3%
Yellow0.0%
Key (black)1.6%

Color previews

#844dfb text on a black background

contrast 4.44:1

Card sample

#844dfb text on a white background

contrast 4.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(132, 77, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(132, 77, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #844dfb;
background: linear-gradient(135deg, #844dfb, #F84DFB);

Monochromatic scale

Palettes built from #844dfb

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.

#844dfb 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.

#844dfb, answered

What color is #844dfb?

#844dfb is a balanced electric violet, closest to Medium Slate Blue (ΔE2000 6.9). It sits at 259° on the hue wheel with 96% saturation and 64% lightness, which reads as cool.

What is the RGB value of #844dfb?

rgb(132, 77, 251) — 132 red, 77 green and 251 blue out of 255, or 51.8% / 30.2% / 98.4% by channel.

Is #844dfb a light or a dark color?

It is a dark color. Relative luminance is 0.1718 and perceived brightness is 49%, so white text on it reaches 4.73:1.

Should I use black or white text on #844dfb?

White. It scores 4.73:1 against #844dfb, versus 4.44:1 for black — AA at any size.

What is the complementary color of #844dfb?

#C4FB4D sits directly opposite on the wheel. Softer options are the split-complements #FBDB4D and #6DFB4D, which give the same contrast with far less vibration.

What colors go well with #844dfb?

For interface work: #F6F4FA as the surface, #CEC0ED for borders, #644B9B for secondary text, #BECC00 as an accent and #29037D for hover and pressed states. For a palette, the analogous pair #4D6DFB and #DB4DFB stays calm, while #C4FB4D is the loudest partner.

What is #844dfb in CMYK for printing?

cmyk(47%, 69%, 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 #844dfb warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C44DFB; nudged cooler, #4B54FD.

Work with #844dfb in the Color Lab