Skip to content

#cd5fee

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

RGB
205, 95, 238
HSL
286°, 81%, 65%
CMYK
14, 60, 0, 7
Luminance
0.2734

At a glance

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

Hex
#cd5fee
Hue
286°
violet
Saturation
81%
electric
Lightness
65%
light
Brightness
93%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2734
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
6.47:1
Closest name
Medium Orchid
ΔE2000 5.6
Where it sits
Hue286° of 360°
Saturation81%
Lightness65%
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#cd5fee
RGBrgb(205, 95, 238)
HSLhsl(286, 81%, 65%)
CMYKcmyk(14%, 60%, 0%, 7%)
LABlab(59.3 64.3 -53.5)
LCHlch(59.3 83.7 320.3)
OKLCHoklch(0.677 0.222 317.7)
Decimal13459438
Display P3color(display-p3 0.804 0.373 0.933)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd5fee on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#cd5fee on black: 6.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3788F2
deuteranopia · #6492EA
tritanopia · #CC779E

Color scale — 50 to 950

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

#FAF3FC
#F5E6F9
#EBC6F5
#DF9AF4
#cd5fee
#C034E9
#B018DD
#9314B8
#751094
#56106B
#360A43
Base = 400Lightest = 50 · #FAF3FCDarkest = 950 · #360A43
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F5E6F9;
  --brand-200: #EBC6F5;
  --brand-300: #DF9AF4;
  --brand-400: #cd5fee;
  --brand-500: #C034E9;
  --brand-600: #B018DD;
  --brand-700: #9314B8;
  --brand-800: #751094;
  --brand-900: #56106B;
  --brand-950: #360A43;
  --brand: #cd5fee;
  --brand-ink: #000000;
}

Colors that work with #cd5fee

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#63BD0F
Second voice, not a rival
Dark variant#5C0C73
Hover, pressed, headers
Light variant#F8E8FD
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 #cd5fee

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
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • 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#80EE5F
Analogous left#865FEE
Analogous right#EE5FC7
Split-complement 1#C7EE5F
Split-complement 2#5FEE86
Triadic 1#EECD5F
Triadic 2#5FEECD
Tetradic#EE865F

RGB percentages

Red80.4%
Green37.3%
Blue93.3%

CMYK percentages

Cyan13.9%
Magenta60.1%
Yellow0.0%
Key (black)6.7%

Color previews

#cd5fee text on a black background

contrast 6.47:1

Card sample

#cd5fee text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd5fee

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.

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

#cd5fee, answered

What color is #cd5fee?

#cd5fee is a light electric violet, closest to Medium Orchid (ΔE2000 5.6). It sits at 286° on the hue wheel with 81% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #cd5fee?

rgb(205, 95, 238) — 205 red, 95 green and 238 blue out of 255, or 80.4% / 37.3% / 93.3% by channel.

Is #cd5fee a light or a dark color?

It is a mid-tone. Relative luminance is 0.2734 and perceived brightness is 61%, so black text on it reaches 6.47:1.

Should I use black or white text on #cd5fee?

Black. It scores 6.47:1 against #cd5fee, versus 3.25:1 for white — AA at any size.

What is the complementary color of #cd5fee?

#80EE5F sits directly opposite on the wheel. Softer options are the split-complements #C7EE5F and #5FEE86, which give the same contrast with far less vibration.

What colors go well with #cd5fee?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #884B9B for secondary text, #63BD0F as an accent and #5C0C73 for hover and pressed states. For a palette, the analogous pair #865FEE and #EE5FC7 stays calm, while #80EE5F is the loudest partner.

What is #cd5fee in CMYK for printing?

cmyk(14%, 60%, 0%, 7%). 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 #cd5fee 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 #EE5FDA; nudged cooler, #985DF0.

Work with #cd5fee in the Color Lab