Skip to content

#c5afd6

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

RGB
197, 175, 214
HSL
274°, 32%, 76%
CMYK
8, 18, 0, 16
Luminance
0.4739

At a glance

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

Hex
#c5afd6
Hue
274°
violet
Saturation
32%
soft
Lightness
76%
light
Brightness
84%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4739
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
10.48:1
Closest name
Thistle
ΔE2000 6.2
Where it sits
Hue274° of 360°
Saturation32%
Lightness76%
Temperature
Warm ← → Cool63% 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#c5afd6
RGBrgb(197, 175, 214)
HSLhsl(274, 32%, 76%)
CMYKcmyk(8%, 18%, 0%, 16%)
LABlab(74.4 15.1 -16.8)
LCHlch(74.4 22.6 312.1)
OKLCHoklch(0.785 0.059 310.3)
Decimal12955606
Display P3color(display-p3 0.773 0.686 0.839)

Copy-ready code

/* CSS */
color: #c5afd6;
background-color: #c5afd6;
/* Tailwind (arbitrary) */
class="text-[#c5afd6] bg-[#c5afd6]"
/* SCSS */
$brand: #c5afd6;
/* SwiftUI */
Color(red: 0.773, green: 0.686, blue: 0.839)
/* Android */
Color.parseColor("#c5afd6")
/* Flutter */
Color(0xFFC5AFD6)
/* Python / OpenCV (BGR) */
(214, 175, 197)

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 #c5afd6 · 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: #c5afd6 as text scores 2.00:1 on white and 10.48:1 on black.

Accessibility — WCAG contrast

Aa
#c5afd6 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#c5afd6 on black: 10.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A9B6D8
deuteranopia · #AEB8D5
tritanopia · #C3B4BC

Color scale — 50 to 950

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

#F8F5F9
#F0ECF4
#DFD4E7
#c5afd6
#AE90C6
#936BB3
#7F53A2
#6A4587
#55376C
#3F2B4F
#281B32
Base = 300Lightest = 50 · #F8F5F9Darkest = 950 · #281B32
:root {
  --brand-50: #F8F5F9;
  --brand-100: #F0ECF4;
  --brand-200: #DFD4E7;
  --brand-300: #c5afd6;
  --brand-400: #AE90C6;
  --brand-500: #936BB3;
  --brand-600: #7F53A2;
  --brand-700: #6A4587;
  --brand-800: #55376C;
  --brand-900: #3F2B4F;
  --brand-950: #281B32;
  --brand: #c5afd6;
  --brand-ink: #000000;
}

Colors that work with #c5afd6

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#F8F5FA
Tinted page background
Border#D8C9E3
Hairlines and dividers
Muted text#774E98
Captions on the surface
Accent#748A42
Second voice, not a rival
Dark variant#422B54
Hover, pressed, headers
Light variant#F3EEF6
Selected rows, tints
Dark surface#1D1424
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 #c5afd6

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#C0D6AF
Analogous left#B2AFD6
Analogous right#D6AFD4
Split-complement 1#D4D6AF
Split-complement 2#AFD6B2
Triadic 1#D6C5AF
Triadic 2#AFD6C5
Tetradic#D6B2AF

RGB percentages

Red77.3%
Green68.6%
Blue83.9%

CMYK percentages

Cyan7.9%
Magenta18.2%
Yellow0.0%
Key (black)16.1%

Color previews

#c5afd6 text on a black background

contrast 10.48:1

Card sample

#c5afd6 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c5afd6

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.

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

#c5afd6, answered

What color is #c5afd6?

#c5afd6 is a light soft violet, closest to Thistle (ΔE2000 6.2). It sits at 274° on the hue wheel with 32% saturation and 76% lightness, which reads as cool.

What is the RGB value of #c5afd6?

rgb(197, 175, 214) — 197 red, 175 green and 214 blue out of 255, or 77.3% / 68.6% / 83.9% by channel.

Is #c5afd6 a light or a dark color?

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

Should I use black or white text on #c5afd6?

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

What is the complementary color of #c5afd6?

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

What colors go well with #c5afd6?

For interface work: #F8F5FA as the surface, #D8C9E3 for borders, #774E98 for secondary text, #748A42 as an accent and #422B54 for hover and pressed states. For a palette, the analogous pair #B2AFD6 and #D6AFD4 stays calm, while #C0D6AF is the loudest partner.

What is #c5afd6 in CMYK for printing?

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

Is #c5afd6 warm or cool?

Cool — it scores 63 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D3AFD6; nudged cooler, #B6AED7.

Work with #c5afd6 in the Color Lab