#CD7BC2#CD7BC2
#CD7BC2 is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.4% C 0.136 H 331.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7BC2 |
|---|---|
| RGB | rgb(205, 123, 194) |
| HSL | hsl(308, 45%, 64%) |
| HSV | hsv(308, 40%, 80%) |
| CMYK | cmyk(0%, 40%, 5.4%, 19.6%) |
| CIE-LAB | lab(62.54, 42.28, -23.68) |
| CIE-LCH | lch(62.54, 48.46, 330.75°) |
| OKLab | oklab(69.41% 0.1201 -0.064) |
| OKLCH | oklch(69.41% 0.136 331.9) |
| XYZ | xyz(41.9970, 31.0423, 54.8081) |
| Luminance | 0.3104 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.25
Lavender Pink
#DD85D7
ΔE00 4.35
Orchid
#DA70D6
ΔE00 4.87
Pale Magenta
#D767AD
ΔE00 6.07
Purplish Pink
#CE5DAE
ΔE00 7.19
Purply Pink
#F075E6
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7BC2 #7BCD86
analogous
#AF7BCD #CD7BC2 #CD7B99
triadic
#CD7BC2 #C2CD7B #7BC2CD
tetradic
#CD7BC2 #CDAF7B #7BCD86 #7B99CD
square
#CD7BC2 #CDAF7B #7BCD86 #7B99CD
split-complementary
#CD7BC2 #99CD7B #7BCDAF
monochromatic
#953889 #BC4FAD #CD7BC2 #DEA7D7 #EFD4EB
Accessibility & contrast
On white
2.91
#CD7BC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#CD7BC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7BC2
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7BC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7BC2 | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7990C5
Deuteranopia (green-blind)
#8E9BBF
Tritanopia (blue-blind)
#D38096
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #cd7bc2; /* rgb */ color: rgb(205, 123, 194); /* oklch */ color: oklch(69.4% 0.136 331.9);
Tailwind
colors: {
custom: {
50: '#dea3d4',
500: '#cd7bc2',
950: '#000000',
},
}SCSS
$custom: #cd7bc2; $custom-light: #dea3d4; $custom-dark: #000000;
JSON
{
"hex": "#cd7bc2",
"rgb": {
"r": 205,
"g": 123,
"b": 194
},
"hsl": {
"h": 308.049,
"s": 45.055,
"l": 64.314
},
"oklch": {
"l": 0.6941,
"c": 0.13614,
"h": 331.9
},
"luminance": 0.3104
}Semantic roles & 50–950 ramp
primary
#CD7BC2
secondary
#C4E0C7
accent
#B8402D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83