Skip to content

#cf93f3

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

RGB
207, 147, 243
HSL
278°, 80%, 77%
CMYK
15, 40, 0, 5
Luminance
0.4060

At a glance

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

Hex
#cf93f3
Hue
278°
violet
Saturation
80%
electric
Lightness
77%
light
Brightness
95%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4060
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
9.12:1
Closest name
Violet
ΔE2000 7
Where it sits
Hue278° of 360°
Saturation80%
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#cf93f3
RGBrgb(207, 147, 243)
HSLhsl(278, 80%, 77%)
CMYKcmyk(15%, 40%, 0%, 5%)
LABlab(69.9 39.6 -39.5)
LCHlch(69.9 55.9 315.1)
OKLCHoklch(0.756 0.147 312.0)
Decimal13603827
Display P3color(display-p3 0.812 0.576 0.953)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf93f3 on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#cf93f3 on black: 9.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #81A8F7
deuteranopia · #8FACF0
tritanopia · #CCA1B8

Color scale — 50 to 950

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

#F9F3FC
#F2E6F9
#E4C7F5
#cf93f3
#BC68EE
#A535E9
#9318DC
#7A14B8
#621093
#48106A
#2D0A42
Base = 300Lightest = 50 · #F9F3FCDarkest = 950 · #2D0A42
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F2E6F9;
  --brand-200: #E4C7F5;
  --brand-300: #cf93f3;
  --brand-400: #BC68EE;
  --brand-500: #A535E9;
  --brand-600: #9318DC;
  --brand-700: #7A14B8;
  --brand-800: #621093;
  --brand-900: #48106A;
  --brand-950: #2D0A42;
  --brand: #cf93f3;
  --brand-ink: #000000;
}

Colors that work with #cf93f3

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#DCC0ED
Hairlines and dividers
Muted text#7D4B9B
Captions on the surface
Accent#7CBB11
Second voice, not a rival
Dark variant#4D0D73
Hover, pressed, headers
Light variant#F5E8FC
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 #cf93f3

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#B7F393
Analogous left#9F93F3
Analogous right#F393E7
Split-complement 1#E7F393
Split-complement 2#93F39F
Triadic 1#F3CF93
Triadic 2#93F3CF
Tetradic#F39F93

RGB percentages

Red81.2%
Green57.6%
Blue95.3%

CMYK percentages

Cyan14.8%
Magenta39.5%
Yellow0.0%
Key (black)4.7%

Color previews

#cf93f3 text on a black background

contrast 9.12:1

Card sample

#cf93f3 text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf93f3

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.

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

#cf93f3, answered

What color is #cf93f3?

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

What is the RGB value of #cf93f3?

rgb(207, 147, 243) — 207 red, 147 green and 243 blue out of 255, or 81.2% / 57.6% / 95.3% by channel.

Is #cf93f3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4060 and perceived brightness is 70%, so black text on it reaches 9.12:1.

Should I use black or white text on #cf93f3?

Black. It scores 9.12:1 against #cf93f3, versus 2.30:1 for white — AAA at any size.

What is the complementary color of #cf93f3?

#B7F393 sits directly opposite on the wheel. Softer options are the split-complements #E7F393 and #93F39F, which give the same contrast with far less vibration.

What colors go well with #cf93f3?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7D4B9B for secondary text, #7CBB11 as an accent and #4D0D73 for hover and pressed states. For a palette, the analogous pair #9F93F3 and #F393E7 stays calm, while #B7F393 is the loudest partner.

What is #cf93f3 in CMYK for printing?

cmyk(15%, 40%, 0%, 5%). 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 #cf93f3 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 #F293F3; nudged cooler, #AB92F4.

Work with #cf93f3 in the Color Lab