Skip to content

#cf64f8

a light, electric violet · cool · closest name: Medium Orchid

RGB
207, 100, 248
HSL
283°, 91%, 68%
CMYK
17, 60, 0, 3
Luminance
0.2916

At a glance

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

Hex
#cf64f8
Hue
283°
violet
Saturation
91%
electric
Lightness
68%
light
Brightness
97%
HSV value
Perceived
63%
weighted brightness
Luminance
0.2916
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
6.83:1
Closest name
Medium Orchid
ΔE2000 7.2
Where it sits
Hue283° of 360°
Saturation91%
Lightness68%
Temperature
Warm ← → Cool59% 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#cf64f8
RGBrgb(207, 100, 248)
HSLhsl(283, 91%, 68%)
CMYKcmyk(17%, 60%, 0%, 3%)
LABlab(60.9 64.5 -56.4)
LCHlch(60.9 85.7 318.8)
OKLCHoklch(0.691 0.226 315.5)
Decimal13591800
Display P3color(display-p3 0.812 0.392 0.973)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf64f8 on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#cf64f8 on black: 6.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #368DFD
deuteranopia · #6396F4
tritanopia · #CC7EA5

Color scale — 50 to 950

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

#FAF2FD
#F5E4FB
#EAC3F9
#DE94FA
#cf64f8
#BD28F5
#AC0BEA
#9009C3
#73079C
#540A71
#350646
Base = 400Lightest = 50 · #FAF2FDDarkest = 950 · #350646
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F5E4FB;
  --brand-200: #EAC3F9;
  --brand-300: #DE94FA;
  --brand-400: #cf64f8;
  --brand-500: #BD28F5;
  --brand-600: #AC0BEA;
  --brand-700: #9009C3;
  --brand-800: #73079C;
  --brand-900: #540A71;
  --brand-950: #350646;
  --brand: #cf64f8;
  --brand-ink: #000000;
}

Colors that work with #cf64f8

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#E0C0ED
Hairlines and dividers
Muted text#854B9B
Captions on the surface
Accent#6BC705
Second voice, not a rival
Dark variant#5A057A
Hover, pressed, headers
Light variant#F7E7FE
Selected rows, tints
Dark surface#201424
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 #cf64f8

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
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#8DF864
Analogous left#8564F8
Analogous right#F864D7
Split-complement 1#D7F864
Split-complement 2#64F885
Triadic 1#F8CF64
Triadic 2#64F8CF
Tetradic#F88564

RGB percentages

Red81.2%
Green39.2%
Blue97.3%

CMYK percentages

Cyan16.5%
Magenta59.7%
Yellow0.0%
Key (black)2.7%

Color previews

#cf64f8 text on a black background

contrast 6.83:1

Card sample

#cf64f8 text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf64f8

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.

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

#cf64f8, answered

What color is #cf64f8?

#cf64f8 is a light electric violet, closest to Medium Orchid (ΔE2000 7.2). It sits at 283° on the hue wheel with 91% saturation and 68% lightness, which reads as cool.

What is the RGB value of #cf64f8?

rgb(207, 100, 248) — 207 red, 100 green and 248 blue out of 255, or 81.2% / 39.2% / 97.3% by channel.

Is #cf64f8 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2916 and perceived brightness is 63%, so black text on it reaches 6.83:1.

Should I use black or white text on #cf64f8?

Black. It scores 6.83:1 against #cf64f8, versus 3.07:1 for white — AA at any size.

What is the complementary color of #cf64f8?

#8DF864 sits directly opposite on the wheel. Softer options are the split-complements #D7F864 and #64F885, which give the same contrast with far less vibration.

What colors go well with #cf64f8?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #854B9B for secondary text, #6BC705 as an accent and #5A057A for hover and pressed states. For a palette, the analogous pair #8564F8 and #F864D7 stays calm, while #8DF864 is the loudest partner.

What is #cf64f8 in CMYK for printing?

cmyk(17%, 60%, 0%, 3%). 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 #cf64f8 warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F864EB; nudged cooler, #9862FA.

Work with #cf64f8 in the Color Lab