Skip to content

#cda2f5

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

RGB
205, 162, 245
HSL
271°, 81%, 80%
CMYK
16, 34, 0, 4
Luminance
0.4541

At a glance

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

Hex
#cda2f5
Hue
271°
violet
Saturation
81%
electric
Lightness
80%
light
Brightness
96%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4541
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
10.08:1
Closest name
Plum
ΔE2000 7.4
Where it sits
Hue271° of 360°
Saturation81%
Lightness80%
Temperature
Warm ← → Cool66% 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#cda2f5
RGBrgb(205, 162, 245)
HSLhsl(271, 81%, 80%)
CMYKcmyk(16%, 34%, 0%, 4%)
LABlab(73.2 31.3 -35.5)
LCHlch(73.2 47.3 311.3)
OKLCHoklch(0.781 0.123 307.5)
Decimal13476597
Display P3color(display-p3 0.804 0.635 0.961)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cda2f5 on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#cda2f5 on black: 10.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #92B2F8
deuteranopia · #9BB4F3
tritanopia · #C8AEC0

Color scale — 50 to 950

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

#F8F3FC
#F0E6F9
#DFC6F5
#cda2f5
#AD67EF
#9234E9
#7E18DD
#6914B8
#541093
#3F106B
#270A43
Base = 300Lightest = 50 · #F8F3FCDarkest = 950 · #270A43
:root {
  --brand-50: #F8F3FC;
  --brand-100: #F0E6F9;
  --brand-200: #DFC6F5;
  --brand-300: #cda2f5;
  --brand-400: #AD67EF;
  --brand-500: #9234E9;
  --brand-600: #7E18DD;
  --brand-700: #6914B8;
  --brand-800: #541093;
  --brand-900: #3F106B;
  --brand-950: #270A43;
  --brand: #cda2f5;
  --brand-ink: #000000;
}

Colors that work with #cda2f5

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#D7C0ED
Hairlines and dividers
Muted text#744B9B
Captions on the surface
Accent#8FBC10
Second voice, not a rival
Dark variant#420C73
Hover, pressed, headers
Light variant#F3E8FD
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 #cda2f5

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#CAF5A2
Analogous left#A3A2F5
Analogous right#F5A2F3
Split-complement 1#F3F5A2
Split-complement 2#A2F5A3
Triadic 1#F5CDA2
Triadic 2#A2F5CD
Tetradic#F5A3A2

RGB percentages

Red80.4%
Green63.5%
Blue96.1%

CMYK percentages

Cyan16.3%
Magenta33.9%
Yellow0.0%
Key (black)3.9%

Color previews

#cda2f5 text on a black background

contrast 10.08:1

Card sample

#cda2f5 text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cda2f5

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.

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

#cda2f5, answered

What color is #cda2f5?

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

What is the RGB value of #cda2f5?

rgb(205, 162, 245) — 205 red, 162 green and 245 blue out of 255, or 80.4% / 63.5% / 96.1% by channel.

Is #cda2f5 a light or a dark color?

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

Should I use black or white text on #cda2f5?

Black. It scores 10.08:1 against #cda2f5, versus 2.08:1 for white — AAA at any size.

What is the complementary color of #cda2f5?

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

What colors go well with #cda2f5?

For interface work: #F7F4FA as the surface, #D7C0ED for borders, #744B9B for secondary text, #8FBC10 as an accent and #420C73 for hover and pressed states. For a palette, the analogous pair #A3A2F5 and #F5A2F3 stays calm, while #CAF5A2 is the loudest partner.

What is #cda2f5 in CMYK for printing?

cmyk(16%, 34%, 0%, 4%). 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 #cda2f5 warm or cool?

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

Work with #cda2f5 in the Color Lab