CSS named colour
Plum
#dda0dd
A CSS named colour: plum is valid anywhere a colour is expected.
- RGB
- rgb(221 160 221)
- HSL
- 300°, 47%, 75%
- OKLCh
- 78.3% 0.108 326.5
Plum in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #dda0dd | |
|---|---|---|
| RGB | rgb(221 160 221) | |
| RGB legacy | rgb(221, 160, 221) | |
| RGB percent | rgb(86.67% 62.75% 86.67%) | |
| HSL | hsl(300 47.3% 74.7%) | |
| HSL legacy | hsl(300, 47.3%, 74.7%) | |
| HSV / HSB | hsv(300, 27.6%, 86.7%) | |
| HWB | hwb(300 62.7% 13.3%) | |
| Nearest name | plum | |
| CMYK | cmyk(0%, 27.6%, 0%, 13.3%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(78.328% 0.10776 326.545)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(78.328% 0.08991 -0.05941) | |
| CIE LCh | lch(73.332% 37.605 324.577) | |
| CIE Lab | lab(73.332% 30.644 -21.796) | |
| Display P3 | color(display-p3 0.8307 0.6373 0.8522) | |
| Rec. 2020 | color(rec2020 0.7747 0.6131 0.8312) | |
| srgb-linear | color(srgb-linear 0.7231 0.3515 0.7231)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.5544 0.4574 0.7432) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.867, 0.627, 0.867)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.723, 0.352, 0.723)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.867, 0.627, 0.867, 1.0) | |
| GLSL vec4 — linear | vec4(0.723, 0.352, 0.723, 1.0) | |
| GLSL ivec3 | ivec3(221, 160, 221) | |
| HLSL float3 — sRGB | float3(0.867, 0.627, 0.867) | |
| HLSL float3 — linear | float3(0.723, 0.352, 0.723) | |
| HLSL float4 — sRGB | float4(0.867, 0.627, 0.867, 1.0) | |
| HLSL half4 — sRGB | half4(0.867, 0.627, 0.867, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.867, 0.627, 0.867) | |
| WGSL vec4f — sRGB | vec4f(0.867, 0.627, 0.867, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.723, 0.352, 0.723) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.867f, 0.627f, 0.867f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(221, 160, 221, 255) | |
| Unreal FLinearColor | FLinearColor(0.7231f, 0.3515f, 0.7231f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(221, 160, 221, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.867, 0.627, 0.867, 1) | |
| Flutter Color | Color(0xFFDDA0DD)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(221, 160, 221) | |
| SwiftUI Color | Color(red: 0.867, green: 0.627, blue: 0.867) | |
| UIKit UIColor | UIColor(red: 0.867, green: 0.627, blue: 0.867, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xDDA0DD | |
|---|---|---|
| 0x hex (ARGB) | 0xFFDDA0DD | |
| Array 0–1 | [0.867, 0.627, 0.867] | |
| Array 0–255 | [221, 160, 221] | |
| Decimal integer | 14524637 |
Contrast and accessibility
WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Plum on white | 2.07:1 | Fail | Lc 40 | Non-text elements only |
| Plum on black | 10.15:1 | AAA | Lc 62 | Headings and large text |
Plum text on a white background
Plum text on a black background
White text on Plum
Black text on Plum
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#ffedff
- 100#ffddff
- 200#fdc8fc
- 300#e7b0e7
- 400#cc92cc
- 500#ad73ae
- 600#915b92
- 700#774578
- 800#613462
- 900#4e264f
- 950#301031
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#e3b0e3
- Tint 2#e9c0e9
- Tint 3#efcfee
- Tint 4#f5dff4
- Tint 5#faeffa
- Shade 1#ad7dad
- Shade 2#805b80
- Shade 3#553b55
- Shade 4#2e1e2e
- Shade 5#0b050b
Colours that work with Plum
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #8acb8f
- #d7b463
- #54ccdb
- #bfaaf6
- #f09bba
Closest CSS names
plumexact matchthistleΔEok 0.081violetΔEok 0.081lightpinkΔEok 0.097lightsteelblueΔEok 0.107orchidΔEok 0.110