Skip to content

#cda0fc

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

RGB
205, 160, 252
HSL
269°, 94%, 81%
CMYK
19, 37, 0, 1
Luminance
0.4515

At a glance

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

Hex
#cda0fc
Hue
269°
violet
Saturation
94%
electric
Lightness
81%
light
Brightness
99%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4515
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
10.03:1
Closest name
Plum
ΔE2000 8.6
Where it sits
Hue269° of 360°
Saturation94%
Lightness81%
Temperature
Warm ← → Cool67% 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#cda0fc
RGBrgb(205, 160, 252)
HSLhsl(269, 94%, 81%)
CMYKcmyk(19%, 37%, 0%, 1%)
LABlab(73.0 33.9 -39.6)
LCHlch(73.0 52.1 310.5)
OKLCHoklch(0.781 0.135 306.0)
Decimal13476092
Display P3color(display-p3 0.804 0.627 0.988)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cda0fc on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#cda0fc on black: 10.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8CB2FF
deuteranopia · #96B3F9
tritanopia · #C6AEC2

Color scale — 50 to 950

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

#F7F2FD
#EFE4FB
#DDC2FA
#cda0fc
#A95CFA
#8C25F8
#7807ED
#6406C6
#50059E
#3C0872
#250547
Base = 300Lightest = 50 · #F7F2FDDarkest = 950 · #250547
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EFE4FB;
  --brand-200: #DDC2FA;
  --brand-300: #cda0fc;
  --brand-400: #A95CFA;
  --brand-500: #8C25F8;
  --brand-600: #7807ED;
  --brand-700: #6406C6;
  --brand-800: #50059E;
  --brand-900: #3C0872;
  --brand-950: #250547;
  --brand: #cda0fc;
  --brand-ink: #000000;
}

Colors that work with #cda0fc

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#F7F4FA
Tinted page background
Border#D6C0ED
Hairlines and dividers
Muted text#724B9B
Captions on the surface
Accent#9ACA02
Second voice, not a rival
Dark variant#3E047C
Hover, pressed, headers
Light variant#F2E6FE
Selected rows, tints
Dark surface#1C1424
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 #cda0fc

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#CFFCA0
Analogous left#A0A1FC
Analogous right#FBA0FC
Split-complement 1#FCFBA0
Split-complement 2#A1FCA0
Triadic 1#FCCDA0
Triadic 2#A0FCCD
Tetradic#FCA0A1

RGB percentages

Red80.4%
Green62.7%
Blue98.8%

CMYK percentages

Cyan18.7%
Magenta36.5%
Yellow0.0%
Key (black)1.2%

Color previews

#cda0fc text on a black background

contrast 10.03:1

Card sample

#cda0fc text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cda0fc

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.

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

#cda0fc, answered

What color is #cda0fc?

#cda0fc is a light electric violet, closest to Plum (ΔE2000 8.6). It sits at 269° on the hue wheel with 94% saturation and 81% lightness, which reads as cool.

What is the RGB value of #cda0fc?

rgb(205, 160, 252) — 205 red, 160 green and 252 blue out of 255, or 80.4% / 62.7% / 98.8% by channel.

Is #cda0fc a light or a dark color?

It is a mid-tone. Relative luminance is 0.4515 and perceived brightness is 73%, so black text on it reaches 10.03:1.

Should I use black or white text on #cda0fc?

Black. It scores 10.03:1 against #cda0fc, versus 2.09:1 for white — AAA at any size.

What is the complementary color of #cda0fc?

#CFFCA0 sits directly opposite on the wheel. Softer options are the split-complements #FCFBA0 and #A1FCA0, which give the same contrast with far less vibration.

What colors go well with #cda0fc?

For interface work: #F7F4FA as the surface, #D6C0ED for borders, #724B9B for secondary text, #9ACA02 as an accent and #3E047C for hover and pressed states. For a palette, the analogous pair #A0A1FC and #FBA0FC stays calm, while #CFFCA0 is the loudest partner.

What is #cda0fc in CMYK for printing?

cmyk(19%, 37%, 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 #cda0fc warm or cool?

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

Work with #cda0fc in the Color Lab