Skip to content

#c079fc

a light, electric violet · cool · closest name: Medium Purple

RGB
192, 121, 252
HSL
273°, 96%, 73%
CMYK
24, 52, 0, 1
Luminance
0.3191

At a glance

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

Hex
#c079fc
Hue
273°
violet
Saturation
96%
electric
Lightness
73%
light
Brightness
99%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3191
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.38:1
Closest name
Medium Purple
ΔE2000 9.1
Where it sits
Hue273° of 360°
Saturation96%
Lightness73%
Temperature
Warm ← → Cool65% 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#c079fc
RGBrgb(192, 121, 252)
HSLhsl(273, 96%, 73%)
CMYKcmyk(24%, 52%, 0%, 1%)
LABlab(63.3 51.3 -55.0)
LCHlch(63.3 75.2 313.0)
OKLCHoklch(0.705 0.194 307.2)
Decimal12614140
Display P3color(display-p3 0.753 0.475 0.988)

Copy-ready code

/* CSS */
color: #c079fc;
background-color: #c079fc;
/* Tailwind (arbitrary) */
class="text-[#c079fc] bg-[#c079fc]"
/* SCSS */
$brand: #c079fc;
/* SwiftUI */
Color(red: 0.753, green: 0.475, blue: 0.988)
/* Android */
Color.parseColor("#c079fc")
/* Flutter */
Color(0xFFC079FC)
/* Python / OpenCV (BGR) */
(252, 121, 192)

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 #c079fc · 7.38:1
Use #000000AAA at every size.
Aa
White text · 2.84:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.38:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #c079fc as text scores 2.84:1 on white and 7.38:1 on black.

Accessibility — WCAG contrast

Aa
#c079fc on white: 2.84:1
AA ✗ fail · AA-large · AAA
Aa
#c079fc on black: 7.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5197FF
deuteranopia · #679AF9
tritanopia · #B790AF

Color scale — 50 to 950

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

#F8F1FD
#F1E4FC
#E0C1FA
#c079fc
#B25AFB
#9824FA
#8405EF
#6E04C8
#5804A0
#420773
#290548
Base = 300Lightest = 50 · #F8F1FDDarkest = 950 · #290548
:root {
  --brand-50: #F8F1FD;
  --brand-100: #F1E4FC;
  --brand-200: #E0C1FA;
  --brand-300: #c079fc;
  --brand-400: #B25AFB;
  --brand-500: #9824FA;
  --brand-600: #8405EF;
  --brand-700: #6E04C8;
  --brand-800: #5804A0;
  --brand-900: #420773;
  --brand-950: #290548;
  --brand: #c079fc;
  --brand-ink: #000000;
}

Colors that work with #c079fc

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#D8C0ED
Hairlines and dividers
Muted text#764B9B
Captions on the surface
Accent#91CC00
Second voice, not a rival
Dark variant#45037D
Hover, pressed, headers
Light variant#F3E6FE
Selected rows, tints
Dark surface#1D1424
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 #c079fc

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#B5FC79
Analogous left#7E79FC
Analogous right#FC79F7
Split-complement 1#F7FC79
Split-complement 2#79FC7E
Triadic 1#FCC079
Triadic 2#79FCC0
Tetradic#FC7E79

RGB percentages

Red75.3%
Green47.5%
Blue98.8%

CMYK percentages

Cyan23.8%
Magenta52.0%
Yellow0.0%
Key (black)1.2%

Color previews

#c079fc text on a black background

contrast 7.38:1

Card sample

#c079fc text on a white background

contrast 2.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c079fc

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.

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

#c079fc, answered

What color is #c079fc?

#c079fc is a light electric violet, closest to Medium Purple (ΔE2000 9.1). It sits at 273° on the hue wheel with 96% saturation and 73% lightness, which reads as cool.

What is the RGB value of #c079fc?

rgb(192, 121, 252) — 192 red, 121 green and 252 blue out of 255, or 75.3% / 47.5% / 98.8% by channel.

Is #c079fc a light or a dark color?

It is a mid-tone. Relative luminance is 0.3191 and perceived brightness is 64%, so black text on it reaches 7.38:1.

Should I use black or white text on #c079fc?

Black. It scores 7.38:1 against #c079fc, versus 2.84:1 for white — AAA at any size.

What is the complementary color of #c079fc?

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

What colors go well with #c079fc?

For interface work: #F8F4FA as the surface, #D8C0ED for borders, #764B9B for secondary text, #91CC00 as an accent and #45037D for hover and pressed states. For a palette, the analogous pair #7E79FC and #FC79F7 stays calm, while #B5FC79 is the loudest partner.

What is #c079fc in CMYK for printing?

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

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F079FC; nudged cooler, #8F77FD.

Work with #c079fc in the Color Lab