Skip to content

#882abc

a balanced, vivid violet · cool · closest name: Dark Violet

RGB
136, 42, 188
HSL
279°, 64%, 45%
CMYK
28, 78, 0, 26
Luminance
0.1052

At a glance

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

Hex
#882abc
Hue
279°
violet
Saturation
64%
vivid
Lightness
45%
balanced
Brightness
74%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1052
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
6.77:1
Closest name
Dark Violet
ΔE2000 3.7
Where it sits
Hue279° of 360°
Saturation64%
Lightness45%
Temperature
Warm ← → Cool62% 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#882abc
RGBrgb(136, 42, 188)
HSLhsl(279, 64%, 45%)
CMYKcmyk(28%, 78%, 0%, 26%)
LABlab(38.8 61.6 -58.4)
LCHlch(38.8 84.9 316.6)
OKLCHoklch(0.500 0.216 309.9)
Decimal8923836
Display P3color(display-p3 0.533 0.165 0.737)

Copy-ready code

/* CSS */
color: #882abc;
background-color: #882abc;
/* Tailwind (arbitrary) */
class="text-[#882abc] bg-[#882abc]"
/* SCSS */
$brand: #882abc;
/* SwiftUI */
Color(red: 0.533, green: 0.165, blue: 0.737)
/* Android */
Color.parseColor("#882abc")
/* Flutter */
Color(0xFF882ABC)
/* Python / OpenCV (BGR) */
(188, 42, 136)

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

Accessibility — WCAG contrast

Aa
#882abc on white: 6.77:1
AA ✓ pass · AA-large · AAA
Aa
#882abc on black: 3.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0057C0
deuteranopia · #005DB9
tritanopia · #804E73

Color scale — 50 to 950

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

#F8F4FB
#F2E8F7
#E3CBF0
#D1A3EB
#BA75E0
#A348D6
#882abc
#7925A7
#601E85
#471961
#2D103D
Base = 600Lightest = 50 · #F8F4FBDarkest = 950 · #2D103D
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F2E8F7;
  --brand-200: #E3CBF0;
  --brand-300: #D1A3EB;
  --brand-400: #BA75E0;
  --brand-500: #A348D6;
  --brand-600: #882abc;
  --brand-700: #7925A7;
  --brand-800: #601E85;
  --brand-900: #471961;
  --brand-950: #2D103D;
  --brand: #882abc;
  --brand-ink: #ffffff;
}

Colors that work with #882abc

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#DDC0ED
Hairlines and dividers
Muted text#7E4B9B
Captions on the surface
Accent#75AB21
Second voice, not a rival
Dark variant#4B1768
Hover, pressed, headers
Light variant#F5EAFA
Selected rows, tints
Dark surface#1E1424
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 #882abc

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#5EBC2A
Analogous left#3F2ABC
Analogous right#BC2AA7
Split-complement 1#A7BC2A
Split-complement 2#2ABC3F
Triadic 1#BC882A
Triadic 2#2ABC88
Tetradic#BC3F2A

RGB percentages

Red53.3%
Green16.5%
Blue73.7%

CMYK percentages

Cyan27.7%
Magenta77.7%
Yellow0.0%
Key (black)26.3%

Color previews

#882abc text on a black background

contrast 3.10:1

Card sample

#882abc text on a white background

contrast 6.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(136, 42, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(136, 42, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #882abc;
background: linear-gradient(135deg, #882abc, #BC2A8F);

Monochromatic scale

Palettes built from #882abc

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.

#882abc 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

Converts to four-color process without much drama. Proof it anyway.

#882abc, answered

What color is #882abc?

#882abc is a balanced vivid violet, closest to Dark Violet (ΔE2000 3.7). It sits at 279° on the hue wheel with 64% saturation and 45% lightness, which reads as cool.

What is the RGB value of #882abc?

rgb(136, 42, 188) — 136 red, 42 green and 188 blue out of 255, or 53.3% / 16.5% / 73.7% by channel.

Is #882abc a light or a dark color?

It is a dark color. Relative luminance is 0.1052 and perceived brightness is 40%, so white text on it reaches 6.77:1.

Should I use black or white text on #882abc?

White. It scores 6.77:1 against #882abc, versus 3.10:1 for black — AA at any size.

What is the complementary color of #882abc?

#5EBC2A sits directly opposite on the wheel. Softer options are the split-complements #A7BC2A and #2ABC3F, which give the same contrast with far less vibration.

What colors go well with #882abc?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #7E4B9B for secondary text, #75AB21 as an accent and #4B1768 for hover and pressed states. For a palette, the analogous pair #3F2ABC and #BC2AA7 stays calm, while #5EBC2A is the loudest partner.

What is #882abc in CMYK for printing?

cmyk(28%, 78%, 0%, 26%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #882abc warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BC2ABB; nudged cooler, #5128BE.

Work with #882abc in the Color Lab