Skip to content

#cd4ff4

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

RGB
205, 79, 244
HSL
286°, 88%, 63%
CMYK
16, 68, 0, 4
Luminance
0.2510

At a glance

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

Hex
#cd4ff4
Hue
286°
violet
Saturation
88%
electric
Lightness
63%
balanced
Brightness
96%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2510
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
6.02:1
Closest name
Medium Orchid
ΔE2000 5.1
Where it sits
Hue286° of 360°
Saturation88%
Lightness63%
Temperature
Warm ← → Cool58% 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#cd4ff4
RGBrgb(205, 79, 244)
HSLhsl(286, 88%, 63%)
CMYKcmyk(16%, 68%, 0%, 4%)
LABlab(57.2 72.3 -60.2)
LCHlch(57.2 94.0 320.2)
OKLCHoklch(0.662 0.248 317.1)
Decimal13455348
Display P3color(display-p3 0.804 0.310 0.957)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd4ff4 on white: 3.49:1
AA ✗ fail · AA-large · AAA
Aa
#cd4ff4 on black: 6.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0081F9
deuteranopia · #528DF0
tritanopia · #CB6F9C

Color scale — 50 to 950

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

#FAF2FD
#F5E5FA
#ECC4F8
#E195F8
#cd4ff4
#C32CF2
#B30EE6
#950CC0
#780A9A
#570C6F
#370745
Base = 400Lightest = 50 · #FAF2FDDarkest = 950 · #370745
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F5E5FA;
  --brand-200: #ECC4F8;
  --brand-300: #E195F8;
  --brand-400: #cd4ff4;
  --brand-500: #C32CF2;
  --brand-600: #B30EE6;
  --brand-700: #950CC0;
  --brand-800: #780A9A;
  --brand-900: #570C6F;
  --brand-950: #370745;
  --brand: #cd4ff4;
  --brand-ink: #000000;
}

Colors that work with #cd4ff4

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#E2C0ED
Hairlines and dividers
Muted text#884B9B
Captions on the surface
Accent#63C408
Second voice, not a rival
Dark variant#5D0878
Hover, pressed, headers
Light variant#F8E7FD
Selected rows, tints
Dark surface#201424
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 #cd4ff4

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#76F44F
Analogous left#7A4FF4
Analogous right#F44FC8
Split-complement 1#C8F44F
Split-complement 2#4FF47A
Triadic 1#F4CD4F
Triadic 2#4FF4CD
Tetradic#F47A4F

RGB percentages

Red80.4%
Green31.0%
Blue95.7%

CMYK percentages

Cyan16.0%
Magenta67.6%
Yellow0.0%
Key (black)4.3%

Color previews

#cd4ff4 text on a black background

contrast 6.02:1

Card sample

#cd4ff4 text on a white background

contrast 3.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd4ff4

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.

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

#cd4ff4, answered

What color is #cd4ff4?

#cd4ff4 is a balanced electric violet, closest to Medium Orchid (ΔE2000 5.1). It sits at 286° on the hue wheel with 88% saturation and 63% lightness, which reads as neutral.

What is the RGB value of #cd4ff4?

rgb(205, 79, 244) — 205 red, 79 green and 244 blue out of 255, or 80.4% / 31% / 95.7% by channel.

Is #cd4ff4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2510 and perceived brightness is 59%, so black text on it reaches 6.02:1.

Should I use black or white text on #cd4ff4?

Black. It scores 6.02:1 against #cd4ff4, versus 3.49:1 for white — AA at any size.

What is the complementary color of #cd4ff4?

#76F44F sits directly opposite on the wheel. Softer options are the split-complements #C8F44F and #4FF47A, which give the same contrast with far less vibration.

What colors go well with #cd4ff4?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #884B9B for secondary text, #63C408 as an accent and #5D0878 for hover and pressed states. For a palette, the analogous pair #7A4FF4 and #F44FC8 stays calm, while #76F44F is the loudest partner.

What is #cd4ff4 in CMYK for printing?

cmyk(16%, 68%, 0%, 4%). 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 #cd4ff4 warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F44FDE; nudged cooler, #904DF6.

Work with #cd4ff4 in the Color Lab