Skip to content

#861cdf

a balanced, electric violet · cool · closest name: Blue Violet

RGB
134, 28, 223
HSL
273°, 78%, 49%
CMYK
40, 87, 0, 13
Luminance
0.1123

At a glance

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

Hex
#861cdf
Hue
273°
violet
Saturation
78%
electric
Lightness
49%
balanced
Brightness
87%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1123
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.47:1
Closest name
Blue Violet
ΔE2000 2.1
Where it sits
Hue273° of 360°
Saturation78%
Lightness49%
Temperature
Warm ← → Cool65% 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#861cdf
RGBrgb(134, 28, 223)
HSLhsl(273, 78%, 49%)
CMYKcmyk(40%, 87%, 0%, 13%)
LABlab(40.0 72.9 -76.7)
LCHlch(40.0 105.8 313.5)
OKLCHoklch(0.516 0.257 301.4)
Decimal8789215
Display P3color(display-p3 0.525 0.110 0.875)

Copy-ready code

/* CSS */
color: #861cdf;
background-color: #861cdf;
/* Tailwind (arbitrary) */
class="text-[#861cdf] bg-[#861cdf]"
/* SCSS */
$brand: #861cdf;
/* SwiftUI */
Color(red: 0.525, green: 0.110, blue: 0.875)
/* Android */
Color.parseColor("#861cdf")
/* Flutter */
Color(0xFF861CDF)
/* Python / OpenCV (BGR) */
(223, 28, 134)

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

Accessibility — WCAG contrast

Aa
#861cdf on white: 6.47:1
AA ✓ pass · AA-large · AAA
Aa
#861cdf on black: 3.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005DE4
deuteranopia · #005DDC
tritanopia · #715985

Color scale — 50 to 950

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

#F8F3FC
#F1E6F9
#E0C7F5
#CB9BF2
#B169EC
#9638E6
#861cdf
#6D17B5
#571291
#411169
#290B42
Base = 600Lightest = 50 · #F8F3FCDarkest = 950 · #290B42
:root {
  --brand-50: #F8F3FC;
  --brand-100: #F1E6F9;
  --brand-200: #E0C7F5;
  --brand-300: #CB9BF2;
  --brand-400: #B169EC;
  --brand-500: #9638E6;
  --brand-600: #861cdf;
  --brand-700: #6D17B5;
  --brand-800: #571291;
  --brand-900: #411169;
  --brand-950: #290B42;
  --brand: #861cdf;
  --brand-ink: #ffffff;
}

Colors that work with #861cdf

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#F8F4FA
Tinted page background
Border#D8C0ED
Hairlines and dividers
Muted text#764B9B
Captions on the surface
Accent#88B913
Second voice, not a rival
Dark variant#440E71
Hover, pressed, headers
Light variant#F3E8FC
Selected rows, tints
Dark surface#1D1424
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 #861cdf

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#75DF1C
Analogous left#241CDF
Analogous right#DF1CD6
Split-complement 1#D6DF1C
Split-complement 2#1CDF24
Triadic 1#DF861C
Triadic 2#1CDF86
Tetradic#DF241C

RGB percentages

Red52.5%
Green11.0%
Blue87.5%

CMYK percentages

Cyan39.9%
Magenta87.4%
Yellow0.0%
Key (black)12.5%

Color previews

#861cdf text on a black background

contrast 3.25:1

Card sample

#861cdf text on a white background

contrast 6.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(134, 28, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(134, 28, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #861cdf;
background: linear-gradient(135deg, #861cdf, #DF1CB6);

Monochromatic scale

Palettes built from #861cdf

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.

#861cdf 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.

#861cdf, answered

What color is #861cdf?

#861cdf is a balanced electric violet, closest to Blue Violet (ΔE2000 2.1). It sits at 273° on the hue wheel with 78% saturation and 49% lightness, which reads as cool.

What is the RGB value of #861cdf?

rgb(134, 28, 223) — 134 red, 28 green and 223 blue out of 255, or 52.5% / 11% / 87.5% by channel.

Is #861cdf a light or a dark color?

It is a dark color. Relative luminance is 0.1123 and perceived brightness is 42%, so white text on it reaches 6.47:1.

Should I use black or white text on #861cdf?

White. It scores 6.47:1 against #861cdf, versus 3.25:1 for black — AA at any size.

What is the complementary color of #861cdf?

#75DF1C sits directly opposite on the wheel. Softer options are the split-complements #D6DF1C and #1CDF24, which give the same contrast with far less vibration.

What colors go well with #861cdf?

For interface work: #F8F4FA as the surface, #D8C0ED for borders, #764B9B for secondary text, #88B913 as an accent and #440E71 for hover and pressed states. For a palette, the analogous pair #241CDF and #DF1CD6 stays calm, while #75DF1C is the loudest partner.

What is #861cdf in CMYK for printing?

cmyk(40%, 87%, 0%, 13%). 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 #861cdf warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD1CDF; nudged cooler, #3D19E1.

Work with #861cdf in the Color Lab