Skip to content

#cf2bfc

a balanced, electric violet · neutral · closest name: Medium Orchid

RGB
207, 43, 252
HSL
287°, 97%, 58%
CMYK
18, 83, 0, 1
Luminance
0.2202

At a glance

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

Hex
#cf2bfc
Hue
287°
violet
Saturation
97%
electric
Lightness
58%
balanced
Brightness
99%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2202
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.40:1
Closest name
Medium Orchid
ΔE2000 6.7
Where it sits
Hue287° of 360°
Saturation97%
Lightness58%
Temperature
Warm ← → Cool57% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cf2bfc
RGBrgb(207, 43, 252)
HSLhsl(287, 97%, 58%)
CMYKcmyk(18%, 83%, 0%, 1%)
LABlab(54.0 85.3 -69.7)
LCHlch(54.0 110.2 320.8)
OKLCHoklch(0.642 0.289 317.2)
Decimal13577212
Display P3color(display-p3 0.812 0.169 0.988)

Copy-ready code

/* CSS */
color: #cf2bfc;
background-color: #cf2bfc;
/* Tailwind (arbitrary) */
class="text-[#cf2bfc] bg-[#cf2bfc]"
/* SCSS */
$brand: #cf2bfc;
/* SwiftUI */
Color(red: 0.812, green: 0.169, blue: 0.988)
/* Android */
Color.parseColor("#cf2bfc")
/* Flutter */
Color(0xFFCF2BFC)
/* Python / OpenCV (BGR) */
(252, 43, 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 #cf2bfc · 5.40:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.89:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.40:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #cf2bfc as text scores 3.89:1 on white and 5.40:1 on black.

Accessibility — WCAG contrast

Aa
#cf2bfc on white: 3.89:1
AA ✗ fail · AA-large · AAA
Aa
#cf2bfc on black: 5.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0078FF
deuteranopia · #2F86F8
tritanopia · #CD6098

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf2bfc is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF1FD
#F7E4FC
#EEC1FB
#E690FD
#D959FD
#cf2bfc
#BE03F1
#9F03C9
#7F02A1
#5C0674
#3A0448
Base = 500Lightest = 50 · #FBF1FDDarkest = 950 · #3A0448
:root {
  --brand-50: #FBF1FD;
  --brand-100: #F7E4FC;
  --brand-200: #EEC1FB;
  --brand-300: #E690FD;
  --brand-400: #D959FD;
  --brand-500: #cf2bfc;
  --brand-600: #BE03F1;
  --brand-700: #9F03C9;
  --brand-800: #7F02A1;
  --brand-900: #5C0674;
  --brand-950: #3A0448;
  --brand: #cf2bfc;
  --brand-ink: #000000;
}

Colors that work with #cf2bfc

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#F9F4FA
Tinted page background
Border#E3C0ED
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#5FCC00
Second voice, not a rival
Dark variant#63027E
Hover, pressed, headers
Light variant#F9E6FF
Selected rows, tints
Dark surface#211424
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 #cf2bfc

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#58FC2B
Analogous left#662BFC
Analogous right#FC2BC0
Split-complement 1#C0FC2B
Split-complement 2#2BFC66
Triadic 1#FCCF2B
Triadic 2#2BFCCF
Tetradic#FC662B

RGB percentages

Red81.2%
Green16.9%
Blue98.8%

CMYK percentages

Cyan17.9%
Magenta82.9%
Yellow0.0%
Key (black)1.2%

Color previews

#cf2bfc text on a black background

contrast 5.40:1

Card sample

#cf2bfc text on a white background

contrast 3.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2bfc

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.

#cf2bfc 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
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cf2bfc, answered

What color is #cf2bfc?

#cf2bfc is a balanced electric violet, closest to Medium Orchid (ΔE2000 6.7). It sits at 287° on the hue wheel with 97% saturation and 58% lightness, which reads as neutral.

What is the RGB value of #cf2bfc?

rgb(207, 43, 252) — 207 red, 43 green and 252 blue out of 255, or 81.2% / 16.9% / 98.8% by channel.

Is #cf2bfc a light or a dark color?

It is a mid-tone. Relative luminance is 0.2202 and perceived brightness is 57%, so black text on it reaches 5.40:1.

Should I use black or white text on #cf2bfc?

Black. It scores 5.40:1 against #cf2bfc, versus 3.89:1 for white — AA at any size.

What is the complementary color of #cf2bfc?

#58FC2B sits directly opposite on the wheel. Softer options are the split-complements #C0FC2B and #2BFC66, which give the same contrast with far less vibration.

What colors go well with #cf2bfc?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #5FCC00 as an accent and #63027E for hover and pressed states. For a palette, the analogous pair #662BFC and #FC2BC0 stays calm, while #58FC2B is the loudest partner.

What is #cf2bfc in CMYK for printing?

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

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FC2BDC; nudged cooler, #8229FE.

Work with #cf2bfc in the Color Lab