#CD7BC4#CD7BC4
#CD7BC4 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.5% C 0.138 H 331.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7BC4 |
|---|---|
| RGB | rgb(205, 123, 196) |
| HSL | hsl(307, 45%, 64%) |
| HSV | hsv(307, 40%, 80%) |
| CMYK | cmyk(0%, 40%, 4.4%, 19.6%) |
| CIE-LAB | lab(62.62, 42.63, -24.69) |
| CIE-LCH | lch(62.62, 49.27, 329.93°) |
| OKLab | oklab(69.49% 0.1206 -0.0669) |
| OKLCH | oklch(69.49% 0.138 331) |
| XYZ | xyz(42.2231, 31.1327, 55.9990) |
| Luminance | 0.3113 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.00
Lavender Pink
#DD85D7
ΔE00 4.13
Orchid
#DA70D6
ΔE00 4.53
Pale Magenta
#D767AD
ΔE00 6.35
Purply Pink
#F075E6
ΔE00 7.11
Purplish Pink
#CE5DAE
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7BC4 #7BCD84
analogous
#AD7BCD #CD7BC4 #CD7B9B
triadic
#CD7BC4 #C4CD7B #7BC4CD
tetradic
#CD7BC4 #CDAD7B #7BCD84 #7B9BCD
square
#CD7BC4 #CDAD7B #7BCD84 #7B9BCD
split-complementary
#CD7BC4 #9BCD7B #7BCDAD
monochromatic
#95388B #BC4FB0 #CD7BC4 #DEA7D8 #EFD4EC
Accessibility & contrast
On white
2.91
#CD7BC4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#CD7BC4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7BC4
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7BC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7BC4 | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7890C7
Deuteranopia (green-blind)
#8E9CC1
Tritanopia (blue-blind)
#D38197
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #cd7bc4; /* rgb */ color: rgb(205, 123, 196); /* oklch */ color: oklch(69.5% 0.138 331.0);
Tailwind
colors: {
custom: {
50: '#dea3d6',
500: '#cd7bc4',
950: '#000000',
},
}SCSS
$custom: #cd7bc4; $custom-light: #dea3d6; $custom-dark: #000000;
JSON
{
"hex": "#cd7bc4",
"rgb": {
"r": 205,
"g": 123,
"b": 196
},
"hsl": {
"h": 306.585,
"s": 45.055,
"l": 64.314
},
"oklch": {
"l": 0.69492,
"c": 0.13793,
"h": 331
},
"luminance": 0.31131
}Semantic roles & 50–950 ramp
primary
#CD7BC4
secondary
#C4E0C7
accent
#B83D2D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83