#cd8fe3
a light, vivid violet · cool · closest name: Violet
At a glance
Every number on this page in one read: what #cd8fe3 is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #cd8fe3 |
| RGB | rgb(205, 143, 227) |
| HSL | hsl(284, 60%, 73%) |
| CMYK | cmyk(10%, 37%, 0%, 11%) |
| LAB | lab(68.2 37.8 -33.5) |
| LCH | lch(68.2 50.5 318.5) |
| OKLCH | oklch(0.741 0.135 316.9) |
| Decimal | 13471715 |
| Display P3 | color(display-p3 0.804 0.561 0.890) |
Copy-ready code
/* CSS */
color: #cd8fe3;
background-color: #cd8fe3;
/* Tailwind (arbitrary) */
class="text-[#cd8fe3] bg-[#cd8fe3]"
/* SCSS */
$brand: #cd8fe3;
/* SwiftUI */
Color(red: 0.804, green: 0.561, blue: 0.890)
/* Android */
Color.parseColor("#cd8fe3")
/* Flutter */
Color(0xFFCD8FE3)
/* Python / OpenCV (BGR) */
(227, 143, 205)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #cd8fe3 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.
:root {
--brand-50: #F9F4FB;
--brand-100: #F3E9F7;
--brand-200: #E6CCEF;
--brand-300: #cd8fe3;
--brand-400: #C378DD;
--brand-500: #AF4BD2;
--brand-600: #9D31C4;
--brand-700: #8329A3;
--brand-800: #692183;
--brand-900: #4D1B5F;
--brand-950: #30113B;
--brand: #cd8fe3;
--brand-ink: #000000;
}Colors that work with #cd8fe3
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #cd8fe3
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | #A5E38F | Directly opposite — maximum tension | |
| Analogous left | #A38FE3 | Neighbour, quieter | |
| Analogous right | #E38FCF | Neighbour, quieter | |
| Split-complement 1 | #CFE38F | Contrast without the clash | |
| Split-complement 2 | #8FE3A3 | Contrast without the clash | |
| Triadic 1 | #E3CD8F | Even thirds — balanced and loud | |
| Triadic 2 | #8FE3CD | Even thirds — balanced and loud | |
| Tetradic | #E3A38F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cd8fe3 text on a black background
contrast 8.63:1
#cd8fe3 text on a white background
contrast 2.43:1
CSS3 live lab
The quick brown fox
color: #cd8fe3;
background-color: #cd8fe3;
Glowing headline
text-shadow: 2px 2px 8px #cd8fe3;
Soft neon halo
text-shadow: 0 0 14px rgba(205, 143, 227, 0.45);
box-shadow: 0 12px 32px -8px rgba(205, 143, 227, 0.45);
border: 3px solid #cd8fe3; background: linear-gradient(135deg, #cd8fe3, #E38FC1);
Monochromatic scale
Palettes built from #cd8fe3
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.
Closest color with a full write-up: Violet (#ee82ee) — ΔE2000 6.4 away, with its history, psychology and brand usage.
#cd8fe3 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#cd8fe3, answered
What color is #cd8fe3?
#cd8fe3 is a light vivid violet, closest to Violet (ΔE2000 6.4). It sits at 284° on the hue wheel with 60% saturation and 73% lightness, which reads as cool.
What is the RGB value of #cd8fe3?
rgb(205, 143, 227) — 205 red, 143 green and 227 blue out of 255, or 80.4% / 56.1% / 89% by channel.
Is #cd8fe3 a light or a dark color?
It is a mid-tone. Relative luminance is 0.3817 and perceived brightness is 68%, so black text on it reaches 8.63:1.
Should I use black or white text on #cd8fe3?
Black. It scores 8.63:1 against #cd8fe3, versus 2.43:1 for white — AAA at any size.
What is the complementary color of #cd8fe3?
#A5E38F sits directly opposite on the wheel. Softer options are the split-complements #CFE38F and #8FE3A3, which give the same contrast with far less vibration.
What colors go well with #cd8fe3?
For interface work: #F9F4FA as the surface, #E1C0ED for borders, #864B9B for secondary text, #68A824 as an accent and #521A66 for hover and pressed states. For a palette, the analogous pair #A38FE3 and #E38FCF stays calm, while #A5E38F is the loudest partner.
What is #cd8fe3 in CMYK for printing?
cmyk(10%, 37%, 0%, 11%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #cd8fe3 warm or cool?
Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E38FDA; nudged cooler, #AE8DE4.