Skip to content

#cd6af9

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

RGB
205, 106, 249
HSL
282°, 92%, 70%
CMYK
18, 57, 0, 2
Luminance
0.3013

At a glance

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

Hex
#cd6af9
Hue
282°
violet
Saturation
92%
electric
Lightness
70%
light
Brightness
98%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3013
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.03:1
Closest name
Orchid
ΔE2000 7.4
Where it sits
Hue282° of 360°
Saturation92%
Lightness70%
Temperature
Warm ← → Cool60% 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#cd6af9
RGBrgb(205, 106, 249)
HSLhsl(282, 92%, 70%)
CMYKcmyk(18%, 57%, 0%, 2%)
LABlab(61.8 61.4 -55.6)
LCHlch(61.8 82.8 317.8)
OKLCHoklch(0.697 0.217 314.2)
Decimal13462265
Display P3color(display-p3 0.804 0.416 0.976)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd6af9 on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#cd6af9 on black: 7.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4090FE
deuteranopia · #6698F5
tritanopia · #C983A8

Color scale — 50 to 950

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

#FAF2FD
#F4E4FB
#E8C3F9
#DB93FB
#cd6af9
#B627F6
#A609EB
#8A08C4
#6E069D
#510971
#330647
Base = 400Lightest = 50 · #FAF2FDDarkest = 950 · #330647
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F4E4FB;
  --brand-200: #E8C3F9;
  --brand-300: #DB93FB;
  --brand-400: #cd6af9;
  --brand-500: #B627F6;
  --brand-600: #A609EB;
  --brand-700: #8A08C4;
  --brand-800: #6E069D;
  --brand-900: #510971;
  --brand-950: #330647;
  --brand: #cd6af9;
  --brand-ink: #000000;
}

Colors that work with #cd6af9

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#F9F4FA
Tinted page background
Border#DFC0ED
Hairlines and dividers
Muted text#824B9B
Captions on the surface
Accent#71C804
Second voice, not a rival
Dark variant#56057B
Hover, pressed, headers
Light variant#F7E6FE
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 #cd6af9

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#96F96A
Analogous left#856AF9
Analogous right#F96ADE
Split-complement 1#DEF96A
Split-complement 2#6AF985
Triadic 1#F9CD6A
Triadic 2#6AF9CD
Tetradic#F9856A

RGB percentages

Red80.4%
Green41.6%
Blue97.6%

CMYK percentages

Cyan17.7%
Magenta57.4%
Yellow0.0%
Key (black)2.4%

Color previews

#cd6af9 text on a black background

contrast 7.03:1

Card sample

#cd6af9 text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd6af9

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.

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

#cd6af9, answered

What color is #cd6af9?

#cd6af9 is a light electric violet, closest to Orchid (ΔE2000 7.4). It sits at 282° on the hue wheel with 92% saturation and 70% lightness, which reads as cool.

What is the RGB value of #cd6af9?

rgb(205, 106, 249) — 205 red, 106 green and 249 blue out of 255, or 80.4% / 41.6% / 97.6% by channel.

Is #cd6af9 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3013 and perceived brightness is 64%, so black text on it reaches 7.03:1.

Should I use black or white text on #cd6af9?

Black. It scores 7.03:1 against #cd6af9, versus 2.99:1 for white — AAA at any size.

What is the complementary color of #cd6af9?

#96F96A sits directly opposite on the wheel. Softer options are the split-complements #DEF96A and #6AF985, which give the same contrast with far less vibration.

What colors go well with #cd6af9?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #824B9B for secondary text, #71C804 as an accent and #56057B for hover and pressed states. For a palette, the analogous pair #856AF9 and #F96ADE stays calm, while #96F96A is the loudest partner.

What is #cd6af9 in CMYK for printing?

cmyk(18%, 57%, 0%, 2%). 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 #cd6af9 warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F96AF1; nudged cooler, #9868FB.

Work with #cd6af9 in the Color Lab