Skip to content

#cfa4fd

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

RGB
207, 164, 253
HSL
269°, 96%, 82%
CMYK
18, 35, 0, 1
Luminance
0.4691

At a glance

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

Hex
#cfa4fd
Hue
269°
violet
Saturation
96%
electric
Lightness
82%
light
Brightness
99%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4691
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
10.38:1
Closest name
Plum
ΔE2000 8.4
Where it sits
Hue269° of 360°
Saturation96%
Lightness82%
Temperature
Warm ← → Cool67% 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#cfa4fd
RGBrgb(207, 164, 253)
HSLhsl(269, 96%, 82%)
CMYKcmyk(18%, 35%, 0%, 1%)
LABlab(74.1 32.5 -38.3)
LCHlch(74.1 50.3 310.3)
OKLCHoklch(0.790 0.131 305.8)
Decimal13608189
Display P3color(display-p3 0.812 0.643 0.992)

Copy-ready code

/* CSS */
color: #cfa4fd;
background-color: #cfa4fd;
/* Tailwind (arbitrary) */
class="text-[#cfa4fd] bg-[#cfa4fd]"
/* SCSS */
$brand: #cfa4fd;
/* SwiftUI */
Color(red: 0.812, green: 0.643, blue: 0.992)
/* Android */
Color.parseColor("#cfa4fd")
/* Flutter */
Color(0xFFCFA4FD)
/* Python / OpenCV (BGR) */
(253, 164, 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 #cfa4fd · 10.38:1
Use #000000AAA at every size.
Aa
White text · 2.02:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.38:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cfa4fd as text scores 2.02:1 on white and 10.38:1 on black.

Accessibility — WCAG contrast

Aa
#cfa4fd on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#cfa4fd on black: 10.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #91B5FF
deuteranopia · #9AB7FA
tritanopia · #C8B1C5

Color scale — 50 to 950

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

#F7F1FD
#EFE4FC
#DDC1FA
#cfa4fd
#A85AFB
#8B23FA
#7605F0
#6304C8
#4F04A0
#3B0773
#250548
Base = 300Lightest = 50 · #F7F1FDDarkest = 950 · #250548
:root {
  --brand-50: #F7F1FD;
  --brand-100: #EFE4FC;
  --brand-200: #DDC1FA;
  --brand-300: #cfa4fd;
  --brand-400: #A85AFB;
  --brand-500: #8B23FA;
  --brand-600: #7605F0;
  --brand-700: #6304C8;
  --brand-800: #4F04A0;
  --brand-900: #3B0773;
  --brand-950: #250548;
  --brand: #cfa4fd;
  --brand-ink: #000000;
}

Colors that work with #cfa4fd

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#D5C0ED
Hairlines and dividers
Muted text#714B9B
Captions on the surface
Accent#9CCC00
Second voice, not a rival
Dark variant#3E037D
Hover, pressed, headers
Light variant#F2E6FE
Selected rows, tints
Dark surface#1C1424
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 #cfa4fd

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#D2FDA4
Analogous left#A4A6FD
Analogous right#FCA4FD
Split-complement 1#FDFCA4
Split-complement 2#A6FDA4
Triadic 1#FDCFA4
Triadic 2#A4FDCF
Tetradic#FDA4A6

RGB percentages

Red81.2%
Green64.3%
Blue99.2%

CMYK percentages

Cyan18.2%
Magenta35.2%
Yellow0.0%
Key (black)0.8%

Color previews

#cfa4fd text on a black background

contrast 10.38:1

Card sample

#cfa4fd text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfa4fd

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.

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

#cfa4fd, answered

What color is #cfa4fd?

#cfa4fd is a light electric violet, closest to Plum (ΔE2000 8.4). It sits at 269° on the hue wheel with 96% saturation and 82% lightness, which reads as cool.

What is the RGB value of #cfa4fd?

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

Is #cfa4fd a light or a dark color?

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

Should I use black or white text on #cfa4fd?

Black. It scores 10.38:1 against #cfa4fd, versus 2.02:1 for white — AAA at any size.

What is the complementary color of #cfa4fd?

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

What colors go well with #cfa4fd?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #714B9B for secondary text, #9CCC00 as an accent and #3E037D for hover and pressed states. For a palette, the analogous pair #A4A6FD and #FCA4FD stays calm, while #D2FDA4 is the loudest partner.

What is #cfa4fd in CMYK for printing?

cmyk(18%, 35%, 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 #cfa4fd warm or cool?

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

Work with #cfa4fd in the Color Lab