Skip to content

#cfa5eb

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

RGB
207, 165, 235
HSL
276°, 64%, 78%
CMYK
12, 30, 0, 8
Luminance
0.4617

At a glance

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

Hex
#cfa5eb
Hue
276°
violet
Saturation
64%
vivid
Lightness
78%
light
Brightness
92%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4617
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
10.23:1
Closest name
Plum
ΔE2000 5.3
Where it sits
Hue276° of 360°
Saturation64%
Lightness78%
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#cfa5eb
RGBrgb(207, 165, 235)
HSLhsl(276, 64%, 78%)
CMYKcmyk(12%, 30%, 0%, 8%)
LABlab(73.7 28.1 -29.3)
LCHlch(73.7 40.6 313.8)
OKLCHoklch(0.784 0.107 311.3)
Decimal13608427
Display P3color(display-p3 0.812 0.647 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfa5eb on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#cfa5eb on black: 10.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9AB3EE
deuteranopia · #A2B6E9
tritanopia · #CCAEBE

Color scale — 50 to 950

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

#F8F4FB
#F1E8F7
#E2CBF0
#cfa5eb
#B675E0
#9D47D6
#8A2DC8
#7325A7
#5C1E85
#441961
#2B103D
Base = 300Lightest = 50 · #F8F4FBDarkest = 950 · #2B103D
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F1E8F7;
  --brand-200: #E2CBF0;
  --brand-300: #cfa5eb;
  --brand-400: #B675E0;
  --brand-500: #9D47D6;
  --brand-600: #8A2DC8;
  --brand-700: #7325A7;
  --brand-800: #5C1E85;
  --brand-900: #441961;
  --brand-950: #2B103D;
  --brand: #cfa5eb;
  --brand-ink: #000000;
}

Colors that work with #cfa5eb

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#F8F4FA
Tinted page background
Border#DBC0ED
Hairlines and dividers
Muted text#7B4B9B
Captions on the surface
Accent#7AAB21
Second voice, not a rival
Dark variant#481768
Hover, pressed, headers
Light variant#F4EAFA
Selected rows, tints
Dark surface#1E1424
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 #cfa5eb

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#C1EBA5
Analogous left#ACA5EB
Analogous right#EBA5E4
Split-complement 1#E4EBA5
Split-complement 2#A5EBAC
Triadic 1#EBCFA5
Triadic 2#A5EBCF
Tetradic#EBACA5

RGB percentages

Red81.2%
Green64.7%
Blue92.2%

CMYK percentages

Cyan11.9%
Magenta29.8%
Yellow0.0%
Key (black)7.8%

Color previews

#cfa5eb text on a black background

contrast 10.23:1

Card sample

#cfa5eb text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfa5eb

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.

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

#cfa5eb, answered

What color is #cfa5eb?

#cfa5eb is a light vivid violet, closest to Plum (ΔE2000 5.3). It sits at 276° on the hue wheel with 64% saturation and 78% lightness, which reads as cool.

What is the RGB value of #cfa5eb?

rgb(207, 165, 235) — 207 red, 165 green and 235 blue out of 255, or 81.2% / 64.7% / 92.2% by channel.

Is #cfa5eb a light or a dark color?

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

Should I use black or white text on #cfa5eb?

Black. It scores 10.23:1 against #cfa5eb, versus 2.05:1 for white — AAA at any size.

What is the complementary color of #cfa5eb?

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

What colors go well with #cfa5eb?

For interface work: #F8F4FA as the surface, #DBC0ED for borders, #7B4B9B for secondary text, #7AAB21 as an accent and #481768 for hover and pressed states. For a palette, the analogous pair #ACA5EB and #EBA5E4 stays calm, while #C1EBA5 is the loudest partner.

What is #cfa5eb in CMYK for printing?

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

Is #cfa5eb 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 #E9A5EB; nudged cooler, #B5A4EC.

Work with #cfa5eb in the Color Lab