#CD2DCA

A color in the Purple, Crimson, Magenta family

#cd2dca is a color in the Purple, Crimson, Magenta family: RGB(205, 45, 202), HSL(301°, 64%, 49%), CMYK(0%, 78%, 1%, 20%). Closest named color: mediumorchid. Contrast is 4.35:1 on white and 4.82:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cd2dca
RGBrgb(205 45 202)
RGB (legacy)rgb(205, 45, 202)
RGB %rgb(80% 18% 79%)
HSLhsl(301 64% 49%)
HSV / HSBhsv(301, 78%, 80%)
HWBhwb(301 18% 20%)
CMYKcmyk(0%, 78%, 1%, 20%)
CIELAB (D50)lab(50.74 72.63 -46.23)
LCHlch(50.74 86.1 327.52)
OKLaboklab(0.6094 0.2143 -0.1289)
OKLCHoklch(0.6094 0.2501 328.97)
Decimal13446602

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 6.3
Closest web-safe color#cc33cc
Hue301°
Saturation (HSL / HSV)64% / 78%
Lightness (HSL)49%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)43% / 35%
Relative luminance (WCAG)0.1912
Red / Green / Blue205 / 45 / 202

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.35:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.82:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 68.6 / -33 · As background with white / black text: Lc -74.1 / 35.5

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #cd2dca;
  --color-brand-oklch: oklch(60.94% 0.2501 328.97);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 45 202 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cd2dca] text-[#cd2dca] border-[#cd2dca]">