Skip to content

#cd86f4

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

RGB
205, 134, 244
HSL
279°, 83%, 74%
CMYK
16, 45, 0, 4
Luminance
0.3656

At a glance

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

Hex
#cd86f4
Hue
279°
violet
Saturation
83%
electric
Lightness
74%
light
Brightness
96%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3656
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
8.31:1
Closest name
Violet
ΔE2000 6.6
Where it sits
Hue279° of 360°
Saturation83%
Lightness74%
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#cd86f4
RGBrgb(205, 134, 244)
HSLhsl(279, 83%, 74%)
CMYKcmyk(16%, 45%, 0%, 4%)
LABlab(67.0 46.2 -44.7)
LCHlch(67.0 64.3 315.9)
OKLCHoklch(0.734 0.169 312.6)
Decimal13469428
Display P3color(display-p3 0.804 0.525 0.957)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd86f4 on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#cd86f4 on black: 8.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6F9FF8
deuteranopia · #82A5F1
tritanopia · #C997B2

Color scale — 50 to 950

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

#F9F2FC
#F3E6FA
#E5C6F6
#cd86f4
#BF65F1
#AA31EC
#9814E0
#7F11BB
#650E96
#4B0E6C
#2F0944
Base = 300Lightest = 50 · #F9F2FCDarkest = 950 · #2F0944
:root {
  --brand-50: #F9F2FC;
  --brand-100: #F3E6FA;
  --brand-200: #E5C6F6;
  --brand-300: #cd86f4;
  --brand-400: #BF65F1;
  --brand-500: #AA31EC;
  --brand-600: #9814E0;
  --brand-700: #7F11BB;
  --brand-800: #650E96;
  --brand-900: #4B0E6C;
  --brand-950: #2F0944;
  --brand: #cd86f4;
  --brand-ink: #000000;
}

Colors that work with #cd86f4

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#7E4B9B
Captions on the surface
Accent#79C00C
Second voice, not a rival
Dark variant#4F0B75
Hover, pressed, headers
Light variant#F5E8FD
Selected rows, tints
Dark surface#1E1424
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 #cd86f4

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#ADF486
Analogous left#9686F4
Analogous right#F486E4
Split-complement 1#E4F486
Split-complement 2#86F496
Triadic 1#F4CD86
Triadic 2#86F4CD
Tetradic#F49686

RGB percentages

Red80.4%
Green52.5%
Blue95.7%

CMYK percentages

Cyan16.0%
Magenta45.1%
Yellow0.0%
Key (black)4.3%

Color previews

#cd86f4 text on a black background

contrast 8.31:1

Card sample

#cd86f4 text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd86f4

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.

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

#cd86f4, answered

What color is #cd86f4?

#cd86f4 is a light electric violet, closest to Violet (ΔE2000 6.6). It sits at 279° on the hue wheel with 83% saturation and 74% lightness, which reads as cool.

What is the RGB value of #cd86f4?

rgb(205, 134, 244) — 205 red, 134 green and 244 blue out of 255, or 80.4% / 52.5% / 95.7% by channel.

Is #cd86f4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3656 and perceived brightness is 68%, so black text on it reaches 8.31:1.

Should I use black or white text on #cd86f4?

Black. It scores 8.31:1 against #cd86f4, versus 2.53:1 for white — AAA at any size.

What is the complementary color of #cd86f4?

#ADF486 sits directly opposite on the wheel. Softer options are the split-complements #E4F486 and #86F496, which give the same contrast with far less vibration.

What colors go well with #cd86f4?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #7E4B9B for secondary text, #79C00C as an accent and #4F0B75 for hover and pressed states. For a palette, the analogous pair #9686F4 and #F486E4 stays calm, while #ADF486 is the loudest partner.

What is #cd86f4 in CMYK for printing?

cmyk(16%, 45%, 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 #cd86f4 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 #F486F3; nudged cooler, #A485F5.

Work with #cd86f4 in the Color Lab