Color #cd9afa
A vivid, highly saturated light purple.
Conversions
#cd9afa
rgb(205, 154, 250)
hsl(271.9, 90.6%, 79.2%)
hsv(271.9, 38.4%, 98%)
cmyk(18%, 38.4%, 0%, 2%)
lab(71.55, 36.7, -40.75)
lch(71.55, 54.84, 312.01)
oklch(77%, 0.1428, 307.78)
hwb(271.9, 60.4%, 2%)
Harmony colors
Accessibility
Black text reads better on this background (9.6:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#b9b9e7 · ΔE 12.7
Deuteranopia
#bcc0e3 · ΔE 15
Tritanopia
#cbd7d4 · ΔE 26.4
Achromatopsia
#afafaf · ΔE 25
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #cd9afa;
bg-[#cd9afa]
Related colors
Frequently asked questions
#cd9afa (#cd9afa) is rgb(205, 154, 250) in RGB.
No, #cd9afa is not web-safe. The nearest web-safe colors are among its tones and shades below.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #cd9afa, or check how it holds up for accessibility.