#CF7FD2#CF7FD2
#CF7FD2 is a light, vivid purple. Relative luminance 0.331; OKLCH L 70.9% C 0.146 H 325.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7FD2 |
|---|---|
| RGB | rgb(207, 127, 210) |
| HSL | hsl(298, 48%, 66%) |
| HSV | hsv(298, 40%, 82%) |
| CMYK | cmyk(1.4%, 39.5%, 0%, 17.6%) |
| CIE-LAB | lab(64.24, 43.70, -30.04) |
| CIE-LCH | lch(64.24, 53.03, 325.49°) |
| OKLab | oklab(70.94% 0.1202 -0.082) |
| OKLCH | oklch(70.94% 0.146 325.7) |
| XYZ | xyz(44.9533, 33.0992, 64.9811) |
| Luminance | 0.3310 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.91
Orchid (survey)
#C875C4
ΔE00 3.20
Orchid
#DA70D6
ΔE00 3.74
Purply Pink
#F075E6
ΔE00 5.83
Violet (CSS)
#EE82EE
ΔE00 5.87
Pale Purple
#B790D4
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7FD2 #82D27F
analogous
#A57FD2 #CF7FD2 #D27FAB
triadic
#CF7FD2 #D2CF7F #7FD2CF
tetradic
#CF7FD2 #D2A57F #82D27F #7FABD2
square
#CF7FD2 #D2A57F #82D27F #7FABD2
split-complementary
#CF7FD2 #ABD27F #7FD2A5
monochromatic
#9B389F #BE52C2 #CF7FD2 #E0ACE2 #F1DAF2
Accessibility & contrast
On white
2.76
#CF7FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#CF7FD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7FD2
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7FD2 | 1.00 | 2.76 | 7.62 | 7.62 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7895D5
Deuteranopia (green-blind)
#8D9FCF
Tritanopia (blue-blind)
#D3879F
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cf7fd2; /* rgb */ color: rgb(207, 127, 210); /* oklch */ color: oklch(70.9% 0.146 325.7);
Tailwind
colors: {
custom: {
50: '#dfa6e0',
500: '#cf7fd2',
950: '#000000',
},
}SCSS
$custom: #cf7fd2; $custom-light: #dfa6e0; $custom-dark: #000000;
JSON
{
"hex": "#cf7fd2",
"rgb": {
"r": 207,
"g": 127,
"b": 210
},
"hsl": {
"h": 297.831,
"s": 47.977,
"l": 66.078
},
"oklch": {
"l": 0.70942,
"c": 0.14555,
"h": 325.7
},
"luminance": 0.33097
}Semantic roles & 50–950 ramp
primary
#CF7FD2
secondary
#CAE4C9
accent
#BB2A2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83