Skip to content

#811fdf

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

RGB
129, 31, 223
HSL
271°, 76%, 50%
CMYK
42, 86, 0, 13
Luminance
0.1097

At a glance

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

Hex
#811fdf
Hue
271°
violet
Saturation
76%
electric
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1097
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.57:1
Closest name
Blue Violet
ΔE2000 2.4
Where it sits
Hue271° of 360°
Saturation76%
Lightness50%
Temperature
Warm ← → Cool66% 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#811fdf
RGBrgb(129, 31, 223)
HSLhsl(271, 76%, 50%)
CMYKcmyk(42%, 86%, 0%, 13%)
LABlab(39.5 71.5 -77.4)
LCHlch(39.5 105.4 312.7)
OKLCHoklch(0.512 0.255 299.5)
Decimal8462303
Display P3color(display-p3 0.506 0.122 0.875)

Copy-ready code

/* CSS */
color: #811fdf;
background-color: #811fdf;
/* Tailwind (arbitrary) */
class="text-[#811fdf] bg-[#811fdf]"
/* SCSS */
$brand: #811fdf;
/* SwiftUI */
Color(red: 0.506, green: 0.122, blue: 0.875)
/* Android */
Color.parseColor("#811fdf")
/* Flutter */
Color(0xFF811FDF)
/* Python / OpenCV (BGR) */
(223, 31, 129)

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

Accessibility — WCAG contrast

Aa
#811fdf on white: 6.57:1
AA ✓ pass · AA-large · AAA
Aa
#811fdf on black: 3.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005DE4
deuteranopia · #005BDC
tritanopia · #695B85

Color scale — 50 to 950

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

#F7F3FC
#F0E7F9
#DEC8F4
#C89CF1
#AC6BEA
#903AE4
#811fdf
#6819B3
#53148F
#3E1368
#270C41
Base = 600Lightest = 50 · #F7F3FCDarkest = 950 · #270C41
:root {
  --brand-50: #F7F3FC;
  --brand-100: #F0E7F9;
  --brand-200: #DEC8F4;
  --brand-300: #C89CF1;
  --brand-400: #AC6BEA;
  --brand-500: #903AE4;
  --brand-600: #811fdf;
  --brand-700: #6819B3;
  --brand-800: #53148F;
  --brand-900: #3E1368;
  --brand-950: #270C41;
  --brand: #811fdf;
  --brand-ink: #ffffff;
}

Colors that work with #811fdf

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#F7F4FA
Tinted page background
Border#D7C0ED
Hairlines and dividers
Muted text#744B9B
Captions on the surface
Accent#8DB715
Second voice, not a rival
Dark variant#411070
Hover, pressed, headers
Light variant#F2E9FC
Selected rows, tints
Dark surface#1C1424
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 #811fdf

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#7DDF1F
Analogous left#211FDF
Analogous right#DF1FDD
Split-complement 1#DDDF1F
Split-complement 2#1FDF21
Triadic 1#DF811F
Triadic 2#1FDF81
Tetradic#DF211F

RGB percentages

Red50.6%
Green12.2%
Blue87.5%

CMYK percentages

Cyan42.2%
Magenta86.1%
Yellow0.0%
Key (black)12.5%

Color previews

#811fdf text on a black background

contrast 3.19:1

Card sample

#811fdf text on a white background

contrast 6.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(129, 31, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(129, 31, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #811fdf;
background: linear-gradient(135deg, #811fdf, #DF1FBD);

Monochromatic scale

Palettes built from #811fdf

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.

#811fdf 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.

#811fdf, answered

What color is #811fdf?

#811fdf is a balanced electric violet, closest to Blue Violet (ΔE2000 2.4). It sits at 271° on the hue wheel with 76% saturation and 50% lightness, which reads as cool.

What is the RGB value of #811fdf?

rgb(129, 31, 223) — 129 red, 31 green and 223 blue out of 255, or 50.6% / 12.2% / 87.5% by channel.

Is #811fdf a light or a dark color?

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

Should I use black or white text on #811fdf?

White. It scores 6.57:1 against #811fdf, versus 3.19:1 for black — AA at any size.

What is the complementary color of #811fdf?

#7DDF1F sits directly opposite on the wheel. Softer options are the split-complements #DDDF1F and #1FDF21, which give the same contrast with far less vibration.

What colors go well with #811fdf?

For interface work: #F7F4FA as the surface, #D7C0ED for borders, #744B9B for secondary text, #8DB715 as an accent and #411070 for hover and pressed states. For a palette, the analogous pair #211FDF and #DF1FDD stays calm, while #7DDF1F is the loudest partner.

What is #811fdf in CMYK for printing?

cmyk(42%, 86%, 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 #811fdf warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C71FDF; nudged cooler, #391CE2.

Work with #811fdf in the Color Lab