Skip to content

#a68fdf

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

RGB
166, 143, 223
HSL
257°, 56%, 72%
CMYK
26, 36, 0, 13
Luminance
0.3308

At a glance

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

Hex
#a68fdf
Hue
257°
violet
Saturation
56%
vivid
Lightness
72%
light
Brightness
87%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3308
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
7.62:1
Closest name
Medium Purple
ΔE2000 9.5
Where it sits
Hue257° of 360°
Saturation56%
Lightness72%
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#a68fdf
RGBrgb(166, 143, 223)
HSLhsl(257, 56%, 72%)
CMYKcmyk(26%, 36%, 0%, 13%)
LABlab(64.2 25.3 -37.6)
LCHlch(64.2 45.4 303.9)
OKLCHoklch(0.702 0.117 296.5)
Decimal10915807
Display P3color(display-p3 0.651 0.561 0.875)

Copy-ready code

/* CSS */
color: #a68fdf;
background-color: #a68fdf;
/* Tailwind (arbitrary) */
class="text-[#a68fdf] bg-[#a68fdf]"
/* SCSS */
$brand: #a68fdf;
/* SwiftUI */
Color(red: 0.651, green: 0.561, blue: 0.875)
/* Android */
Color.parseColor("#a68fdf")
/* Flutter */
Color(0xFFA68FDF)
/* Python / OpenCV (BGR) */
(223, 143, 166)

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

Accessibility — WCAG contrast

Aa
#a68fdf on white: 2.76:1
AA ✗ fail · AA-large · AAA
Aa
#a68fdf on black: 7.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7A9CE2
deuteranopia · #7E9BDD
tritanopia · #9B9CAD

Color scale — 50 to 950

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

#F6F4FB
#EDE9F6
#D7CEEE
#BAA8E6
#a68fdf
#7450CD
#5E36BE
#4E2D9F
#3E247F
#301E5D
#1E133A
Base = 400Lightest = 50 · #F6F4FBDarkest = 950 · #1E133A
:root {
  --brand-50: #F6F4FB;
  --brand-100: #EDE9F6;
  --brand-200: #D7CEEE;
  --brand-300: #BAA8E6;
  --brand-400: #a68fdf;
  --brand-500: #7450CD;
  --brand-600: #5E36BE;
  --brand-700: #4E2D9F;
  --brand-800: #3E247F;
  --brand-900: #301E5D;
  --brand-950: #1E133A;
  --brand: #a68fdf;
  --brand-ink: #000000;
}

Colors that work with #a68fdf

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#F6F4FA
Tinted page background
Border#CDC0ED
Hairlines and dividers
Muted text#624B9B
Captions on the surface
Accent#9FA329
Second voice, not a rival
Dark variant#311C63
Hover, pressed, headers
Light variant#EFEBF9
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 #a68fdf

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#C8DF8F
Analogous left#8FA0DF
Analogous right#CE8FDF
Split-complement 1#DFCE8F
Split-complement 2#A0DF8F
Triadic 1#DFA68F
Triadic 2#8FDFA6
Tetradic#DF8FA0

RGB percentages

Red65.1%
Green56.1%
Blue87.5%

CMYK percentages

Cyan25.6%
Magenta35.9%
Yellow0.0%
Key (black)12.5%

Color previews

#a68fdf text on a black background

contrast 7.62:1

Card sample

#a68fdf text on a white background

contrast 2.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(166, 143, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 143, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a68fdf;
background: linear-gradient(135deg, #a68fdf, #DB8FDF);

Monochromatic scale

Palettes built from #a68fdf

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.

#a68fdf 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

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

#a68fdf, answered

What color is #a68fdf?

#a68fdf is a light vivid violet, closest to Medium Purple (ΔE2000 9.5). It sits at 257° on the hue wheel with 56% saturation and 72% lightness, which reads as cool.

What is the RGB value of #a68fdf?

rgb(166, 143, 223) — 166 red, 143 green and 223 blue out of 255, or 65.1% / 56.1% / 87.5% by channel.

Is #a68fdf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3308 and perceived brightness is 63%, so black text on it reaches 7.62:1.

Should I use black or white text on #a68fdf?

Black. It scores 7.62:1 against #a68fdf, versus 2.76:1 for white — AAA at any size.

What is the complementary color of #a68fdf?

#C8DF8F sits directly opposite on the wheel. Softer options are the split-complements #DFCE8F and #A0DF8F, which give the same contrast with far less vibration.

What colors go well with #a68fdf?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #624B9B for secondary text, #9FA329 as an accent and #311C63 for hover and pressed states. For a palette, the analogous pair #8FA0DF and #CE8FDF stays calm, while #C8DF8F is the loudest partner.

What is #a68fdf in CMYK for printing?

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

Is #a68fdf 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 #C38FDF; nudged cooler, #8E94E1.

Work with #a68fdf in the Color Lab