#CF7DE2#CF7DE2
#CF7DE2 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.4% C 0.165 H 319.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7DE2 |
|---|---|
| RGB | rgb(207, 125, 226) |
| HSL | hsl(289, 64%, 69%) |
| HSV | hsv(289, 45%, 89%) |
| CMYK | cmyk(8.4%, 44.7%, 0%, 11.4%) |
| CIE-LAB | lab(64.50, 47.80, -38.55) |
| CIE-LCH | lch(64.50, 61.41, 321.11°) |
| OKLab | oklab(71.36% 0.1262 -0.1063) |
| OKLCH | oklch(71.36% 0.165 319.9) |
| XYZ | xyz(46.7915, 33.4253, 75.9237) |
| Luminance | 0.3342 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.07
Lavender Pink
#DD85D7
ΔE00 4.95
Violet (CSS)
#EE82EE
ΔE00 5.38
Orchid (survey)
#C875C4
ΔE00 5.42
Purply Pink
#F075E6
ΔE00 5.66
Light Purple
#BF77F6
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7DE2 #90E27D
analogous
#9D7DE2 #CF7DE2 #E27DC3
triadic
#CF7DE2 #E2CF7D #7DE2CF
tetradic
#CF7DE2 #E29D7D #90E27D #7DC3E2
square
#CF7DE2 #E29D7D #90E27D #7DC3E2
split-complementary
#CF7DE2 #C3E27D #7DE29D
monochromatic
#A02ABB #BD4BD7 #CF7DE2 #E1AFED #F4E1F8
Accessibility & contrast
On white
2.73
#CF7DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#CF7DE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7DE2
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7DE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7DE2 | 1.00 | 2.73 | 7.68 | 7.68 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E97E6
Deuteranopia (green-blind)
#849FDF
Tritanopia (blue-blind)
#D08AA5
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cf7de2; /* rgb */ color: rgb(207, 125, 226); /* oklch */ color: oklch(71.4% 0.165 319.9);
Tailwind
colors: {
custom: {
50: '#dfa5eb',
500: '#cf7de2',
950: '#000000',
},
}SCSS
$custom: #cf7de2; $custom-light: #dfa5eb; $custom-dark: #000000;
JSON
{
"hex": "#cf7de2",
"rgb": {
"r": 207,
"g": 125,
"b": 226
},
"hsl": {
"h": 288.713,
"s": 63.522,
"l": 68.824
},
"oklch": {
"l": 0.7136,
"c": 0.16504,
"h": 319.9
},
"luminance": 0.33424
}Semantic roles & 50–950 ramp
primary
#CF7DE2
secondary
#D4ECCE
accent
#CB1A3C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84