Skip to content

#cda8fd

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

RGB
205, 168, 253
HSL
266°, 96%, 83%
CMYK
19, 34, 0, 1
Luminance
0.4808

At a glance

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

Hex
#cda8fd
Hue
266°
violet
Saturation
96%
electric
Lightness
83%
light
Brightness
99%
HSV value
Perceived
75%
weighted brightness
Luminance
0.4808
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
10.62:1
Closest name
Plum
ΔE2000 8.8
Where it sits
Hue266° of 360°
Saturation96%
Lightness83%
Temperature
Warm ← → Cool69% 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#cda8fd
RGBrgb(205, 168, 253)
HSLhsl(266, 96%, 83%)
CMYKcmyk(19%, 34%, 0%, 1%)
LABlab(74.9 29.7 -37.2)
LCHlch(74.9 47.6 308.6)
OKLCHoklch(0.795 0.123 303.7)
Decimal13478141
Display P3color(display-p3 0.804 0.659 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cda8fd on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#cda8fd on black: 10.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #96B7FF
deuteranopia · #9DB8FB
tritanopia · #C5B5C7

Color scale — 50 to 950

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

#F7F1FD
#EEE4FC
#cda8fd
#C091FC
#A05AFB
#8124FA
#6B06EF
#5905C7
#4704A0
#360773
#220548
Base = 200Lightest = 50 · #F7F1FDDarkest = 950 · #220548
:root {
  --brand-50: #F7F1FD;
  --brand-100: #EEE4FC;
  --brand-200: #cda8fd;
  --brand-300: #C091FC;
  --brand-400: #A05AFB;
  --brand-500: #8124FA;
  --brand-600: #6B06EF;
  --brand-700: #5905C7;
  --brand-800: #4704A0;
  --brand-900: #360773;
  --brand-950: #220548;
  --brand: #cda8fd;
  --brand-ink: #000000;
}

Colors that work with #cda8fd

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#D3C0ED
Hairlines and dividers
Muted text#6E4B9B
Captions on the surface
Accent#A5CC00
Second voice, not a rival
Dark variant#38037D
Hover, pressed, headers
Light variant#F1E6FE
Selected rows, tints
Dark surface#1B1424
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 #cda8fd

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#D8FDA8
Analogous left#A8ADFD
Analogous right#F7A8FD
Split-complement 1#FDF7A8
Split-complement 2#ADFDA8
Triadic 1#FDCDA8
Triadic 2#A8FDCD
Tetradic#FDA8AD

RGB percentages

Red80.4%
Green65.9%
Blue99.2%

CMYK percentages

Cyan19.0%
Magenta33.6%
Yellow0.0%
Key (black)0.8%

Color previews

#cda8fd text on a black background

contrast 10.62:1

Card sample

#cda8fd text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cda8fd

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.

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

#cda8fd, answered

What color is #cda8fd?

#cda8fd is a light electric violet, closest to Plum (ΔE2000 8.8). It sits at 266° on the hue wheel with 96% saturation and 83% lightness, which reads as cool.

What is the RGB value of #cda8fd?

rgb(205, 168, 253) — 205 red, 168 green and 253 blue out of 255, or 80.4% / 65.9% / 99.2% by channel.

Is #cda8fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.4808 and perceived brightness is 75%, so black text on it reaches 10.62:1.

Should I use black or white text on #cda8fd?

Black. It scores 10.62:1 against #cda8fd, versus 1.98:1 for white — AAA at any size.

What is the complementary color of #cda8fd?

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

What colors go well with #cda8fd?

For interface work: #F7F4FA as the surface, #D3C0ED for borders, #6E4B9B for secondary text, #A5CC00 as an accent and #38037D for hover and pressed states. For a palette, the analogous pair #A8ADFD and #F7A8FD stays calm, while #D8FDA8 is the loudest partner.

What is #cda8fd in CMYK for printing?

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

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

Work with #cda8fd in the Color Lab