Plum hex and RGB values
The CSS keyword plum gives you #DDA0DD, or rgb(221, 160, 221).
Plum gives a card or category label a soft violet fill. Choose the text color from the measured pair rather than the appearance of the swatch alone.
Compare black and white text
| Text / background | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| #000000 / #DDA0DD | 10.15:1 | Pass | Pass | Pass | Pass |
| #FFFFFF / #DDA0DD | 2.07:1 | Fail | Fail | Fail | Fail |
Black text has the higher contrast on plum: 10.15:1. The table compares both options against all four text thresholds, using the unrounded values for pass or fail.
Try plum in a layout
The CSS sample below uses black text on #DDA0DD. Preview a 16 px label and a 24 px heading to compare normal and large text. Swap the colors to try plum as the text color; the ratio stays the same.
.sample {
background: #DDA0DD;
color: #000000;
}Copy the exact color
Use the converter to copy HEX, RGB or HSL. If you edit in HSL, the final value is rounded to eight-bit sRGB so the preview and exported color agree. For text over an image, gradient or translucent layer, check the finished design separately.