Skip to content

#cfa8eb

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

RGB
207, 168, 235
HSL
275°, 63%, 79%
CMYK
12, 29, 0, 8
Luminance
0.4727

At a glance

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

Hex
#cfa8eb
Hue
275°
violet
Saturation
63%
vivid
Lightness
79%
light
Brightness
92%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4727
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
10.45:1
Closest name
Plum
ΔE2000 5.5
Where it sits
Hue275° of 360°
Saturation63%
Lightness79%
Temperature
Warm ← → Cool64% 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#cfa8eb
RGBrgb(207, 168, 235)
HSLhsl(275, 63%, 79%)
CMYKcmyk(12%, 29%, 0%, 8%)
LABlab(74.4 26.5 -28.2)
LCHlch(74.4 38.7 313.2)
OKLCHoklch(0.789 0.102 310.6)
Decimal13609195
Display P3color(display-p3 0.812 0.659 0.922)

Copy-ready code

/* CSS */
color: #cfa8eb;
background-color: #cfa8eb;
/* Tailwind (arbitrary) */
class="text-[#cfa8eb] bg-[#cfa8eb]"
/* SCSS */
$brand: #cfa8eb;
/* SwiftUI */
Color(red: 0.812, green: 0.659, blue: 0.922)
/* Android */
Color.parseColor("#cfa8eb")
/* Flutter */
Color(0xFFCFA8EB)
/* Python / OpenCV (BGR) */
(235, 168, 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 #cfa8eb · 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: #cfa8eb as text scores 2.01:1 on white and 10.45:1 on black.

Accessibility — WCAG contrast

Aa
#cfa8eb on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#cfa8eb on black: 10.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9DB5EE
deuteranopia · #A5B8E9
tritanopia · #CCB1C0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cfa8eb 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
#E1CCF0
#cfa8eb
#B376E0
#9A49D5
#872EC7
#7026A6
#5A1F85
#431A60
#2A103C
Base = 300Lightest = 50 · #F8F4FBDarkest = 950 · #2A103C
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F1E8F7;
  --brand-200: #E1CCF0;
  --brand-300: #cfa8eb;
  --brand-400: #B376E0;
  --brand-500: #9A49D5;
  --brand-600: #872EC7;
  --brand-700: #7026A6;
  --brand-800: #5A1F85;
  --brand-900: #431A60;
  --brand-950: #2A103C;
  --brand: #cfa8eb;
  --brand-ink: #000000;
}

Colors that work with #cfa8eb

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#DAC0ED
Hairlines and dividers
Muted text#794B9B
Captions on the surface
Accent#7CAA22
Second voice, not a rival
Dark variant#461868
Hover, pressed, headers
Light variant#F4EAFA
Selected rows, tints
Dark surface#1D1424
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 #cfa8eb

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#C4EBA8
Analogous left#ADA8EB
Analogous right#EBA8E5
Split-complement 1#E5EBA8
Split-complement 2#A8EBAD
Triadic 1#EBCFA8
Triadic 2#A8EBCF
Tetradic#EBADA8

RGB percentages

Red81.2%
Green65.9%
Blue92.2%

CMYK percentages

Cyan11.9%
Magenta28.5%
Yellow0.0%
Key (black)7.8%

Color previews

#cfa8eb text on a black background

contrast 10.45:1

Card sample

#cfa8eb text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfa8eb

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.

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

#cfa8eb, answered

What color is #cfa8eb?

#cfa8eb is a light vivid violet, closest to Plum (ΔE2000 5.5). It sits at 275° on the hue wheel with 63% saturation and 79% lightness, which reads as cool.

What is the RGB value of #cfa8eb?

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

Is #cfa8eb a light or a dark color?

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

Should I use black or white text on #cfa8eb?

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

What is the complementary color of #cfa8eb?

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

What colors go well with #cfa8eb?

For interface work: #F8F4FA as the surface, #DAC0ED for borders, #794B9B for secondary text, #7CAA22 as an accent and #461868 for hover and pressed states. For a palette, the analogous pair #ADA8EB and #EBA8E5 stays calm, while #C4EBA8 is the loudest partner.

What is #cfa8eb in CMYK for printing?

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

Is #cfa8eb warm or cool?

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

Work with #cfa8eb in the Color Lab