Skip to content

#cd0fff

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

RGB
205, 15, 255
HSL
288°, 100%, 53%
CMYK
20, 94, 0, 0
Luminance
0.2054

At a glance

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

Hex
#cd0fff
Hue
288°
violet
Saturation
100%
electric
Lightness
53%
balanced
Brightness
100%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2054
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.11:1
Closest name
Medium Orchid
ΔE2000 7.8
Where it sits
Hue288° of 360°
Saturation100%
Lightness53%
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#cd0fff
RGBrgb(205, 15, 255)
HSLhsl(288, 100%, 53%)
CMYKcmyk(20%, 94%, 0%, 0%)
LABlab(52.5 90.0 -74.0)
LCHlch(52.5 116.5 320.6)
OKLCHoklch(0.631 0.304 316.5)
Decimal13438975
Display P3color(display-p3 0.804 0.059 1.000)

Copy-ready code

/* CSS */
color: #cd0fff;
background-color: #cd0fff;
/* Tailwind (arbitrary) */
class="text-[#cd0fff] bg-[#cd0fff]"
/* SCSS */
$brand: #cd0fff;
/* SwiftUI */
Color(red: 0.804, green: 0.059, blue: 1.000)
/* Android */
Color.parseColor("#cd0fff")
/* Flutter */
Color(0xFFCD0FFF)
/* Python / OpenCV (BGR) */
(255, 15, 205)

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

Accessibility — WCAG contrast

Aa
#cd0fff on white: 4.11:1
AA ✗ fail · AA-large · AAA
Aa
#cd0fff on black: 5.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0073FF
deuteranopia · #0182FB
tritanopia · #CA5B97

Color scale — 50 to 950

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

#FBF1FE
#F7E3FC
#EFC0FC
#E88FFF
#DC57FF
#cd0fff
#C200F5
#A200CC
#8100A3
#5E0576
#3B0349
Base = 500Lightest = 50 · #FBF1FEDarkest = 950 · #3B0349
:root {
  --brand-50: #FBF1FE;
  --brand-100: #F7E3FC;
  --brand-200: #EFC0FC;
  --brand-300: #E88FFF;
  --brand-400: #DC57FF;
  --brand-500: #cd0fff;
  --brand-600: #C200F5;
  --brand-700: #A200CC;
  --brand-800: #8100A3;
  --brand-900: #5E0576;
  --brand-950: #3B0349;
  --brand: #cd0fff;
  --brand-ink: #000000;
}

Colors that work with #cd0fff

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#5ECC00
Second voice, not a rival
Dark variant#650080
Hover, pressed, headers
Light variant#FAE5FF
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 #cd0fff

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#41FF0F
Analogous left#550FFF
Analogous right#FF0FB9
Split-complement 1#B9FF0F
Split-complement 2#0FFF55
Triadic 1#FFCD0F
Triadic 2#0FFFCD
Tetradic#FF550F

RGB percentages

Red80.4%
Green5.9%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta94.1%
Yellow0.0%
Key (black)0.0%

Color previews

#cd0fff text on a black background

contrast 5.11:1

Card sample

#cd0fff text on a white background

contrast 4.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 15, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 15, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd0fff;
background: linear-gradient(135deg, #cd0fff, #FF0F91);

Monochromatic scale

Palettes built from #cd0fff

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.

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

#cd0fff, answered

What color is #cd0fff?

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

What is the RGB value of #cd0fff?

rgb(205, 15, 255) — 205 red, 15 green and 255 blue out of 255, or 80.4% / 5.9% / 100% by channel.

Is #cd0fff a light or a dark color?

It is a mid-tone. Relative luminance is 0.2054 and perceived brightness is 56%, so black text on it reaches 5.11:1.

Should I use black or white text on #cd0fff?

Black. It scores 5.11:1 against #cd0fff, versus 4.11:1 for white — AA at any size.

What is the complementary color of #cd0fff?

#41FF0F sits directly opposite on the wheel. Softer options are the split-complements #B9FF0F and #0FFF55, which give the same contrast with far less vibration.

What colors go well with #cd0fff?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #5ECC00 as an accent and #650080 for hover and pressed states. For a palette, the analogous pair #550FFF and #FF0FB9 stays calm, while #41FF0F is the loudest partner.

What is #cd0fff in CMYK for printing?

cmyk(20%, 94%, 0%, 0%). 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 #cd0fff 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 #FF0FD9; nudged cooler, #750FFF.

Work with #cd0fff in the Color Lab