Skip to content

#cd7cf5

a light, electric violet · cool · closest name: Orchid

RGB
205, 124, 245
HSL
280°, 86%, 72%
CMYK
16, 49, 0, 4
Luminance
0.3399

At a glance

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

Hex
#cd7cf5
Hue
280°
violet
Saturation
86%
electric
Lightness
72%
light
Brightness
96%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3399
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.80:1
Closest name
Orchid
ΔE2000 6.8
Where it sits
Hue280° of 360°
Saturation86%
Lightness72%
Temperature
Warm ← → Cool61% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cd7cf5
RGBrgb(205, 124, 245)
HSLhsl(280, 86%, 72%)
CMYKcmyk(16%, 49%, 0%, 4%)
LABlab(65.0 51.6 -48.4)
LCHlch(65.0 70.7 316.9)
OKLCHoklch(0.719 0.186 313.5)
Decimal13466869
Display P3color(display-p3 0.804 0.486 0.961)

Copy-ready code

/* CSS */
color: #cd7cf5;
background-color: #cd7cf5;
/* Tailwind (arbitrary) */
class="text-[#cd7cf5] bg-[#cd7cf5]"
/* SCSS */
$brand: #cd7cf5;
/* SwiftUI */
Color(red: 0.804, green: 0.486, blue: 0.961)
/* Android */
Color.parseColor("#cd7cf5")
/* Flutter */
Color(0xFFCD7CF5)
/* Python / OpenCV (BGR) */
(245, 124, 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 #cd7cf5 · 7.80:1
Use #000000AAA at every size.
Aa
White text · 2.69:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.80:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cd7cf5 as text scores 2.69:1 on white and 7.80:1 on black.

Accessibility — WCAG contrast

Aa
#cd7cf5 on white: 2.69:1
AA ✗ fail · AA-large · AAA
Aa
#cd7cf5 on black: 7.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6099F9
deuteranopia · #79A0F2
tritanopia · #CA8FAD

Color scale — 50 to 950

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

#F9F2FD
#F3E5FA
#E6C5F7
#D797F7
#cd7cf5
#B02FEF
#9E11E3
#840EBE
#690C98
#4E0D6E
#310844
Base = 400Lightest = 50 · #F9F2FDDarkest = 950 · #310844
:root {
  --brand-50: #F9F2FD;
  --brand-100: #F3E5FA;
  --brand-200: #E6C5F7;
  --brand-300: #D797F7;
  --brand-400: #cd7cf5;
  --brand-500: #B02FEF;
  --brand-600: #9E11E3;
  --brand-700: #840EBE;
  --brand-800: #690C98;
  --brand-900: #4E0D6E;
  --brand-950: #310844;
  --brand: #cd7cf5;
  --brand-ink: #000000;
}

Colors that work with #cd7cf5

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#F8F4FA
Tinted page background
Border#DEC0ED
Hairlines and dividers
Muted text#804B9B
Captions on the surface
Accent#75C20A
Second voice, not a rival
Dark variant#520976
Hover, pressed, headers
Light variant#F6E7FD
Selected rows, tints
Dark surface#1F1424
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 #cd7cf5

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#A4F57C
Analogous left#917CF5
Analogous right#F57CE0
Split-complement 1#E0F57C
Split-complement 2#7CF591
Triadic 1#F5CD7C
Triadic 2#7CF5CD
Tetradic#F5917C

RGB percentages

Red80.4%
Green48.6%
Blue96.1%

CMYK percentages

Cyan16.3%
Magenta49.4%
Yellow0.0%
Key (black)3.9%

Color previews

#cd7cf5 text on a black background

contrast 7.80:1

Card sample

#cd7cf5 text on a white background

contrast 2.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd7cf5

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.

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

#cd7cf5, answered

What color is #cd7cf5?

#cd7cf5 is a light electric violet, closest to Orchid (ΔE2000 6.8). It sits at 280° on the hue wheel with 86% saturation and 72% lightness, which reads as cool.

What is the RGB value of #cd7cf5?

rgb(205, 124, 245) — 205 red, 124 green and 245 blue out of 255, or 80.4% / 48.6% / 96.1% by channel.

Is #cd7cf5 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3399 and perceived brightness is 66%, so black text on it reaches 7.80:1.

Should I use black or white text on #cd7cf5?

Black. It scores 7.80:1 against #cd7cf5, versus 2.69:1 for white — AAA at any size.

What is the complementary color of #cd7cf5?

#A4F57C sits directly opposite on the wheel. Softer options are the split-complements #E0F57C and #7CF591, which give the same contrast with far less vibration.

What colors go well with #cd7cf5?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #804B9B for secondary text, #75C20A as an accent and #520976 for hover and pressed states. For a palette, the analogous pair #917CF5 and #F57CE0 stays calm, while #A4F57C is the loudest partner.

What is #cd7cf5 in CMYK for printing?

cmyk(16%, 49%, 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 #cd7cf5 warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F57CF1; nudged cooler, #A07BF6.

Work with #cd7cf5 in the Color Lab