Skip to content

#cfaffd

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

RGB
207, 175, 253
HSL
265°, 95%, 84%
CMYK
18, 31, 0, 1
Luminance
0.5102

At a glance

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

Hex
#cfaffd
Hue
265°
violet
Saturation
95%
electric
Lightness
84%
light
Brightness
99%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5102
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
11.20:1
Closest name
Plum
ΔE2000 9
Where it sits
Hue265° of 360°
Saturation95%
Lightness84%
Temperature
Warm ← → Cool70% 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#cfaffd
RGBrgb(207, 175, 253)
HSLhsl(265, 95%, 84%)
CMYKcmyk(18%, 31%, 0%, 1%)
LABlab(76.7 26.5 -34.4)
LCHlch(76.7 43.4 307.6)
OKLCHoklch(0.809 0.113 302.8)
Decimal13611005
Display P3color(display-p3 0.812 0.686 0.992)

Copy-ready code

/* CSS */
color: #cfaffd;
background-color: #cfaffd;
/* Tailwind (arbitrary) */
class="text-[#cfaffd] bg-[#cfaffd]"
/* SCSS */
$brand: #cfaffd;
/* SwiftUI */
Color(red: 0.812, green: 0.686, blue: 0.992)
/* Android */
Color.parseColor("#cfaffd")
/* Flutter */
Color(0xFFCFAFFD)
/* Python / OpenCV (BGR) */
(253, 175, 207)

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

Accessibility — WCAG contrast

Aa
#cfaffd on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#cfaffd on black: 11.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9FBDFF
deuteranopia · #A5BDFB
tritanopia · #C8BBCB

Color scale — 50 to 950

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

#F6F1FD
#EEE4FB
#cfaffd
#BD92FC
#9C5BFB
#7C24FA
#6506EF
#5505C7
#44049F
#340873
#200548
Base = 200Lightest = 50 · #F6F1FDDarkest = 950 · #200548
:root {
  --brand-50: #F6F1FD;
  --brand-100: #EEE4FB;
  --brand-200: #cfaffd;
  --brand-300: #BD92FC;
  --brand-400: #9C5BFB;
  --brand-500: #7C24FA;
  --brand-600: #6506EF;
  --brand-700: #5505C7;
  --brand-800: #44049F;
  --brand-900: #340873;
  --brand-950: #200548;
  --brand: #cfaffd;
  --brand-ink: #000000;
}

Colors that work with #cfaffd

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#D2C0ED
Hairlines and dividers
Muted text#6C4B9B
Captions on the surface
Accent#ACCC00
Second voice, not a rival
Dark variant#35037C
Hover, pressed, headers
Light variant#F0E6FE
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 #cfaffd

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#DDFDAF
Analogous left#AFB6FD
Analogous right#F6AFFD
Split-complement 1#FDF6AF
Split-complement 2#B6FDAF
Triadic 1#FDCFAF
Triadic 2#AFFDCF
Tetradic#FDAFB6

RGB percentages

Red81.2%
Green68.6%
Blue99.2%

CMYK percentages

Cyan18.2%
Magenta30.8%
Yellow0.0%
Key (black)0.8%

Color previews

#cfaffd text on a black background

contrast 11.20:1

Card sample

#cfaffd text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfaffd

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.

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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cfaffd, answered

What color is #cfaffd?

#cfaffd is a light electric violet, closest to Plum (ΔE2000 9). It sits at 265° on the hue wheel with 95% saturation and 84% lightness, which reads as cool.

What is the RGB value of #cfaffd?

rgb(207, 175, 253) — 207 red, 175 green and 253 blue out of 255, or 81.2% / 68.6% / 99.2% by channel.

Is #cfaffd a light or a dark color?

It is a light color. Relative luminance is 0.5102 and perceived brightness is 77%, so black text on it reaches 11.20:1.

Should I use black or white text on #cfaffd?

Black. It scores 11.20:1 against #cfaffd, versus 1.87:1 for white — AAA at any size.

What is the complementary color of #cfaffd?

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

What colors go well with #cfaffd?

For interface work: #F7F4FA as the surface, #D2C0ED for borders, #6C4B9B for secondary text, #ACCC00 as an accent and #35037C for hover and pressed states. For a palette, the analogous pair #AFB6FD and #F6AFFD stays calm, while #DDFDAF is the loudest partner.

What is #cfaffd in CMYK for printing?

cmyk(18%, 31%, 0%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cfaffd warm or cool?

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

Work with #cfaffd in the Color Lab