Skip to content

#aa6eee

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

RGB
170, 110, 238
HSL
268°, 79%, 68%
CMYK
29, 54, 0, 7
Luminance
0.2587

At a glance

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

Hex
#aa6eee
Hue
268°
violet
Saturation
79%
electric
Lightness
68%
light
Brightness
93%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2587
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
6.17:1
Closest name
Medium Purple
ΔE2000 4.8
Where it sits
Hue268° of 360°
Saturation79%
Lightness68%
Temperature
Warm ← → Cool68% 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#aa6eee
RGBrgb(170, 110, 238)
HSLhsl(268, 79%, 68%)
CMYKcmyk(29%, 54%, 0%, 7%)
LABlab(57.9 48.4 -55.9)
LCHlch(57.9 73.9 310.9)
OKLCHoklch(0.657 0.189 303.2)
Decimal11169518
Display P3color(display-p3 0.667 0.431 0.933)

Copy-ready code

/* CSS */
color: #aa6eee;
background-color: #aa6eee;
/* Tailwind (arbitrary) */
class="text-[#aa6eee] bg-[#aa6eee]"
/* SCSS */
$brand: #aa6eee;
/* SwiftUI */
Color(red: 0.667, green: 0.431, blue: 0.933)
/* Android */
Color.parseColor("#aa6eee")
/* Flutter */
Color(0xFFAA6EEE)
/* Python / OpenCV (BGR) */
(238, 110, 170)

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

Accessibility — WCAG contrast

Aa
#aa6eee on white: 3.40:1
AA ✗ fail · AA-large · AAA
Aa
#aa6eee on black: 6.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3F8AF2
deuteranopia · #538BEB
tritanopia · #9E86A4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #aa6eee 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
#EFE6F9
#DCC7F5
#C49BF3
#aa6eee
#8936E7
#741ADB
#6115B7
#4E1192
#3A116A
#240A42
Base = 400Lightest = 50 · #F7F3FCDarkest = 950 · #240A42
:root {
  --brand-50: #F7F3FC;
  --brand-100: #EFE6F9;
  --brand-200: #DCC7F5;
  --brand-300: #C49BF3;
  --brand-400: #aa6eee;
  --brand-500: #8936E7;
  --brand-600: #741ADB;
  --brand-700: #6115B7;
  --brand-800: #4E1192;
  --brand-900: #3A116A;
  --brand-950: #240A42;
  --brand: #aa6eee;
  --brand-ink: #000000;
}

Colors that work with #aa6eee

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#D5C0ED
Hairlines and dividers
Muted text#704B9B
Captions on the surface
Accent#96BA12
Second voice, not a rival
Dark variant#3D0D72
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 #aa6eee

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#B2EE6E
Analogous left#6E72EE
Analogous right#EA6EEE
Split-complement 1#EEEA6E
Split-complement 2#72EE6E
Triadic 1#EEAA6E
Triadic 2#6EEEAA
Tetradic#EE6E72

RGB percentages

Red66.7%
Green43.1%
Blue93.3%

CMYK percentages

Cyan28.6%
Magenta53.8%
Yellow0.0%
Key (black)6.7%

Color previews

#aa6eee text on a black background

contrast 6.17:1

Card sample

#aa6eee text on a white background

contrast 3.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(170, 110, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 110, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aa6eee;
background: linear-gradient(135deg, #aa6eee, #EE6EDD);

Monochromatic scale

Palettes built from #aa6eee

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.

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

#aa6eee, answered

What color is #aa6eee?

#aa6eee is a light electric violet, closest to Medium Purple (ΔE2000 4.8). It sits at 268° on the hue wheel with 79% saturation and 68% lightness, which reads as cool.

What is the RGB value of #aa6eee?

rgb(170, 110, 238) — 170 red, 110 green and 238 blue out of 255, or 66.7% / 43.1% / 93.3% by channel.

Is #aa6eee a light or a dark color?

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

Should I use black or white text on #aa6eee?

Black. It scores 6.17:1 against #aa6eee, versus 3.40:1 for white — AA at any size.

What is the complementary color of #aa6eee?

#B2EE6E sits directly opposite on the wheel. Softer options are the split-complements #EEEA6E and #72EE6E, which give the same contrast with far less vibration.

What colors go well with #aa6eee?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #704B9B for secondary text, #96BA12 as an accent and #3D0D72 for hover and pressed states. For a palette, the analogous pair #6E72EE and #EA6EEE stays calm, while #B2EE6E is the loudest partner.

What is #aa6eee in CMYK for printing?

cmyk(29%, 54%, 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 #aa6eee warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D96EEE; nudged cooler, #7A6CF0.

Work with #aa6eee in the Color Lab