Skip to content

#ce7ffc

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

RGB
206, 127, 252
HSL
278°, 95%, 74%
CMYK
18, 50, 0, 1
Luminance
0.3533

At a glance

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

Hex
#ce7ffc
Hue
278°
violet
Saturation
95%
electric
Lightness
74%
light
Brightness
99%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3533
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.07:1
Closest name
Violet
ΔE2000 7.3
Where it sits
Hue278° of 360°
Saturation95%
Lightness74%
Temperature
Warm ← → Cool62% 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#ce7ffc
RGBrgb(206, 127, 252)
HSLhsl(278, 95%, 74%)
CMYKcmyk(18%, 50%, 0%, 1%)
LABlab(66.0 51.8 -50.5)
LCHlch(66.0 72.4 315.7)
OKLCHoklch(0.729 0.189 311.7)
Decimal13533180
Display P3color(display-p3 0.808 0.498 0.988)

Copy-ready code

/* CSS */
color: #ce7ffc;
background-color: #ce7ffc;
/* Tailwind (arbitrary) */
class="text-[#ce7ffc] bg-[#ce7ffc]"
/* SCSS */
$brand: #ce7ffc;
/* SwiftUI */
Color(red: 0.808, green: 0.498, blue: 0.988)
/* Android */
Color.parseColor("#ce7ffc")
/* Flutter */
Color(0xFFCE7FFC)
/* Python / OpenCV (BGR) */
(252, 127, 206)

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 #ce7ffc · 8.07:1
Use #000000AAA at every size.
Aa
White text · 2.60:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.07:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ce7ffc as text scores 2.60:1 on white and 8.07:1 on black.

Accessibility — WCAG contrast

Aa
#ce7ffc on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#ce7ffc on black: 8.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #609CFF
deuteranopia · #78A2F9
tritanopia · #C993B2

Color scale — 50 to 950

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

#F9F1FD
#F3E4FC
#E5C2FA
#ce7ffc
#C05BFB
#AB24FA
#9906EF
#8005C7
#66049F
#4B0773
#2F0548
Base = 300Lightest = 50 · #F9F1FDDarkest = 950 · #2F0548
:root {
  --brand-50: #F9F1FD;
  --brand-100: #F3E4FC;
  --brand-200: #E5C2FA;
  --brand-300: #ce7ffc;
  --brand-400: #C05BFB;
  --brand-500: #AB24FA;
  --brand-600: #9906EF;
  --brand-700: #8005C7;
  --brand-800: #66049F;
  --brand-900: #4B0773;
  --brand-950: #2F0548;
  --brand: #ce7ffc;
  --brand-ink: #000000;
}

Colors that work with #ce7ffc

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#7ECC00
Second voice, not a rival
Dark variant#50037D
Hover, pressed, headers
Light variant#F5E6FE
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 #ce7ffc

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#ADFC7F
Analogous left#8F7FFC
Analogous right#FC7FEC
Split-complement 1#ECFC7F
Split-complement 2#7FFC8F
Triadic 1#FCCE7F
Triadic 2#7FFCCE
Tetradic#FC8F7F

RGB percentages

Red80.8%
Green49.8%
Blue98.8%

CMYK percentages

Cyan18.3%
Magenta49.6%
Yellow0.0%
Key (black)1.2%

Color previews

#ce7ffc text on a black background

contrast 8.07:1

Card sample

#ce7ffc text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce7ffc

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.

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

#ce7ffc, answered

What color is #ce7ffc?

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

What is the RGB value of #ce7ffc?

rgb(206, 127, 252) — 206 red, 127 green and 252 blue out of 255, or 80.8% / 49.8% / 98.8% by channel.

Is #ce7ffc a light or a dark color?

It is a mid-tone. Relative luminance is 0.3533 and perceived brightness is 67%, so black text on it reaches 8.07:1.

Should I use black or white text on #ce7ffc?

Black. It scores 8.07:1 against #ce7ffc, versus 2.60:1 for white — AAA at any size.

What is the complementary color of #ce7ffc?

#ADFC7F sits directly opposite on the wheel. Softer options are the split-complements #ECFC7F and #7FFC8F, which give the same contrast with far less vibration.

What colors go well with #ce7ffc?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7D4B9B for secondary text, #7ECC00 as an accent and #50037D for hover and pressed states. For a palette, the analogous pair #8F7FFC and #FC7FEC stays calm, while #ADFC7F is the loudest partner.

What is #ce7ffc in CMYK for printing?

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

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FC7FFC; nudged cooler, #9F7EFD.

Work with #ce7ffc in the Color Lab