#cd64eb
a light, electric violet · neutral · closest name: Medium Orchid
At a glance
Every number on this page in one read: what #cd64eb is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #cd64eb |
| RGB | rgb(205, 100, 235) |
| HSL | hsl(287, 77%, 66%) |
| CMYK | cmyk(13%, 57%, 0%, 8%) |
| LAB | lab(60.0 61.4 -50.7) |
| LCH | lch(60.0 79.7 320.5) |
| OKLCH | oklch(0.681 0.212 318.2) |
| Decimal | 13460715 |
| Display P3 | color(display-p3 0.804 0.392 0.922) |
Copy-ready code
/* CSS */
color: #cd64eb;
background-color: #cd64eb;
/* Tailwind (arbitrary) */
class="text-[#cd64eb] bg-[#cd64eb]"
/* SCSS */
$brand: #cd64eb;
/* SwiftUI */
Color(red: 0.804, green: 0.392, blue: 0.922)
/* Android */
Color.parseColor("#cd64eb")
/* Flutter */
Color(0xFFCD64EB)
/* Python / OpenCV (BGR) */
(235, 100, 205)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #cd64eb 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.
:root {
--brand-50: #FAF3FC;
--brand-100: #F5E6F9;
--brand-200: #EAC7F4;
--brand-300: #DF9CF2;
--brand-400: #cd64eb;
--brand-500: #BF38E5;
--brand-600: #AF1CD9;
--brand-700: #9217B5;
--brand-800: #751391;
--brand-900: #551269;
--brand-950: #350B41;
--brand: #cd64eb;
--brand-ink: #000000;
}Colors that work with #cd64eb
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #cd64eb
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓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
- ⚠Small text on white — under 4.5:1
- ⚠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 | #82EB64 | Directly opposite — maximum tension | |
| Analogous left | #8A64EB | Neighbour, quieter | |
| Analogous right | #EB64C5 | Neighbour, quieter | |
| Split-complement 1 | #C5EB64 | Contrast without the clash | |
| Split-complement 2 | #64EB8A | Contrast without the clash | |
| Triadic 1 | #EBCD64 | Even thirds — balanced and loud | |
| Triadic 2 | #64EBCD | Even thirds — balanced and loud | |
| Tetradic | #EB8A64 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cd64eb text on a black background
contrast 6.62:1
#cd64eb text on a white background
contrast 3.17:1
CSS3 live lab
The quick brown fox
color: #cd64eb;
background-color: #cd64eb;
Glowing headline
text-shadow: 2px 2px 8px #cd64eb;
Soft neon halo
text-shadow: 0 0 14px rgba(205, 100, 235, 0.45);
box-shadow: 0 12px 32px -8px rgba(205, 100, 235, 0.45);
border: 3px solid #cd64eb; background: linear-gradient(135deg, #cd64eb, #EB64AF);
Monochromatic scale
Palettes built from #cd64eb
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.
Closest color with a full write-up: Orchid (#da70d6) — ΔE2000 6.1 away, with its history, psychology and brand usage.
#cd64eb in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#cd64eb, answered
What color is #cd64eb?
#cd64eb is a light electric violet, closest to Medium Orchid (ΔE2000 5.9). It sits at 287° on the hue wheel with 77% saturation and 66% lightness, which reads as neutral.
What is the RGB value of #cd64eb?
rgb(205, 100, 235) — 205 red, 100 green and 235 blue out of 255, or 80.4% / 39.2% / 92.2% by channel.
Is #cd64eb a light or a dark color?
It is a mid-tone. Relative luminance is 0.2809 and perceived brightness is 62%, so black text on it reaches 6.62:1.
Should I use black or white text on #cd64eb?
Black. It scores 6.62:1 against #cd64eb, versus 3.17:1 for white — AA at any size.
What is the complementary color of #cd64eb?
#82EB64 sits directly opposite on the wheel. Softer options are the split-complements #C5EB64 and #64EB8A, which give the same contrast with far less vibration.
What colors go well with #cd64eb?
For interface work: #F9F4FA as the surface, #E3C0ED for borders, #894B9B for secondary text, #62B814 as an accent and #5B0F71 for hover and pressed states. For a palette, the analogous pair #8A64EB and #EB64C5 stays calm, while #82EB64 is the loudest partner.
What is #cd64eb in CMYK for printing?
cmyk(13%, 57%, 0%, 8%). 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 #cd64eb 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 #EB64D7; nudged cooler, #9B62ED.