More
More
#CD97D0 colour
#CD97D0 is a light muted purple close to CSS plum. RGB 205, 151, 208, HSL 297, 38%, 70%. Black text passes AAA (8.93:1), white fails (2.35:1).
- Nearest CSS name
plum#dda0dd (not an exact match)- Described as
- a light muted purple
- Red, green, blue
- 205, 151, 208
- Web safe
- No
- Luminance
- 0.3967 (WCAG relative luminance, 0 is black, 1 is white)
Colour codes
| HEX | #cd97d0 | |
|---|---|---|
| RGB | rgb(205, 151, 208) | |
| RGB (percent) | rgb(80.4% 59.2% 81.6%) | |
| HSL | hsl(296.8, 37.7%, 70.4%) | |
| HSV / HSB | hsv(296.8, 27.4%, 81.6%) | |
| HWB | hwb(296.8 59.2% 18.4%) | |
| CMYK (naive) | cmyk(1%, 27%, 0%, 18%) | |
| CIELAB (D50) | lab(69.18% 27.91 -21.13) | |
| OKLCH | oklch(74.65% 0.0998 324.77) | |
| Decimal | 13473744 |
CMYK here is the plain formula with no colour profile, so treat it as a starting point; a printer's profile gives the real ink values. CIELAB uses a D50 white point, as CSS lab() does. HSV is not a CSS function, so it is shown for design apps only.
Contrast with white and black text
| Text | Ratio | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White | 2.35:1 | Fail | Fail | Fail | Fail |
| Black | 8.93:1 | Pass | Pass | Pass | Pass |
Black text is the better choice on #CD97D0 (8.93:1). Ratios use the WCAG 2.2 formula; large text means at least 24px, or 18.66px bold. Check another pair.
Tints and shades
Mixed with white, then with black, in ten even steps (straight sRGB mixing, as most design tools do).
Colour harmonies
Hue turned around the HSL colour wheel, saturation and lightness kept.
How it looks with colour blindness
Simulated with the Machado, Oliveira and Fernandes (2009) matrices at full severity, applied in linear RGB; achromatopsia shows the colour's luminance as grey. Milder forms (protanomaly, deuteranomaly) are far more common and shift colours less. Never use colour as the only way to carry meaning.
CSS
| Text colour | color: #cd97d0; | |
|---|---|---|
| Background | background-color: #cd97d0; | |
| Border | border: 1px solid #cd97d0; | |
| Half transparent | background-color: rgb(205 151 208 / 50%); | |
| Custom property | --colour-main: #cd97d0; | |
| Gradient to a darker shade | background: linear-gradient(135deg, #cd97d0, #7b5b7d); | |
| Gradient from a lighter tint | background: linear-gradient(180deg, #e1c1e3, #cd97d0); | |
| Text on this colour | background-color: #cd97d0; color: #000; |
Similar named colours
plum#dda0dd, distance 3.8violet#ee82ee, distance 8.8orchid#da70d6, distance 9.3rosybrown#bc8f8f, distance 9.7darkgray#a9a9a9, distance 10thistle#d8bfd8, distance 10.3#9ad097Complement of #CD97D0
Distance is measured in OKLab, scaled by 100; under about 2 is hard to tell apart side by side.
Convert #CD97D0 to other formats · Build a palette from it · Check contrast · All named colours
Colour names from CSS Color Module Level 4. Palette values from the Tailwind CSS v3 default palette (MIT licence) and the Material Design 2014 colour palette as published in Material Design Lite (Apache License 2.0). All other values are calculated from the hex code.