Skip to content

#c7afd1

a light, soft violet · neutral · closest name: Thistle

RGB
199, 175, 209
HSL
282°, 27%, 75%
CMYK
5, 16, 0, 18
Luminance
0.4741

At a glance

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

Hex
#c7afd1
Hue
282°
violet
Saturation
27%
soft
Lightness
75%
light
Brightness
82%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4741
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
10.48:1
Closest name
Thistle
ΔE2000 5
Where it sits
Hue282° of 360°
Saturation27%
Lightness75%
Temperature
Warm ← → Cool58% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#c7afd1
RGBrgb(199, 175, 209)
HSLhsl(282, 27%, 75%)
CMYKcmyk(5%, 16%, 0%, 18%)
LABlab(74.5 14.8 -14.0)
LCHlch(74.5 20.4 316.6)
OKLCHoklch(0.785 0.054 316.0)
Decimal13086673
Display P3color(display-p3 0.780 0.686 0.820)

Copy-ready code

/* CSS */
color: #c7afd1;
background-color: #c7afd1;
/* Tailwind (arbitrary) */
class="text-[#c7afd1] bg-[#c7afd1]"
/* SCSS */
$brand: #c7afd1;
/* SwiftUI */
Color(red: 0.780, green: 0.686, blue: 0.820)
/* Android */
Color.parseColor("#c7afd1")
/* Flutter */
Color(0xFFC7AFD1)
/* Python / OpenCV (BGR) */
(209, 175, 199)

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

Accessibility — WCAG contrast

Aa
#c7afd1 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#c7afd1 on black: 10.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ABB6D2
deuteranopia · #B0B8D0
tritanopia · #C7B3BA

Color scale — 50 to 950

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

#F8F6F9
#F1ECF3
#E1D6E6
#c7afd1
#B494C2
#9B71AD
#88599B
#714A82
#5B3C68
#432E4C
#2A1D30
Base = 300Lightest = 50 · #F8F6F9Darkest = 950 · #2A1D30
:root {
  --brand-50: #F8F6F9;
  --brand-100: #F1ECF3;
  --brand-200: #E1D6E6;
  --brand-300: #c7afd1;
  --brand-400: #B494C2;
  --brand-500: #9B71AD;
  --brand-600: #88599B;
  --brand-700: #714A82;
  --brand-800: #5B3C68;
  --brand-900: #432E4C;
  --brand-950: #2A1D30;
  --brand: #c7afd1;
  --brand-ink: #000000;
}

Colors that work with #c7afd1

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#F8F5F9
Tinted page background
Border#DBCBE1
Hairlines and dividers
Muted text#805492
Captions on the surface
Accent#698646
Second voice, not a rival
Dark variant#472F51
Hover, pressed, headers
Light variant#F4EFF6
Selected rows, tints
Dark surface#1F1424
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 #c7afd1

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#B9D1AF
Analogous left#B6AFD1
Analogous right#D1AFCA
Split-complement 1#CAD1AF
Split-complement 2#AFD1B6
Triadic 1#D1C7AF
Triadic 2#AFD1C7
Tetradic#D1B6AF

RGB percentages

Red78.0%
Green68.6%
Blue82.0%

CMYK percentages

Cyan4.8%
Magenta16.3%
Yellow0.0%
Key (black)18.0%

Color previews

#c7afd1 text on a black background

contrast 10.48:1

Card sample

#c7afd1 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(199, 175, 209, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 175, 209, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7afd1;
background: linear-gradient(135deg, #c7afd1, #D1AFC4);

Monochromatic scale

Palettes built from #c7afd1

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.

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

#c7afd1, answered

What color is #c7afd1?

#c7afd1 is a light soft violet, closest to Thistle (ΔE2000 5). It sits at 282° on the hue wheel with 27% saturation and 75% lightness, which reads as neutral.

What is the RGB value of #c7afd1?

rgb(199, 175, 209) — 199 red, 175 green and 209 blue out of 255, or 78% / 68.6% / 82% by channel.

Is #c7afd1 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4741 and perceived brightness is 73%, so black text on it reaches 10.48:1.

Should I use black or white text on #c7afd1?

Black. It scores 10.48:1 against #c7afd1, versus 2.00:1 for white — AAA at any size.

What is the complementary color of #c7afd1?

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

What colors go well with #c7afd1?

For interface work: #F8F5F9 as the surface, #DBCBE1 for borders, #805492 for secondary text, #698646 as an accent and #472F51 for hover and pressed states. For a palette, the analogous pair #B6AFD1 and #D1AFCA stays calm, while #B9D1AF is the loudest partner.

What is #c7afd1 in CMYK for printing?

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

Is #c7afd1 warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D1AFCF; nudged cooler, #BAAED2.

Work with #c7afd1 in the Color Lab