Skip to content

#cf89fe

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

RGB
207, 137, 254
HSL
276°, 98%, 77%
CMYK
19, 46, 0, 0
Luminance
0.3831

At a glance

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

Hex
#cf89fe
Hue
276°
violet
Saturation
98%
electric
Lightness
77%
light
Brightness
100%
HSV value
Perceived
69%
weighted brightness
Luminance
0.3831
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.66:1
Closest name
Violet
ΔE2000 7.2
Where it sits
Hue276° of 360°
Saturation98%
Lightness77%
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#cf89fe
RGBrgb(207, 137, 254)
HSLhsl(276, 98%, 77%)
CMYKcmyk(19%, 46%, 0%, 0%)
LABlab(68.3 47.3 -48.1)
LCHlch(68.3 67.4 314.5)
OKLCHoklch(0.746 0.176 310.4)
Decimal13601278
Display P3color(display-p3 0.812 0.537 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf89fe on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#cf89fe on black: 8.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6EA3FF
deuteranopia · #81A8FB
tritanopia · #C99CB8

Color scale — 50 to 950

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

#F9F1FD
#F2E3FC
#E4C1FB
#cf89fe
#BB58FE
#A421FD
#9202F3
#7A02CA
#6101A2
#480675
#2D0449
Base = 300Lightest = 50 · #F9F1FDDarkest = 950 · #2D0449
:root {
  --brand-50: #F9F1FD;
  --brand-100: #F2E3FC;
  --brand-200: #E4C1FB;
  --brand-300: #cf89fe;
  --brand-400: #BB58FE;
  --brand-500: #A421FD;
  --brand-600: #9202F3;
  --brand-700: #7A02CA;
  --brand-800: #6101A2;
  --brand-900: #480675;
  --brand-950: #2D0449;
  --brand: #cf89fe;
  --brand-ink: #000000;
}

Colors that work with #cf89fe

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#86CC00
Second voice, not a rival
Dark variant#4C017E
Hover, pressed, headers
Light variant#F5E6FF
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 #cf89fe

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#B8FE89
Analogous left#9589FE
Analogous right#FE89F3
Split-complement 1#F3FE89
Split-complement 2#89FE95
Triadic 1#FECF89
Triadic 2#89FECF
Tetradic#FE9589

RGB percentages

Red81.2%
Green53.7%
Blue99.6%

CMYK percentages

Cyan18.5%
Magenta46.1%
Yellow0.0%
Key (black)0.4%

Color previews

#cf89fe text on a black background

contrast 8.66:1

Card sample

#cf89fe text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf89fe

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.

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

#cf89fe, answered

What color is #cf89fe?

#cf89fe is a light electric violet, closest to Violet (ΔE2000 7.2). It sits at 276° on the hue wheel with 98% saturation and 77% lightness, which reads as cool.

What is the RGB value of #cf89fe?

rgb(207, 137, 254) — 207 red, 137 green and 254 blue out of 255, or 81.2% / 53.7% / 99.6% by channel.

Is #cf89fe a light or a dark color?

It is a mid-tone. Relative luminance is 0.3831 and perceived brightness is 69%, so black text on it reaches 8.66:1.

Should I use black or white text on #cf89fe?

Black. It scores 8.66:1 against #cf89fe, versus 2.42:1 for white — AAA at any size.

What is the complementary color of #cf89fe?

#B8FE89 sits directly opposite on the wheel. Softer options are the split-complements #F3FE89 and #89FE95, which give the same contrast with far less vibration.

What colors go well with #cf89fe?

For interface work: #F8F4FA as the surface, #DBC0ED for borders, #7B4B9B for secondary text, #86CC00 as an accent and #4C017E for hover and pressed states. For a palette, the analogous pair #9589FE and #FE89F3 stays calm, while #B8FE89 is the loudest partner.

What is #cf89fe in CMYK for printing?

cmyk(19%, 46%, 0%, 0%). 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 #cf89fe 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 #FA89FE; nudged cooler, #A488FF.

Work with #cf89fe in the Color Lab