#CF51C3#CF51C3
#CF51C3 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.0% C 0.205 H 331.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CF51C3 |
|---|---|
| RGB | rgb(207, 81, 195) |
| HSL | hsl(306, 57%, 56%) |
| HSV | hsv(306, 61%, 81%) |
| CMYK | cmyk(0%, 60.9%, 5.8%, 18.8%) |
| CIE-LAB | lab(55.17, 63.27, -35.65) |
| CIE-LCH | lch(55.17, 72.62, 330.60°) |
| OKLab | oklab(64.01% 0.1806 -0.0977) |
| OKLCH | oklch(64.01% 0.205 331.6) |
| XYZ | xyz(38.5248, 23.0932, 54.0475) |
| Luminance | 0.2309 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 1.81
Purpleish Pink
#DF4EC8
ΔE00 2.73
Pinkish Purple
#D648D7
ΔE00 3.35
Purpley Pink
#C83CB9
ΔE00 4.52
Purplish Pink
#CE5DAE
ΔE00 5.09
Mediumorchid
#BA55D3
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF51C3 #51CF5D
analogous
#9C51CF #CF51C3 #CF5184
triadic
#CF51C3 #C3CF51 #51C3CF
tetradic
#CF51C3 #CF9C51 #51CF5D #5184CF
square
#CF51C3 #CF9C51 #51CF5D #5184CF
split-complementary
#CF51C3 #84CF51 #51CF9C
monochromatic
#822479 #B231A6 #CF51C3 #DC81D4 #E9B1E4
Accessibility & contrast
On white
3.74
#CF51C3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#CF51C3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF51C3
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF51C3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF51C3 | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B79C6
Deuteranopia (green-blind)
#748AC0
Tritanopia (blue-blind)
#D75C83
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #cf51c3; /* rgb */ color: rgb(207, 81, 195); /* oklch */ color: oklch(64.0% 0.205 331.6);
Tailwind
colors: {
custom: {
50: '#e189d5',
500: '#cf51c3',
950: '#000000',
},
}SCSS
$custom: #cf51c3; $custom-light: #e189d5; $custom-dark: #000000;
JSON
{
"hex": "#cf51c3",
"rgb": {
"r": 207,
"g": 81,
"b": 195
},
"hsl": {
"h": 305.714,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.64012,
"c": 0.20535,
"h": 331.6
},
"luminance": 0.2309
}Semantic roles & 50–950 ramp
primary
#CF51C3
secondary
#A4D8A9
accent
#E05648
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83