Skip to content

#a115d8

a balanced, electric violet · cool · closest name: Dark Orchid

RGB
161, 21, 216
HSL
283°, 82%, 47%
CMYK
26, 90, 0, 15
Luminance
0.1307

At a glance

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

Hex
#a115d8
Hue
283°
violet
Saturation
82%
electric
Lightness
47%
balanced
Brightness
85%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1307
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.81:1
Closest name
Dark Orchid
ΔE2000 2.7
Where it sits
Hue283° of 360°
Saturation82%
Lightness47%
Temperature
Warm ← → Cool59% 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#a115d8
RGBrgb(161, 21, 216)
HSLhsl(283, 82%, 47%)
CMYKcmyk(26%, 90%, 0%, 15%)
LABlab(42.9 76.4 -67.8)
LCHlch(42.9 102.1 318.4)
OKLCHoklch(0.543 0.261 312.5)
Decimal10556888
Display P3color(display-p3 0.631 0.082 0.847)

Copy-ready code

/* CSS */
color: #a115d8;
background-color: #a115d8;
/* Tailwind (arbitrary) */
class="text-[#a115d8] bg-[#a115d8]"
/* SCSS */
$brand: #a115d8;
/* SwiftUI */
Color(red: 0.631, green: 0.082, blue: 0.847)
/* Android */
Color.parseColor("#a115d8")
/* Flutter */
Color(0xFFA115D8)
/* Python / OpenCV (BGR) */
(216, 21, 161)

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

Accessibility — WCAG contrast

Aa
#a115d8 on white: 5.81:1
AA ✓ pass · AA-large · AAA
Aa
#a115d8 on black: 3.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005FDD
deuteranopia · #0068D4
tritanopia · #9A5080

Color scale — 50 to 950

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

#F9F2FC
#F4E6FA
#E8C6F6
#DB99F5
#C966F0
#B732EB
#a115d8
#8B12BA
#6F0E95
#510F6C
#330943
Base = 600Lightest = 50 · #F9F2FCDarkest = 950 · #330943
:root {
  --brand-50: #F9F2FC;
  --brand-100: #F4E6FA;
  --brand-200: #E8C6F6;
  --brand-300: #DB99F5;
  --brand-400: #C966F0;
  --brand-500: #B732EB;
  --brand-600: #a115d8;
  --brand-700: #8B12BA;
  --brand-800: #6F0E95;
  --brand-900: #510F6C;
  --brand-950: #330943;
  --brand: #a115d8;
  --brand-ink: #ffffff;
}

Colors that work with #a115d8

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#F9F4FA
Tinted page background
Border#E0C0ED
Hairlines and dividers
Muted text#844B9B
Captions on the surface
Accent#6CBE0E
Second voice, not a rival
Dark variant#570B74
Hover, pressed, headers
Light variant#F7E8FD
Selected rows, tints
Dark surface#201424
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 #a115d8

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#4CD815
Analogous left#4015D8
Analogous right#D815AE
Split-complement 1#AED815
Split-complement 2#15D840
Triadic 1#D8A115
Triadic 2#15D8A1
Tetradic#D84015

RGB percentages

Red63.1%
Green8.2%
Blue84.7%

CMYK percentages

Cyan25.5%
Magenta90.3%
Yellow0.0%
Key (black)15.3%

Color previews

#a115d8 text on a black background

contrast 3.61:1

Card sample

#a115d8 text on a white background

contrast 5.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(161, 21, 216, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(161, 21, 216, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a115d8;
background: linear-gradient(135deg, #a115d8, #D8158D);

Monochromatic scale

Palettes built from #a115d8

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.

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

#a115d8, answered

What color is #a115d8?

#a115d8 is a balanced electric violet, closest to Dark Orchid (ΔE2000 2.7). It sits at 283° on the hue wheel with 82% saturation and 47% lightness, which reads as cool.

What is the RGB value of #a115d8?

rgb(161, 21, 216) — 161 red, 21 green and 216 blue out of 255, or 63.1% / 8.2% / 84.7% by channel.

Is #a115d8 a light or a dark color?

It is a dark color. Relative luminance is 0.1307 and perceived brightness is 45%, so white text on it reaches 5.81:1.

Should I use black or white text on #a115d8?

White. It scores 5.81:1 against #a115d8, versus 3.61:1 for black — AA at any size.

What is the complementary color of #a115d8?

#4CD815 sits directly opposite on the wheel. Softer options are the split-complements #AED815 and #15D840, which give the same contrast with far less vibration.

What colors go well with #a115d8?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #844B9B for secondary text, #6CBE0E as an accent and #570B74 for hover and pressed states. For a palette, the analogous pair #4015D8 and #D815AE stays calm, while #4CD815 is the loudest partner.

What is #a115d8 in CMYK for printing?

cmyk(26%, 90%, 0%, 15%). 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 #a115d8 warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D815C8; nudged cooler, #5913DB.

Work with #a115d8 in the Color Lab