#CF56C2#CF56C2
#CF56C2 is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.5% C 0.197 H 332.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CF56C2 |
|---|---|
| RGB | rgb(207, 86, 194) |
| HSL | hsl(306, 56%, 57%) |
| HSV | hsv(306, 58%, 81%) |
| CMYK | cmyk(0%, 58.5%, 6.3%, 18.8%) |
| CIE-LAB | lab(55.91, 60.96, -33.93) |
| CIE-LCH | lch(55.91, 69.77, 330.90°) |
| OKLab | oklab(64.54% 0.1743 -0.0928) |
| OKLCH | oklch(64.54% 0.197 332) |
| XYZ | xyz(38.7974, 23.8188, 53.5825) |
| Luminance | 0.2382 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 2.58
Pinky Purple
#C94CBE
ΔE00 2.59
Pinkish Purple
#D648D7
ΔE00 3.93
Purplish Pink
#CE5DAE
ΔE00 4.43
Purpley Pink
#C83CB9
ΔE00 5.36
Mediumorchid
#BA55D3
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF56C2 #56CF63
analogous
#9F56CF #CF56C2 #CF5686
triadic
#CF56C2 #C2CF56 #56C2CF
tetradic
#CF56C2 #CF9F56 #56CF63 #5686CF
square
#CF56C2 #CF9F56 #56CF63 #5686CF
split-complementary
#CF56C2 #86CF56 #56CF9F
monochromatic
#85267B #B533A7 #CF56C2 #DD86D3 #EAB5E4
Accessibility & contrast
On white
3.64
#CF56C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#CF56C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF56C2
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF56C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF56C2 | 1.00 | 3.64 | 5.76 | 5.76 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#517BC5
Deuteranopia (green-blind)
#788CBF
Tritanopia (blue-blind)
#D76084
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #cf56c2; /* rgb */ color: rgb(207, 86, 194); /* oklch */ color: oklch(64.5% 0.197 332.0);
Tailwind
colors: {
custom: {
50: '#e18cd5',
500: '#cf56c2',
950: '#000000',
},
}SCSS
$custom: #cf56c2; $custom-light: #e18cd5; $custom-dark: #000000;
JSON
{
"hex": "#cf56c2",
"rgb": {
"r": 207,
"g": 86,
"b": 194
},
"hsl": {
"h": 306.446,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.64537,
"c": 0.19746,
"h": 332
},
"luminance": 0.23816
}Semantic roles & 50–950 ramp
primary
#CF56C2
secondary
#A8D9AD
accent
#DF5949
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160D14
muted
#847D83