Skip to content

#cf9fea

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

RGB
207, 159, 234
HSL
278°, 64%, 77%
CMYK
12, 32, 0, 8
Luminance
0.4400

At a glance

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

Hex
#cf9fea
Hue
278°
violet
Saturation
64%
vivid
Lightness
77%
light
Brightness
92%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4400
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
9.80:1
Closest name
Plum
ΔE2000 5.1
Where it sits
Hue278° of 360°
Saturation64%
Lightness77%
Temperature
Warm ← → Cool62% 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#cf9fea
RGBrgb(207, 159, 234)
HSLhsl(278, 64%, 77%)
CMYKcmyk(12%, 32%, 0%, 8%)
LABlab(72.2 31.2 -31.0)
LCHlch(72.2 44.0 315.2)
OKLCHoklch(0.773 0.116 312.9)
Decimal13606890
Display P3color(display-p3 0.812 0.624 0.918)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf9fea on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#cf9fea on black: 9.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #93AEED
deuteranopia · #9EB2E8
tritanopia · #CDA9BA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf9fea 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
#F2E8F7
#E3CBF1
#cf9fea
#BA75E1
#A347D7
#902CC9
#7825A7
#601D86
#471961
#2D103D
Base = 300Lightest = 50 · #F8F4FBDarkest = 950 · #2D103D
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F2E8F7;
  --brand-200: #E3CBF1;
  --brand-300: #cf9fea;
  --brand-400: #BA75E1;
  --brand-500: #A347D7;
  --brand-600: #902CC9;
  --brand-700: #7825A7;
  --brand-800: #601D86;
  --brand-900: #471961;
  --brand-950: #2D103D;
  --brand: #cf9fea;
  --brand-ink: #000000;
}

Colors that work with #cf9fea

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#DCC0ED
Hairlines and dividers
Muted text#7E4B9B
Captions on the surface
Accent#75AB21
Second voice, not a rival
Dark variant#4B1769
Hover, pressed, headers
Light variant#F5EAFA
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 #cf9fea

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#BAEA9F
Analogous left#AA9FEA
Analogous right#EA9FE0
Split-complement 1#E0EA9F
Split-complement 2#9FEAAA
Triadic 1#EACF9F
Triadic 2#9FEACF
Tetradic#EAAA9F

RGB percentages

Red81.2%
Green62.4%
Blue91.8%

CMYK percentages

Cyan11.5%
Magenta32.1%
Yellow0.0%
Key (black)8.2%

Color previews

#cf9fea text on a black background

contrast 9.80:1

Card sample

#cf9fea text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf9fea

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.

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

#cf9fea, answered

What color is #cf9fea?

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

What is the RGB value of #cf9fea?

rgb(207, 159, 234) — 207 red, 159 green and 234 blue out of 255, or 81.2% / 62.4% / 91.8% by channel.

Is #cf9fea a light or a dark color?

It is a mid-tone. Relative luminance is 0.4400 and perceived brightness is 72%, so black text on it reaches 9.80:1.

Should I use black or white text on #cf9fea?

Black. It scores 9.80:1 against #cf9fea, versus 2.14:1 for white — AAA at any size.

What is the complementary color of #cf9fea?

#BAEA9F sits directly opposite on the wheel. Softer options are the split-complements #E0EA9F and #9FEAAA, which give the same contrast with far less vibration.

What colors go well with #cf9fea?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7E4B9B for secondary text, #75AB21 as an accent and #4B1769 for hover and pressed states. For a palette, the analogous pair #AA9FEA and #EA9FE0 stays calm, while #BAEA9F is the loudest partner.

What is #cf9fea in CMYK for printing?

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

Is #cf9fea warm or cool?

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

Work with #cf9fea in the Color Lab