Skip to content

#cd79f7

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

RGB
205, 121, 247
HSL
280°, 89%, 72%
CMYK
17, 51, 0, 3
Luminance
0.3337

At a glance

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

Hex
#cd79f7
Hue
280°
violet
Saturation
89%
electric
Lightness
72%
light
Brightness
97%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3337
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.67:1
Closest name
Orchid
ΔE2000 6.9
Where it sits
Hue280° of 360°
Saturation89%
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#cd79f7
RGBrgb(205, 121, 247)
HSLhsl(280, 89%, 72%)
CMYKcmyk(17%, 51%, 0%, 3%)
LABlab(64.5 53.6 -50.3)
LCHlch(64.5 73.4 316.8)
OKLCHoklch(0.716 0.193 313.3)
Decimal13466103
Display P3color(display-p3 0.804 0.475 0.969)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd79f7 on white: 2.74:1
AA ✗ fail · AA-large · AAA
Aa
#cd79f7 on black: 7.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5B98FB
deuteranopia · #759EF4
tritanopia · #C98DAD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd79f7 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
#F3E5FB
#E7C4F8
#D795F9
#cd79f7
#B02BF2
#9F0EE7
#840CC0
#6A099A
#4E0B6F
#310745
Base = 400Lightest = 50 · #F9F2FDDarkest = 950 · #310745
:root {
  --brand-50: #F9F2FD;
  --brand-100: #F3E5FB;
  --brand-200: #E7C4F8;
  --brand-300: #D795F9;
  --brand-400: #cd79f7;
  --brand-500: #B02BF2;
  --brand-600: #9F0EE7;
  --brand-700: #840CC0;
  --brand-800: #6A099A;
  --brand-900: #4E0B6F;
  --brand-950: #310745;
  --brand: #cd79f7;
  --brand-ink: #000000;
}

Colors that work with #cd79f7

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#76C507
Second voice, not a rival
Dark variant#530778
Hover, pressed, headers
Light variant#F6E7FE
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 #cd79f7

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#A3F779
Analogous left#8E79F7
Analogous right#F779E2
Split-complement 1#E2F779
Split-complement 2#79F78E
Triadic 1#F7CD79
Triadic 2#79F7CD
Tetradic#F78E79

RGB percentages

Red80.4%
Green47.5%
Blue96.9%

CMYK percentages

Cyan17.0%
Magenta51.0%
Yellow0.0%
Key (black)3.1%

Color previews

#cd79f7 text on a black background

contrast 7.67:1

Card sample

#cd79f7 text on a white background

contrast 2.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd79f7

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.

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

#cd79f7, answered

What color is #cd79f7?

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

What is the RGB value of #cd79f7?

rgb(205, 121, 247) — 205 red, 121 green and 247 blue out of 255, or 80.4% / 47.5% / 96.9% by channel.

Is #cd79f7 a light or a dark color?

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

Should I use black or white text on #cd79f7?

Black. It scores 7.67:1 against #cd79f7, versus 2.74:1 for white — AAA at any size.

What is the complementary color of #cd79f7?

#A3F779 sits directly opposite on the wheel. Softer options are the split-complements #E2F779 and #79F78E, which give the same contrast with far less vibration.

What colors go well with #cd79f7?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #804B9B for secondary text, #76C507 as an accent and #530778 for hover and pressed states. For a palette, the analogous pair #8E79F7 and #F779E2 stays calm, while #A3F779 is the loudest partner.

What is #cd79f7 in CMYK for printing?

cmyk(17%, 51%, 0%, 3%). 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 #cd79f7 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 #F779F3; nudged cooler, #9E78F8.

Work with #cd79f7 in the Color Lab