#CF51D1#CF51D1
#CF51D1 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.217 H 327.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CF51D1 |
|---|---|
| RGB | rgb(207, 81, 209) |
| HSL | hsl(299, 58%, 57%) |
| HSV | hsv(299, 61%, 82%) |
| CMYK | cmyk(1%, 61.2%, 0%, 18%) |
| CIE-LAB | lab(55.84, 65.60, -42.59) |
| CIE-LCH | lch(55.84, 78.21, 327.00°) |
| OKLab | oklab(64.72% 0.1819 -0.1177) |
| OKLCH | oklch(64.72% 0.217 327.1) |
| XYZ | xyz(40.1825, 23.7563, 62.7782) |
| Luminance | 0.2375 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 1.50
Pinky Purple
#C94CBE
ΔE00 3.34
Purpleish Pink
#DF4EC8
ΔE00 3.71
Mediumorchid
#BA55D3
ΔE00 3.99
Purple Pink
#D725DE
ΔE00 5.02
Heliotrope
#D94FF5
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF51D1 #53D151
analogous
#8F51D1 #CF51D1 #D15193
triadic
#CF51D1 #D1CF51 #51D1CF
tetradic
#CF51D1 #D18F51 #53D151 #5193D1
square
#CF51D1 #D18F51 #53D151 #5193D1
split-complementary
#CF51D1 #93D151 #51D18F
monochromatic
#832385 #B330B5 #CF51D1 #DC81DE #EAB2EB
Accessibility & contrast
On white
3.65
#CF51D1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#CF51D1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF51D1
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF51D1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF51D1 | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#407BD5
Deuteranopia (green-blind)
#6E8CCE
Tritanopia (blue-blind)
#D5628A
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #cf51d1; /* rgb */ color: rgb(207, 81, 209); /* oklch */ color: oklch(64.7% 0.217 327.1);
Tailwind
colors: {
custom: {
50: '#e18adf',
500: '#cf51d1',
950: '#000000',
},
}SCSS
$custom: #cf51d1; $custom-light: #e18adf; $custom-dark: #000000;
JSON
{
"hex": "#cf51d1",
"rgb": {
"r": 207,
"g": 81,
"b": 209
},
"hsl": {
"h": 299.063,
"s": 58.182,
"l": 56.863
},
"oklch": {
"l": 0.64723,
"c": 0.21664,
"h": 327.1
},
"luminance": 0.23754
}Semantic roles & 50–950 ramp
primary
#CF51D1
secondary
#A6D9A5
accent
#E14649
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83