Skip to content

#571eee

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

RGB
87, 30, 238
HSL
256°, 86%, 53%
CMYK
63, 87, 0, 7
Luminance
0.0913

At a glance

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

Hex
#571eee
Hue
256°
violet
Saturation
86%
electric
Lightness
53%
balanced
Brightness
93%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0913
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.43:1
Closest name
Blue
ΔE2000 4.7
Where it sits
Hue256° of 360°
Saturation86%
Lightness53%
Temperature
Warm ← → Cool74% 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#571eee
RGBrgb(87, 30, 238)
HSLhsl(256, 86%, 53%)
CMYKcmyk(63%, 87%, 0%, 7%)
LABlab(36.2 71.4 -91.6)
LCHlch(36.2 116.2 307.9)
OKLCHoklch(0.483 0.270 281.9)
Decimal5709550
Display P3color(display-p3 0.341 0.118 0.933)

Copy-ready code

/* CSS */
color: #571eee;
background-color: #571eee;
/* Tailwind (arbitrary) */
class="text-[#571eee] bg-[#571eee]"
/* SCSS */
$brand: #571eee;
/* SwiftUI */
Color(red: 0.341, green: 0.118, blue: 0.933)
/* Android */
Color.parseColor("#571eee")
/* Flutter */
Color(0xFF571EEE)
/* Python / OpenCV (BGR) */
(238, 30, 87)

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

Accessibility — WCAG contrast

Aa
#571eee on white: 7.43:1
AA ✓ pass · AA-large · AAA
Aa
#571eee on black: 2.83:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005CF3
deuteranopia · #004EEB
tritanopia · #00658E

Color scale — 50 to 950

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

#F5F2FD
#EBE5FA
#D2C5F7
#B197F7
#8A62F3
#571eee
#4B11E4
#3E0EBE
#320B98
#270D6E
#190845
Base = 500Lightest = 50 · #F5F2FDDarkest = 950 · #190845
:root {
  --brand-50: #F5F2FD;
  --brand-100: #EBE5FA;
  --brand-200: #D2C5F7;
  --brand-300: #B197F7;
  --brand-400: #8A62F3;
  --brand-500: #571eee;
  --brand-600: #4B11E4;
  --brand-700: #3E0EBE;
  --brand-800: #320B98;
  --brand-900: #270D6E;
  --brand-950: #190845;
  --brand: #571eee;
  --brand-ink: #ffffff;
}

Colors that work with #571eee

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#CCC0ED
Hairlines and dividers
Muted text#614B9B
Captions on the surface
Accent#BEC20A
Second voice, not a rival
Dark variant#270977
Hover, pressed, headers
Light variant#EDE7FD
Selected rows, tints
Dark surface#181424
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 #571eee

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
  • Text on black or near-black surfaces
  • 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#B5EE1E
Analogous left#1E4DEE
Analogous right#BF1EEE
Split-complement 1#EEBF1E
Split-complement 2#4DEE1E
Triadic 1#EE571E
Triadic 2#1EEE57
Tetradic#EE1E4D

RGB percentages

Red34.1%
Green11.8%
Blue93.3%

CMYK percentages

Cyan63.4%
Magenta87.4%
Yellow0.0%
Key (black)6.7%

Color previews

#571eee text on a black background

contrast 2.83:1

Card sample

#571eee text on a white background

contrast 7.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(87, 30, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(87, 30, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #571eee;
background: linear-gradient(135deg, #571eee, #E21EEE);

Monochromatic scale

Palettes built from #571eee

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.

#571eee 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.

#571eee, answered

What color is #571eee?

#571eee is a balanced electric violet, closest to Blue (ΔE2000 4.7). It sits at 256° on the hue wheel with 86% saturation and 53% lightness, which reads as cool.

What is the RGB value of #571eee?

rgb(87, 30, 238) — 87 red, 30 green and 238 blue out of 255, or 34.1% / 11.8% / 93.3% by channel.

Is #571eee a light or a dark color?

It is a dark color. Relative luminance is 0.0913 and perceived brightness is 38%, so white text on it reaches 7.43:1.

Should I use black or white text on #571eee?

White. It scores 7.43:1 against #571eee, versus 2.83:1 for black — AAA at any size.

What is the complementary color of #571eee?

#B5EE1E sits directly opposite on the wheel. Softer options are the split-complements #EEBF1E and #4DEE1E, which give the same contrast with far less vibration.

What colors go well with #571eee?

For interface work: #F6F4FA as the surface, #CCC0ED for borders, #614B9B for secondary text, #BEC20A as an accent and #270977 for hover and pressed states. For a palette, the analogous pair #1E4DEE and #BF1EEE stays calm, while #B5EE1E is the loudest partner.

What is #571eee in CMYK for printing?

cmyk(63%, 87%, 0%, 7%). 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 #571eee warm or cool?

Cool — it scores 74 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A31EEE; nudged cooler, #1B2FF0.

Work with #571eee in the Color Lab