Skip to content

#cf7fea

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

RGB
207, 127, 234
HSL
285°, 72%, 71%
CMYK
12, 46, 0, 8
Luminance
0.3438

At a glance

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

Hex
#cf7fea
Hue
285°
violet
Saturation
72%
vivid
Lightness
71%
light
Brightness
92%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3438
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
7.88:1
Closest name
Orchid
ΔE2000 5.3
Where it sits
Hue285° of 360°
Saturation72%
Lightness71%
Temperature
Warm ← → Cool58% 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#cf7fea
RGBrgb(207, 127, 234)
HSLhsl(285, 72%, 71%)
CMYKcmyk(12%, 46%, 0%, 8%)
LABlab(65.3 48.4 -41.8)
LCHlch(65.3 63.9 319.2)
OKLCHoklch(0.721 0.170 317.1)
Decimal13598698
Display P3color(display-p3 0.812 0.498 0.918)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf7fea on white: 2.67:1
AA ✗ fail · AA-large · AAA
Aa
#cf7fea on black: 7.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6C99EE
deuteranopia · #82A1E7
tritanopia · #CE8EAA

Color scale — 50 to 950

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

#F9F3FC
#F4E7F8
#E8C9F3
#DB9FEF
#cf7fea
#B73EDF
#A623D2
#8A1DAF
#6F178C
#511566
#330D40
Base = 400Lightest = 50 · #F9F3FCDarkest = 950 · #330D40
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F4E7F8;
  --brand-200: #E8C9F3;
  --brand-300: #DB9FEF;
  --brand-400: #cf7fea;
  --brand-500: #B73EDF;
  --brand-600: #A623D2;
  --brand-700: #8A1DAF;
  --brand-800: #6F178C;
  --brand-900: #511566;
  --brand-950: #330D40;
  --brand: #cf7fea;
  --brand-ink: #000000;
}

Colors that work with #cf7fea

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#E1C0ED
Hairlines and dividers
Muted text#874B9B
Captions on the surface
Accent#67B319
Second voice, not a rival
Dark variant#56126E
Hover, pressed, headers
Light variant#F7E9FB
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 #cf7fea

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#9AEA7F
Analogous left#9A7FEA
Analogous right#EA7FCF
Split-complement 1#CFEA7F
Split-complement 2#7FEA9A
Triadic 1#EACF7F
Triadic 2#7FEACF
Tetradic#EA9A7F

RGB percentages

Red81.2%
Green49.8%
Blue91.8%

CMYK percentages

Cyan11.5%
Magenta45.7%
Yellow0.0%
Key (black)8.2%

Color previews

#cf7fea text on a black background

contrast 7.88:1

Card sample

#cf7fea text on a white background

contrast 2.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf7fea

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.

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

#cf7fea, answered

What color is #cf7fea?

#cf7fea is a light vivid violet, closest to Orchid (ΔE2000 5.3). It sits at 285° on the hue wheel with 72% saturation and 71% lightness, which reads as cool.

What is the RGB value of #cf7fea?

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

Is #cf7fea a light or a dark color?

It is a mid-tone. Relative luminance is 0.3438 and perceived brightness is 66%, so black text on it reaches 7.88:1.

Should I use black or white text on #cf7fea?

Black. It scores 7.88:1 against #cf7fea, versus 2.67:1 for white — AAA at any size.

What is the complementary color of #cf7fea?

#9AEA7F sits directly opposite on the wheel. Softer options are the split-complements #CFEA7F and #7FEA9A, which give the same contrast with far less vibration.

What colors go well with #cf7fea?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #874B9B for secondary text, #67B319 as an accent and #56126E for hover and pressed states. For a palette, the analogous pair #9A7FEA and #EA7FCF stays calm, while #9AEA7F is the loudest partner.

What is #cf7fea in CMYK for printing?

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

Is #cf7fea warm or cool?

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

Work with #cf7fea in the Color Lab