Skip to content

#ab69eb

a light, electric violet · cool · closest name: Medium Purple

RGB
171, 105, 235
HSL
271°, 77%, 67%
CMYK
27, 55, 0, 8
Luminance
0.2476

At a glance

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

Hex
#ab69eb
Hue
271°
violet
Saturation
77%
electric
Lightness
67%
light
Brightness
92%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2476
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.95:1
Closest name
Medium Purple
ΔE2000 5.1
Where it sits
Hue271° of 360°
Saturation77%
Lightness67%
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#ab69eb
RGBrgb(171, 105, 235)
HSLhsl(271, 77%, 67%)
CMYKcmyk(27%, 55%, 0%, 8%)
LABlab(56.8 50.6 -56.0)
LCHlch(56.8 75.4 312.1)
OKLCHoklch(0.649 0.193 305.1)
Decimal11233771
Display P3color(display-p3 0.671 0.412 0.922)

Copy-ready code

/* CSS */
color: #ab69eb;
background-color: #ab69eb;
/* Tailwind (arbitrary) */
class="text-[#ab69eb] bg-[#ab69eb]"
/* SCSS */
$brand: #ab69eb;
/* SwiftUI */
Color(red: 0.671, green: 0.412, blue: 0.922)
/* Android */
Color.parseColor("#ab69eb")
/* Flutter */
Color(0xFFAB69EB)
/* Python / OpenCV (BGR) */
(235, 105, 171)

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

Accessibility — WCAG contrast

Aa
#ab69eb on white: 3.53:1
AA ✗ fail · AA-large · AAA
Aa
#ab69eb on black: 5.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3986EF
deuteranopia · #5189E8
tritanopia · #A082A0

Color scale — 50 to 950

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

#F7F3FC
#F0E7F9
#DEC8F4
#C89CF2
#ab69eb
#9039E5
#7C1DD8
#6718B4
#531390
#3E1268
#270B41
Base = 400Lightest = 50 · #F7F3FCDarkest = 950 · #270B41
:root {
  --brand-50: #F7F3FC;
  --brand-100: #F0E7F9;
  --brand-200: #DEC8F4;
  --brand-300: #C89CF2;
  --brand-400: #ab69eb;
  --brand-500: #9039E5;
  --brand-600: #7C1DD8;
  --brand-700: #6718B4;
  --brand-800: #531390;
  --brand-900: #3E1268;
  --brand-950: #270B41;
  --brand: #ab69eb;
  --brand-ink: #000000;
}

Colors that work with #ab69eb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F7F4FA
Tinted page background
Border#D7C0ED
Hairlines and dividers
Muted text#734B9B
Captions on the surface
Accent#8EB814
Second voice, not a rival
Dark variant#410F71
Hover, pressed, headers
Light variant#F2E8FC
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 #ab69eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#A9EB69
Analogous left#6A69EB
Analogous right#EB69EA
Split-complement 1#EAEB69
Split-complement 2#69EB6A
Triadic 1#EBAB69
Triadic 2#69EBAB
Tetradic#EB6A69

RGB percentages

Red67.1%
Green41.2%
Blue92.2%

CMYK percentages

Cyan27.2%
Magenta55.3%
Yellow0.0%
Key (black)7.8%

Color previews

#ab69eb text on a black background

contrast 5.95:1

Card sample

#ab69eb text on a white background

contrast 3.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 105, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 105, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ab69eb;
background: linear-gradient(135deg, #ab69eb, #EB69D4);

Monochromatic scale

Palettes built from #ab69eb

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.

#ab69eb 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ab69eb, answered

What color is #ab69eb?

#ab69eb is a light electric violet, closest to Medium Purple (ΔE2000 5.1). It sits at 271° on the hue wheel with 77% saturation and 67% lightness, which reads as cool.

What is the RGB value of #ab69eb?

rgb(171, 105, 235) — 171 red, 105 green and 235 blue out of 255, or 67.1% / 41.2% / 92.2% by channel.

Is #ab69eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2476 and perceived brightness is 58%, so black text on it reaches 5.95:1.

Should I use black or white text on #ab69eb?

Black. It scores 5.95:1 against #ab69eb, versus 3.53:1 for white — AA at any size.

What is the complementary color of #ab69eb?

#A9EB69 sits directly opposite on the wheel. Softer options are the split-complements #EAEB69 and #69EB6A, which give the same contrast with far less vibration.

What colors go well with #ab69eb?

For interface work: #F7F4FA as the surface, #D7C0ED for borders, #734B9B for secondary text, #8EB814 as an accent and #410F71 for hover and pressed states. For a palette, the analogous pair #6A69EB and #EB69EA stays calm, while #A9EB69 is the loudest partner.

What is #ab69eb in CMYK for printing?

cmyk(27%, 55%, 0%, 8%). 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 #ab69eb 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 #DB69EB; nudged cooler, #7A67ED.

Work with #ab69eb in the Color Lab