Skip to content

#cb78fd

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

RGB
203, 120, 253
HSL
277°, 97%, 73%
CMYK
20, 53, 0, 1
Luminance
0.3322

At a glance

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

Hex
#cb78fd
Hue
277°
violet
Saturation
97%
electric
Lightness
73%
light
Brightness
99%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3322
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.64:1
Closest name
Orchid
ΔE2000 8
Where it sits
Hue277° of 360°
Saturation97%
Lightness73%
Temperature
Warm ← → Cool63% 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#cb78fd
RGBrgb(203, 120, 253)
HSLhsl(277, 97%, 73%)
CMYKcmyk(20%, 53%, 0%, 1%)
LABlab(64.3 54.8 -53.8)
LCHlch(64.3 76.8 315.6)
OKLCHoklch(0.716 0.200 311.2)
Decimal13334781
Display P3color(display-p3 0.796 0.471 0.992)

Copy-ready code

/* CSS */
color: #cb78fd;
background-color: #cb78fd;
/* Tailwind (arbitrary) */
class="text-[#cb78fd] bg-[#cb78fd]"
/* SCSS */
$brand: #cb78fd;
/* SwiftUI */
Color(red: 0.796, green: 0.471, blue: 0.992)
/* Android */
Color.parseColor("#cb78fd")
/* Flutter */
Color(0xFFCB78FD)
/* Python / OpenCV (BGR) */
(253, 120, 203)

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 #cb78fd · 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: #cb78fd as text scores 2.75:1 on white and 7.64:1 on black.

Accessibility — WCAG contrast

Aa
#cb78fd on white: 2.75:1
AA ✗ fail · AA-large · AAA
Aa
#cb78fd on black: 7.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5398FF
deuteranopia · #6E9EFA
tritanopia · #C58FAF

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cb78fd 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
#E5C1FB
#cb78fd
#BF59FD
#AA22FC
#9804F1
#7E03C9
#6502A1
#4B0774
#2F0448
Base = 300Lightest = 50 · #F9F1FDDarkest = 950 · #2F0448
:root {
  --brand-50: #F9F1FD;
  --brand-100: #F3E4FC;
  --brand-200: #E5C1FB;
  --brand-300: #cb78fd;
  --brand-400: #BF59FD;
  --brand-500: #AA22FC;
  --brand-600: #9804F1;
  --brand-700: #7E03C9;
  --brand-800: #6502A1;
  --brand-900: #4B0774;
  --brand-950: #2F0448;
  --brand: #cb78fd;
  --brand-ink: #000000;
}

Colors that work with #cb78fd

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#DCC0ED
Hairlines and dividers
Muted text#7D4B9B
Captions on the surface
Accent#80CC00
Second voice, not a rival
Dark variant#4F027E
Hover, pressed, headers
Light variant#F5E6FF
Selected rows, tints
Dark surface#1E1424
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 #cb78fd

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#AAFD78
Analogous left#8878FD
Analogous right#FD78ED
Split-complement 1#EDFD78
Split-complement 2#78FD88
Triadic 1#FDCB78
Triadic 2#78FDCB
Tetradic#FD8878

RGB percentages

Red79.6%
Green47.1%
Blue99.2%

CMYK percentages

Cyan19.8%
Magenta52.6%
Yellow0.0%
Key (black)0.8%

Color previews

#cb78fd text on a black background

contrast 7.64:1

Card sample

#cb78fd text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 120, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 120, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb78fd;
background: linear-gradient(135deg, #cb78fd, #FD78D6);

Monochromatic scale

Palettes built from #cb78fd

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.

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

#cb78fd, answered

What color is #cb78fd?

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

What is the RGB value of #cb78fd?

rgb(203, 120, 253) — 203 red, 120 green and 253 blue out of 255, or 79.6% / 47.1% / 99.2% by channel.

Is #cb78fd a light or a dark color?

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

Should I use black or white text on #cb78fd?

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

What is the complementary color of #cb78fd?

#AAFD78 sits directly opposite on the wheel. Softer options are the split-complements #EDFD78 and #78FD88, which give the same contrast with far less vibration.

What colors go well with #cb78fd?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7D4B9B for secondary text, #80CC00 as an accent and #4F027E for hover and pressed states. For a palette, the analogous pair #8878FD and #FD78ED stays calm, while #AAFD78 is the loudest partner.

What is #cb78fd in CMYK for printing?

cmyk(20%, 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 #cb78fd warm or cool?

Cool — it scores 63 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FC78FD; nudged cooler, #9976FE.

Work with #cb78fd in the Color Lab