Skip to content

#c1afee

a light, vivid violet · cool · closest name: Plum

RGB
193, 175, 238
HSL
257°, 65%, 81%
CMYK
19, 27, 0, 7
Luminance
0.4817

At a glance

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

Hex
#c1afee
Hue
257°
violet
Saturation
65%
vivid
Lightness
81%
light
Brightness
93%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4817
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
10.63:1
Closest name
Plum
ΔE2000 10.1
Where it sits
Hue257° of 360°
Saturation65%
Lightness81%
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#c1afee
RGBrgb(193, 175, 238)
HSLhsl(257, 65%, 81%)
CMYKcmyk(19%, 27%, 0%, 7%)
LABlab(74.9 18.9 -29.1)
LCHlch(74.9 34.7 303.1)
OKLCHoklch(0.791 0.090 297.4)
Decimal12693486
Display P3color(display-p3 0.757 0.686 0.933)

Copy-ready code

/* CSS */
color: #c1afee;
background-color: #c1afee;
/* Tailwind (arbitrary) */
class="text-[#c1afee] bg-[#c1afee]"
/* SCSS */
$brand: #c1afee;
/* SwiftUI */
Color(red: 0.757, green: 0.686, blue: 0.933)
/* Android */
Color.parseColor("#c1afee")
/* Flutter */
Color(0xFFC1AFEE)
/* Python / OpenCV (BGR) */
(238, 175, 193)

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

Accessibility — WCAG contrast

Aa
#c1afee on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#c1afee on black: 10.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A1B9F1
deuteranopia · #A4B8EC
tritanopia · #B9B9C5

Color scale — 50 to 950

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

#F6F3FB
#ECE8F7
#D6CBF1
#c1afee
#9374E1
#6F46D8
#582BCA
#4A24A8
#3B1D87
#2D1962
#1C0F3D
Base = 300Lightest = 50 · #F6F3FBDarkest = 950 · #1C0F3D
:root {
  --brand-50: #F6F3FB;
  --brand-100: #ECE8F7;
  --brand-200: #D6CBF1;
  --brand-300: #c1afee;
  --brand-400: #9374E1;
  --brand-500: #6F46D8;
  --brand-600: #582BCA;
  --brand-700: #4A24A8;
  --brand-800: #3B1D87;
  --brand-900: #2D1962;
  --brand-950: #1C0F3D;
  --brand: #c1afee;
  --brand-ink: #000000;
}

Colors that work with #c1afee

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#614B9B
Captions on the surface
Accent#A8AC20
Second voice, not a rival
Dark variant#2E1669
Hover, pressed, headers
Light variant#EFEAFB
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 #c1afee

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#DCEEAF
Analogous left#AFBDEE
Analogous right#E0AFEE
Split-complement 1#EEE0AF
Split-complement 2#BDEEAF
Triadic 1#EEC1AF
Triadic 2#AFEEC1
Tetradic#EEAFBD

RGB percentages

Red75.7%
Green68.6%
Blue93.3%

CMYK percentages

Cyan18.9%
Magenta26.5%
Yellow0.0%
Key (black)6.7%

Color previews

#c1afee text on a black background

contrast 10.63:1

Card sample

#c1afee text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c1afee

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.

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

#c1afee, answered

What color is #c1afee?

#c1afee is a light vivid violet, closest to Plum (ΔE2000 10.1). It sits at 257° on the hue wheel with 65% saturation and 81% lightness, which reads as cool.

What is the RGB value of #c1afee?

rgb(193, 175, 238) — 193 red, 175 green and 238 blue out of 255, or 75.7% / 68.6% / 93.3% by channel.

Is #c1afee a light or a dark color?

It is a mid-tone. Relative luminance is 0.4817 and perceived brightness is 74%, so black text on it reaches 10.63:1.

Should I use black or white text on #c1afee?

Black. It scores 10.63:1 against #c1afee, versus 1.97:1 for white — AAA at any size.

What is the complementary color of #c1afee?

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

What colors go well with #c1afee?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #614B9B for secondary text, #A8AC20 as an accent and #2E1669 for hover and pressed states. For a palette, the analogous pair #AFBDEE and #E0AFEE stays calm, while #DCEEAF is the loudest partner.

What is #c1afee in CMYK for printing?

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

Is #c1afee 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 #D8AFEE; nudged cooler, #AEB3EF.

Work with #c1afee in the Color Lab