Skip to content

#ce02f0

a balanced, electric magenta / pink · neutral · closest name: Medium Orchid

RGB
206, 2, 240
HSL
291°, 98%, 48%
CMYK
14, 99, 0, 6
Luminance
0.1946

At a glance

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

Hex
#ce02f0
Hue
291°
magenta / pink
Saturation
98%
electric
Lightness
48%
balanced
Brightness
94%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1946
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.89:1
Closest name
Medium Orchid
ΔE2000 7.3
Where it sits
Hue291° of 360°
Saturation98%
Lightness48%
Temperature
Warm ← → Cool55% 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#ce02f0
RGBrgb(206, 2, 240)
HSLhsl(291, 98%, 48%)
CMYKcmyk(14%, 99%, 0%, 6%)
LABlab(51.2 88.7 -67.5)
LCHlch(51.2 111.5 322.7)
OKLCHoklch(0.620 0.297 320.1)
Decimal13501168
Display P3color(display-p3 0.808 0.008 0.941)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce02f0 on white: 4.29:1
AA ✗ fail · AA-large · AAA
Aa
#ce02f0 on black: 4.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006FF5
deuteranopia · #2F80EC
tritanopia · #CE508D

Color scale — 50 to 950

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

#FCF1FD
#F8E3FC
#F3C1FB
#EE90FE
#E658FE
#DD21FD
#ce02f0
#AE02CA
#8B01A2
#650675
#3F0449
Base = 600Lightest = 50 · #FCF1FDDarkest = 950 · #3F0449
:root {
  --brand-50: #FCF1FD;
  --brand-100: #F8E3FC;
  --brand-200: #F3C1FB;
  --brand-300: #EE90FE;
  --brand-400: #E658FE;
  --brand-500: #DD21FD;
  --brand-600: #ce02f0;
  --brand-700: #AE02CA;
  --brand-800: #8B01A2;
  --brand-900: #650675;
  --brand-950: #3F0449;
  --brand: #ce02f0;
  --brand-ink: #000000;
}

Colors that work with #ce02f0

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#FAF4FA
Tinted page background
Border#E6C0ED
Hairlines and dividers
Muted text#8F4B9B
Captions on the surface
Accent#50CC00
Second voice, not a rival
Dark variant#6C017E
Hover, pressed, headers
Light variant#FBE6FF
Selected rows, tints
Dark surface#221424
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 #ce02f0

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#24F002
Analogous left#5702F0
Analogous right#F0029B
Split-complement 1#9BF002
Split-complement 2#02F057
Triadic 1#F0CE02
Triadic 2#02F0CE
Tetradic#F05702

RGB percentages

Red80.8%
Green0.8%
Blue94.1%

CMYK percentages

Cyan14.2%
Magenta99.2%
Yellow0.0%
Key (black)5.9%

Color previews

#ce02f0 text on a black background

contrast 4.89:1

Card sample

#ce02f0 text on a white background

contrast 4.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce02f0

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.

#ce02f0 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ce02f0, answered

What color is #ce02f0?

#ce02f0 is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 7.3). It sits at 291° on the hue wheel with 98% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #ce02f0?

rgb(206, 2, 240) — 206 red, 2 green and 240 blue out of 255, or 80.8% / 0.8% / 94.1% by channel.

Is #ce02f0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1946 and perceived brightness is 54%, so black text on it reaches 4.89:1.

Should I use black or white text on #ce02f0?

Black. It scores 4.89:1 against #ce02f0, versus 4.29:1 for white — AA at any size.

What is the complementary color of #ce02f0?

#24F002 sits directly opposite on the wheel. Softer options are the split-complements #9BF002 and #02F057, which give the same contrast with far less vibration.

What colors go well with #ce02f0?

For interface work: #FAF4FA as the surface, #E6C0ED for borders, #8F4B9B for secondary text, #50CC00 as an accent and #6C017E for hover and pressed states. For a palette, the analogous pair #5702F0 and #F0029B stays calm, while #24F002 is the loudest partner.

What is #ce02f0 in CMYK for printing?

cmyk(14%, 99%, 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 #ce02f0 warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F002BB; nudged cooler, #7700F2.

Work with #ce02f0 in the Color Lab