Colour reference
Thistle Lilac
#cdb4db
- RGB
- rgb(205 180 219)
- HSL
- 278°, 35%, 78%
- OKLCh
- 80.4% 0.060 313.5
Thistle Lilac in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #cdb4db | |
|---|---|---|
| RGB | rgb(205 180 219) | |
| RGB legacy | rgb(205, 180, 219) | |
| RGB percent | rgb(80.39% 70.59% 85.88%) | |
| HSL | hsl(278.5 35.1% 78.2%) | |
| HSL legacy | hsl(278.5, 35.1%, 78.2%) | |
| HSV / HSB | hsv(278.5, 17.8%, 85.9%) | |
| HWB | hwb(278.5 70.6% 14.1%) | |
| Nearest name | thistle (approx.) | |
| CMYK | cmyk(6.4%, 17.8%, 0%, 14.1%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(80.373% 0.06046 313.451)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(80.373% 0.04158 -0.04389) | |
| CIE LCh | lch(76.434% 21.818 311.85) | |
| CIE Lab | lab(76.434% 14.556 -16.252) | |
| Display P3 | color(display-p3 0.7877 0.7094 0.848) | |
| Rec. 2020 | color(rec2020 0.7503 0.6833 0.8277) | |
| srgb-linear | color(srgb-linear 0.6105 0.4564 0.7084)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.5428 0.5074 0.7395) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.804, 0.706, 0.859)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.61, 0.456, 0.708)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.804, 0.706, 0.859, 1.0) | |
| GLSL vec4 — linear | vec4(0.61, 0.456, 0.708, 1.0) | |
| GLSL ivec3 | ivec3(205, 180, 219) | |
| HLSL float3 — sRGB | float3(0.804, 0.706, 0.859) | |
| HLSL float3 — linear | float3(0.61, 0.456, 0.708) | |
| HLSL float4 — sRGB | float4(0.804, 0.706, 0.859, 1.0) | |
| HLSL half4 — sRGB | half4(0.804, 0.706, 0.859, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.804, 0.706, 0.859) | |
| WGSL vec4f — sRGB | vec4f(0.804, 0.706, 0.859, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.61, 0.456, 0.708) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.804f, 0.706f, 0.859f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(205, 180, 219, 255) | |
| Unreal FLinearColor | FLinearColor(0.6105f, 0.4564f, 0.7084f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(205, 180, 219, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.804, 0.706, 0.859, 1) | |
| Flutter Color | Color(0xFFCDB4DB)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(205, 180, 219) | |
| SwiftUI Color | Color(red: 0.804, green: 0.706, blue: 0.859) | |
| UIKit UIColor | UIColor(red: 0.804, green: 0.706, blue: 0.859, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xCDB4DB | |
|---|---|---|
| 0x hex (ARGB) | 0xFFCDB4DB | |
| Array 0–1 | [0.804, 0.706, 0.859] | |
| Array 0–255 | [205, 180, 219] | |
| Decimal integer | 13481179 |
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 |
|---|---|---|---|---|
| Thistle Lilac on white | 1.88:1 | Fail | Lc 36 | Non-text elements only |
| Thistle Lilac on black | 11.15:1 | AAA | Lc 67 | Headings and large text |
Thistle Lilac text on a white background
Thistle Lilac text on a black background
White text on Thistle Lilac
Black text on Thistle Lilac
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#ffefff
- 100#f9e5ff
- 200#e9d3f5
- 300#d2bcdf
- 400#b79fc4
- 500#9881a6
- 600#7e688a
- 700#665271
- 800#523f5c
- 900#41304a
- 950#26192d
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#d5c0e1
- Tint 2#decde7
- Tint 3#e6d9ed
- Tint 4#eee6f3
- Tint 5#f7f2f9
- Shade 1#a08cac
- Shade 2#76677e
- Shade 3#4e4454
- Shade 4#29232d
- Shade 5#09070b
Colours that work with Thistle Lilac
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #b0c8a0
- #d7ba94
- #91ccca
- #b9bae5
- #dcb0c9
Closest CSS names
thistleΔEok 0.036lightsteelblueΔEok 0.054plumΔEok 0.055silverΔEok 0.061lightpinkΔEok 0.084lightgrayΔEok 0.087