Skip to content

#c2afdb

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

RGB
194, 175, 219
HSL
266°, 38%, 77%
CMYK
11, 20, 0, 14
Luminance
0.4724

At a glance

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

Hex
#c2afdb
Hue
266°
violet
Saturation
38%
soft
Lightness
77%
light
Brightness
86%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4724
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
10.45:1
Closest name
Thistle
ΔE2000 7.6
Where it sits
Hue266° of 360°
Saturation38%
Lightness77%
Temperature
Warm ← → Cool69% 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#c2afdb
RGBrgb(194, 175, 219)
HSLhsl(266, 38%, 77%)
CMYKcmyk(11%, 20%, 0%, 14%)
LABlab(74.3 15.2 -19.6)
LCHlch(74.3 24.8 307.7)
OKLCHoklch(0.785 0.065 304.6)
Decimal12759003
Display P3color(display-p3 0.761 0.686 0.859)

Copy-ready code

/* CSS */
color: #c2afdb;
background-color: #c2afdb;
/* Tailwind (arbitrary) */
class="text-[#c2afdb] bg-[#c2afdb]"
/* SCSS */
$brand: #c2afdb;
/* SwiftUI */
Color(red: 0.761, green: 0.686, blue: 0.859)
/* Android */
Color.parseColor("#c2afdb")
/* Flutter */
Color(0xFFC2AFDB)
/* Python / OpenCV (BGR) */
(219, 175, 194)

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

Accessibility — WCAG contrast

Aa
#c2afdb on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#c2afdb on black: 10.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A7B6DD
deuteranopia · #ABB7DA
tritanopia · #BEB5BE

Color scale — 50 to 950

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

#F7F5FA
#EFEBF4
#DCD3E9
#c2afdb
#A68BCB
#8964B9
#744CA9
#613F8D
#4D3371
#3A2853
#241934
Base = 300Lightest = 50 · #F7F5FADarkest = 950 · #241934
:root {
  --brand-50: #F7F5FA;
  --brand-100: #EFEBF4;
  --brand-200: #DCD3E9;
  --brand-300: #c2afdb;
  --brand-400: #A68BCB;
  --brand-500: #8964B9;
  --brand-600: #744CA9;
  --brand-700: #613F8D;
  --brand-800: #4D3371;
  --brand-900: #3A2853;
  --brand-950: #241934;
  --brand: #c2afdb;
  --brand-ink: #000000;
}

Colors that work with #c2afdb

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#D4C7E6
Hairlines and dividers
Muted text#6D4B9B
Captions on the surface
Accent#82903C
Second voice, not a rival
Dark variant#3C2858
Hover, pressed, headers
Light variant#F2EDF7
Selected rows, tints
Dark surface#1B1424
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 #c2afdb

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#C8DBAF
Analogous left#AFB2DB
Analogous right#D8AFDB
Split-complement 1#DBD8AF
Split-complement 2#B2DBAF
Triadic 1#DBC2AF
Triadic 2#AFDBC2
Tetradic#DBAFB2

RGB percentages

Red76.1%
Green68.6%
Blue85.9%

CMYK percentages

Cyan11.4%
Magenta20.1%
Yellow0.0%
Key (black)14.1%

Color previews

#c2afdb text on a black background

contrast 10.45:1

Card sample

#c2afdb text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2afdb

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.

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

#c2afdb, answered

What color is #c2afdb?

#c2afdb is a light soft violet, closest to Thistle (ΔE2000 7.6). It sits at 266° on the hue wheel with 38% saturation and 77% lightness, which reads as cool.

What is the RGB value of #c2afdb?

rgb(194, 175, 219) — 194 red, 175 green and 219 blue out of 255, or 76.1% / 68.6% / 85.9% by channel.

Is #c2afdb a light or a dark color?

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

Should I use black or white text on #c2afdb?

Black. It scores 10.45:1 against #c2afdb, versus 2.01:1 for white — AAA at any size.

What is the complementary color of #c2afdb?

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

What colors go well with #c2afdb?

For interface work: #F7F4FA as the surface, #D4C7E6 for borders, #6D4B9B for secondary text, #82903C as an accent and #3C2858 for hover and pressed states. For a palette, the analogous pair #AFB2DB and #D8AFDB stays calm, while #C8DBAF is the loudest partner.

What is #c2afdb in CMYK for printing?

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

Is #c2afdb warm or cool?

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

Work with #c2afdb in the Color Lab