Skip to content

#cd84ec

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

RGB
205, 132, 236
HSL
282°, 73%, 72%
CMYK
13, 44, 0, 8
Luminance
0.3554

At a glance

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

Hex
#cd84ec
Hue
282°
violet
Saturation
73%
vivid
Lightness
72%
light
Brightness
93%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3554
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.11:1
Closest name
Violet
ΔE2000 5.9
Where it sits
Hue282° of 360°
Saturation73%
Lightness72%
Temperature
Warm ← → Cool60% 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#cd84ec
RGBrgb(205, 132, 236)
HSLhsl(282, 73%, 72%)
CMYKcmyk(13%, 44%, 0%, 8%)
LABlab(66.2 45.6 -41.5)
LCHlch(66.2 61.6 317.7)
OKLCHoklch(0.727 0.163 315.2)
Decimal13468908
Display P3color(display-p3 0.804 0.518 0.925)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd84ec on white: 2.59:1
AA ✗ fail · AA-large · AAA
Aa
#cd84ec on black: 8.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #719CF0
deuteranopia · #84A3E9
tritanopia · #CB93AD

Color scale — 50 to 950

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

#F9F3FC
#F3E7F8
#E6C8F3
#D79EF0
#cd84ec
#B03DE1
#9F21D4
#841BB1
#6A168D
#4E1466
#310C40
Base = 400Lightest = 50 · #F9F3FCDarkest = 950 · #310C40
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E7F8;
  --brand-200: #E6C8F3;
  --brand-300: #D79EF0;
  --brand-400: #cd84ec;
  --brand-500: #B03DE1;
  --brand-600: #9F21D4;
  --brand-700: #841BB1;
  --brand-800: #6A168D;
  --brand-900: #4E1466;
  --brand-950: #310C40;
  --brand: #cd84ec;
  --brand-ink: #000000;
}

Colors that work with #cd84ec

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#F9F4FA
Tinted page background
Border#DFC0ED
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#6DB517
Second voice, not a rival
Dark variant#53116E
Hover, pressed, headers
Light variant#F6E9FC
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 #cd84ec

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#A3EC84
Analogous left#9984EC
Analogous right#EC84D7
Split-complement 1#D7EC84
Split-complement 2#84EC99
Triadic 1#ECCD84
Triadic 2#84ECCD
Tetradic#EC9984

RGB percentages

Red80.4%
Green51.8%
Blue92.5%

CMYK percentages

Cyan13.1%
Magenta44.1%
Yellow0.0%
Key (black)7.5%

Color previews

#cd84ec text on a black background

contrast 8.11:1

Card sample

#cd84ec text on a white background

contrast 2.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd84ec

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.

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

Converts to four-color process without much drama. Proof it anyway.

#cd84ec, answered

What color is #cd84ec?

#cd84ec is a light vivid violet, closest to Violet (ΔE2000 5.9). It sits at 282° on the hue wheel with 73% saturation and 72% lightness, which reads as cool.

What is the RGB value of #cd84ec?

rgb(205, 132, 236) — 205 red, 132 green and 236 blue out of 255, or 80.4% / 51.8% / 92.5% by channel.

Is #cd84ec a light or a dark color?

It is a mid-tone. Relative luminance is 0.3554 and perceived brightness is 67%, so black text on it reaches 8.11:1.

Should I use black or white text on #cd84ec?

Black. It scores 8.11:1 against #cd84ec, versus 2.59:1 for white — AAA at any size.

What is the complementary color of #cd84ec?

#A3EC84 sits directly opposite on the wheel. Softer options are the split-complements #D7EC84 and #84EC99, which give the same contrast with far less vibration.

What colors go well with #cd84ec?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #834B9B for secondary text, #6DB517 as an accent and #53116E for hover and pressed states. For a palette, the analogous pair #9984EC and #EC84D7 stays calm, while #A3EC84 is the loudest partner.

What is #cd84ec in CMYK for printing?

cmyk(13%, 44%, 0%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cd84ec warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EC84E5; nudged cooler, #A783ED.

Work with #cd84ec in the Color Lab