Skip to content

#cd93ec

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

RGB
205, 147, 236
HSL
279°, 70%, 75%
CMYK
13, 38, 0, 8
Luminance
0.3990

At a glance

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

Hex
#cd93ec
Hue
279°
violet
Saturation
70%
vivid
Lightness
75%
light
Brightness
93%
HSV value
Perceived
70%
weighted brightness
Luminance
0.3990
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.98:1
Closest name
Violet
ΔE2000 7.1
Where it sits
Hue279° of 360°
Saturation70%
Lightness75%
Temperature
Warm ← → Cool62% 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#cd93ec
RGBrgb(205, 147, 236)
HSLhsl(279, 70%, 75%)
CMYKcmyk(13%, 38%, 0%, 8%)
LABlab(69.4 37.5 -36.5)
LCHlch(69.4 52.3 315.8)
OKLCHoklch(0.751 0.138 313.2)
Decimal13472748
Display P3color(display-p3 0.804 0.576 0.925)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd93ec on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#cd93ec on black: 8.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #83A6EF
deuteranopia · #91ABE9
tritanopia · #CB9FB5

Color scale — 50 to 950

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

#F9F3FC
#F2E7F8
#E4C9F2
#cd93ec
#BD70E6
#A740DD
#9425D0
#7C1EAE
#63188B
#491665
#2E0E3F
Base = 300Lightest = 50 · #F9F3FCDarkest = 950 · #2E0E3F
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F2E7F8;
  --brand-200: #E4C9F2;
  --brand-300: #cd93ec;
  --brand-400: #BD70E6;
  --brand-500: #A740DD;
  --brand-600: #9425D0;
  --brand-700: #7C1EAE;
  --brand-800: #63188B;
  --brand-900: #491665;
  --brand-950: #2E0E3F;
  --brand: #cd93ec;
  --brand-ink: #000000;
}

Colors that work with #cd93ec

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#DDC0ED
Hairlines and dividers
Muted text#7F4B9B
Captions on the surface
Accent#75B21A
Second voice, not a rival
Dark variant#4D136C
Hover, pressed, headers
Light variant#F5E9FB
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 #cd93ec

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#B2EC93
Analogous left#A093EC
Analogous right#EC93DF
Split-complement 1#DFEC93
Split-complement 2#93ECA0
Triadic 1#ECCD93
Triadic 2#93ECCD
Tetradic#ECA093

RGB percentages

Red80.4%
Green57.6%
Blue92.5%

CMYK percentages

Cyan13.1%
Magenta37.7%
Yellow0.0%
Key (black)7.5%

Color previews

#cd93ec text on a black background

contrast 8.98:1

Card sample

#cd93ec text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd93ec

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.

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

#cd93ec, answered

What color is #cd93ec?

#cd93ec is a light vivid violet, closest to Violet (ΔE2000 7.1). It sits at 279° on the hue wheel with 70% saturation and 75% lightness, which reads as cool.

What is the RGB value of #cd93ec?

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

Is #cd93ec a light or a dark color?

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

Should I use black or white text on #cd93ec?

Black. It scores 8.98:1 against #cd93ec, versus 2.34:1 for white — AAA at any size.

What is the complementary color of #cd93ec?

#B2EC93 sits directly opposite on the wheel. Softer options are the split-complements #DFEC93 and #93ECA0, which give the same contrast with far less vibration.

What colors go well with #cd93ec?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #7F4B9B for secondary text, #75B21A as an accent and #4D136C for hover and pressed states. For a palette, the analogous pair #A093EC and #EC93DF stays calm, while #B2EC93 is the loudest partner.

What is #cd93ec in CMYK for printing?

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

Is #cd93ec warm or cool?

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

Work with #cd93ec in the Color Lab