Skip to content

#cf4ff0

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

RGB
207, 79, 240
HSL
288°, 84%, 63%
CMYK
14, 67, 0, 6
Luminance
0.2515

At a glance

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

Hex
#cf4ff0
Hue
288°
violet
Saturation
84%
electric
Lightness
63%
balanced
Brightness
94%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2515
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
6.03:1
Closest name
Medium Orchid
ΔE2000 4.8
Where it sits
Hue288° of 360°
Saturation84%
Lightness63%
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#cf4ff0
RGBrgb(207, 79, 240)
HSLhsl(288, 84%, 63%)
CMYKcmyk(14%, 67%, 0%, 6%)
LABlab(57.2 71.9 -57.9)
LCHlch(57.2 92.3 321.2)
OKLCHoklch(0.663 0.246 318.7)
Decimal13586416
Display P3color(display-p3 0.812 0.310 0.941)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf4ff0 on white: 3.48:1
AA ✗ fail · AA-large · AAA
Aa
#cf4ff0 on black: 6.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0081F5
deuteranopia · #588EEC
tritanopia · #CF6D9A

Color scale — 50 to 950

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

#FAF2FC
#F6E6FA
#ECC5F6
#E398F6
#cf4ff0
#C730ED
#B713E2
#9910BC
#7A0D96
#590E6D
#380944
Base = 400Lightest = 50 · #FAF2FCDarkest = 950 · #380944
:root {
  --brand-50: #FAF2FC;
  --brand-100: #F6E6FA;
  --brand-200: #ECC5F6;
  --brand-300: #E398F6;
  --brand-400: #cf4ff0;
  --brand-500: #C730ED;
  --brand-600: #B713E2;
  --brand-700: #9910BC;
  --brand-800: #7A0D96;
  --brand-900: #590E6D;
  --brand-950: #380944;
  --brand: #cf4ff0;
  --brand-ink: #000000;
}

Colors that work with #cf4ff0

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#5EC00C
Second voice, not a rival
Dark variant#5F0A75
Hover, pressed, headers
Light variant#F9E8FD
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 #cf4ff0

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#70F04F
Analogous left#7E4FF0
Analogous right#F04FC0
Split-complement 1#C0F04F
Split-complement 2#4FF07E
Triadic 1#F0CF4F
Triadic 2#4FF0CF
Tetradic#F07E4F

RGB percentages

Red81.2%
Green31.0%
Blue94.1%

CMYK percentages

Cyan13.7%
Magenta67.1%
Yellow0.0%
Key (black)5.9%

Color previews

#cf4ff0 text on a black background

contrast 6.03:1

Card sample

#cf4ff0 text on a white background

contrast 3.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf4ff0

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.

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

#cf4ff0, answered

What color is #cf4ff0?

#cf4ff0 is a balanced electric violet, closest to Medium Orchid (ΔE2000 4.8). It sits at 288° on the hue wheel with 84% saturation and 63% lightness, which reads as neutral.

What is the RGB value of #cf4ff0?

rgb(207, 79, 240) — 207 red, 79 green and 240 blue out of 255, or 81.2% / 31% / 94.1% by channel.

Is #cf4ff0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2515 and perceived brightness is 60%, so black text on it reaches 6.03:1.

Should I use black or white text on #cf4ff0?

Black. It scores 6.03:1 against #cf4ff0, versus 3.48:1 for white — AA at any size.

What is the complementary color of #cf4ff0?

#70F04F sits directly opposite on the wheel. Softer options are the split-complements #C0F04F and #4FF07E, which give the same contrast with far less vibration.

What colors go well with #cf4ff0?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #5EC00C as an accent and #5F0A75 for hover and pressed states. For a palette, the analogous pair #7E4FF0 and #F04FC0 stays calm, while #70F04F is the loudest partner.

What is #cf4ff0 in CMYK for printing?

cmyk(14%, 67%, 0%, 6%). 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 #cf4ff0 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 #F04FD6; nudged cooler, #944DF2.

Work with #cf4ff0 in the Color Lab