Skip to content

#cd77fc

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

RGB
205, 119, 252
HSL
279°, 96%, 73%
CMYK
19, 53, 0, 1
Luminance
0.3320

At a glance

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

Hex
#cd77fc
Hue
279°
violet
Saturation
96%
electric
Lightness
73%
light
Brightness
99%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3320
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.64:1
Closest name
Orchid
ΔE2000 7.6
Where it sits
Hue279° of 360°
Saturation96%
Lightness73%
Temperature
Warm ← → Cool62% 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#cd77fc
RGBrgb(205, 119, 252)
HSLhsl(279, 96%, 73%)
CMYKcmyk(19%, 53%, 0%, 1%)
LABlab(64.3 55.6 -53.2)
LCHlch(64.3 77.0 316.3)
OKLCHoklch(0.716 0.201 312.2)
Decimal13465596
Display P3color(display-p3 0.804 0.467 0.988)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd77fc on white: 2.75:1
AA ✗ fail · AA-large · AAA
Aa
#cd77fc on black: 7.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5497FF
deuteranopia · #709EF9
tritanopia · #C88DAF

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd77fc is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F1FD
#F3E4FC
#E6C1FA
#cd77fc
#C25AFB
#AE23FA
#9D05F0
#8304C8
#6904A0
#4D0773
#300548
Base = 300Lightest = 50 · #F9F1FDDarkest = 950 · #300548
:root {
  --brand-50: #F9F1FD;
  --brand-100: #F3E4FC;
  --brand-200: #E6C1FA;
  --brand-300: #cd77fc;
  --brand-400: #C25AFB;
  --brand-500: #AE23FA;
  --brand-600: #9D05F0;
  --brand-700: #8304C8;
  --brand-800: #6904A0;
  --brand-900: #4D0773;
  --brand-950: #300548;
  --brand: #cd77fc;
  --brand-ink: #000000;
}

Colors that work with #cd77fc

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#DDC0ED
Hairlines and dividers
Muted text#7F4B9B
Captions on the surface
Accent#7BCC00
Second voice, not a rival
Dark variant#52037D
Hover, pressed, headers
Light variant#F6E6FE
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 #cd77fc

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#A6FC77
Analogous left#8A77FC
Analogous right#FC77E8
Split-complement 1#E8FC77
Split-complement 2#77FC8A
Triadic 1#FCCD77
Triadic 2#77FCCD
Tetradic#FC8A77

RGB percentages

Red80.4%
Green46.7%
Blue98.8%

CMYK percentages

Cyan18.7%
Magenta52.8%
Yellow0.0%
Key (black)1.2%

Color previews

#cd77fc text on a black background

contrast 7.64:1

Card sample

#cd77fc text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd77fc

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.

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

#cd77fc, answered

What color is #cd77fc?

#cd77fc is a light electric violet, closest to Orchid (ΔE2000 7.6). It sits at 279° on the hue wheel with 96% saturation and 73% lightness, which reads as cool.

What is the RGB value of #cd77fc?

rgb(205, 119, 252) — 205 red, 119 green and 252 blue out of 255, or 80.4% / 46.7% / 98.8% by channel.

Is #cd77fc a light or a dark color?

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

Should I use black or white text on #cd77fc?

Black. It scores 7.64:1 against #cd77fc, versus 2.75:1 for white — AAA at any size.

What is the complementary color of #cd77fc?

#A6FC77 sits directly opposite on the wheel. Softer options are the split-complements #E8FC77 and #77FC8A, which give the same contrast with far less vibration.

What colors go well with #cd77fc?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #7F4B9B for secondary text, #7BCC00 as an accent and #52037D for hover and pressed states. For a palette, the analogous pair #8A77FC and #FC77E8 stays calm, while #A6FC77 is the loudest partner.

What is #cd77fc in CMYK for printing?

cmyk(19%, 53%, 0%, 1%). 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 #cd77fc warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FC77FA; nudged cooler, #9B75FD.

Work with #cd77fc in the Color Lab