Skip to content

#cb79fd

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

RGB
203, 121, 253
HSL
277°, 97%, 73%
CMYK
20, 52, 0, 1
Luminance
0.3346

At a glance

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

Hex
#cb79fd
Hue
277°
violet
Saturation
97%
electric
Lightness
73%
light
Brightness
99%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3346
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.69: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#cb79fd
RGBrgb(203, 121, 253)
HSLhsl(277, 97%, 73%)
CMYKcmyk(20%, 52%, 0%, 1%)
LABlab(64.5 54.3 -53.4)
LCHlch(64.5 76.2 315.5)
OKLCHoklch(0.717 0.198 311.0)
Decimal13335037
Display P3color(display-p3 0.796 0.475 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb79fd on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#cb79fd on black: 7.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5598FF
deuteranopia · #6F9EFA
tritanopia · #C58FB0

Color scale — 50 to 950

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

Colors that work with #cb79fd

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 #cb79fd

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#ABFD79
Analogous left#8979FD
Analogous right#FD79ED
Split-complement 1#EDFD79
Split-complement 2#79FD89
Triadic 1#FDCB79
Triadic 2#79FDCB
Tetradic#FD8979

RGB percentages

Red79.6%
Green47.5%
Blue99.2%

CMYK percentages

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

Color previews

#cb79fd text on a black background

contrast 7.69:1

Card sample

#cb79fd text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb79fd

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.

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

#cb79fd, answered

What color is #cb79fd?

#cb79fd 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 #cb79fd?

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

Is #cb79fd a light or a dark color?

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

Should I use black or white text on #cb79fd?

Black. It scores 7.69:1 against #cb79fd, versus 2.73:1 for white — AAA at any size.

What is the complementary color of #cb79fd?

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

What colors go well with #cb79fd?

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 #8979FD and #FD79ED stays calm, while #ABFD79 is the loudest partner.

What is #cb79fd in CMYK for printing?

cmyk(20%, 52%, 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 #cb79fd 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 #FB79FD; nudged cooler, #9A77FE.

Work with #cb79fd in the Color Lab