Skip to content

#cc91fd

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

RGB
204, 145, 253
HSL
273°, 96%, 78%
CMYK
19, 43, 0, 1
Luminance
0.4018

At a glance

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

Hex
#cc91fd
Hue
273°
violet
Saturation
96%
electric
Lightness
78%
light
Brightness
99%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4018
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
9.04:1
Closest name
Violet
ΔE2000 8.2
Where it sits
Hue273° of 360°
Saturation96%
Lightness78%
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#cc91fd
RGBrgb(204, 145, 253)
HSLhsl(273, 96%, 78%)
CMYKcmyk(19%, 43%, 0%, 1%)
LABlab(69.6 42.0 -45.4)
LCHlch(69.6 61.8 312.7)
OKLCHoklch(0.755 0.161 308.2)
Decimal13406717
Display P3color(display-p3 0.800 0.569 0.992)

Copy-ready code

/* CSS */
color: #cc91fd;
background-color: #cc91fd;
/* Tailwind (arbitrary) */
class="text-[#cc91fd] bg-[#cc91fd]"
/* SCSS */
$brand: #cc91fd;
/* SwiftUI */
Color(red: 0.800, green: 0.569, blue: 0.992)
/* Android */
Color.parseColor("#cc91fd")
/* Flutter */
Color(0xFFCC91FD)
/* Python / OpenCV (BGR) */
(253, 145, 204)

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

Accessibility — WCAG contrast

Aa
#cc91fd on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#cc91fd on black: 9.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #78A8FF
deuteranopia · #87ABFA
tritanopia · #C5A2BB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cc91fd 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
#E1C1FA
#cc91fd
#B25AFC
#9923FB
#8504F0
#6F04C8
#5903A0
#420773
#290448
Base = 300Lightest = 50 · #F8F1FDDarkest = 950 · #290448
:root {
  --brand-50: #F8F1FD;
  --brand-100: #F1E4FC;
  --brand-200: #E1C1FA;
  --brand-300: #cc91fd;
  --brand-400: #B25AFC;
  --brand-500: #9923FB;
  --brand-600: #8504F0;
  --brand-700: #6F04C8;
  --brand-800: #5903A0;
  --brand-900: #420773;
  --brand-950: #290448;
  --brand: #cc91fd;
  --brand-ink: #000000;
}

Colors that work with #cc91fd

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#90CC00
Second voice, not a rival
Dark variant#45027D
Hover, pressed, headers
Light variant#F3E6FF
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 #cc91fd

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#C2FD91
Analogous left#9691FD
Analogous right#FD91F8
Split-complement 1#F8FD91
Split-complement 2#91FD96
Triadic 1#FDCC91
Triadic 2#91FDCC
Tetradic#FD9691

RGB percentages

Red80.0%
Green56.9%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta42.7%
Yellow0.0%
Key (black)0.8%

Color previews

#cc91fd text on a black background

contrast 9.04:1

Card sample

#cc91fd text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc91fd

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.

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

#cc91fd, answered

What color is #cc91fd?

#cc91fd is a light electric violet, closest to Violet (ΔE2000 8.2). It sits at 273° on the hue wheel with 96% saturation and 78% lightness, which reads as cool.

What is the RGB value of #cc91fd?

rgb(204, 145, 253) — 204 red, 145 green and 253 blue out of 255, or 80% / 56.9% / 99.2% by channel.

Is #cc91fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.4018 and perceived brightness is 70%, so black text on it reaches 9.04:1.

Should I use black or white text on #cc91fd?

Black. It scores 9.04:1 against #cc91fd, versus 2.32:1 for white — AAA at any size.

What is the complementary color of #cc91fd?

#C2FD91 sits directly opposite on the wheel. Softer options are the split-complements #F8FD91 and #91FD96, which give the same contrast with far less vibration.

What colors go well with #cc91fd?

For interface work: #F8F4FA as the surface, #D8C0ED for borders, #764B9B for secondary text, #90CC00 as an accent and #45027D for hover and pressed states. For a palette, the analogous pair #9691FD and #FD91F8 stays calm, while #C2FD91 is the loudest partner.

What is #cc91fd in CMYK for printing?

cmyk(19%, 43%, 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 #cc91fd 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 #F491FD; nudged cooler, #A490FE.

Work with #cc91fd in the Color Lab