#CF7EC2#CF7EC2
#CF7EC2 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.1% C 0.132 H 332.9°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7EC2 |
|---|---|
| RGB | rgb(207, 126, 194) |
| HSL | hsl(310, 46%, 65%) |
| HSV | hsv(310, 39%, 81%) |
| CMYK | cmyk(0%, 39.1%, 6.3%, 18.8%) |
| CIE-LAB | lab(63.41, 41.33, -22.32) |
| CIE-LCH | lch(63.41, 46.98, 331.63°) |
| OKLab | oklab(70.12% 0.1179 -0.0602) |
| OKLCH | oklch(70.12% 0.132 332.9) |
| XYZ | xyz(42.9302, 32.0844, 54.9601) |
| Luminance | 0.3208 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.19
Lavender Pink
#DD85D7
ΔE00 4.03
Orchid
#DA70D6
ΔE00 5.44
Pale Magenta
#D767AD
ΔE00 6.30
Purply Pink
#F075E6
ΔE00 7.48
Purplish Pink
#CE5DAE
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7EC2 #7ECF8B
analogous
#B47ECF #CF7EC2 #CF7E99
triadic
#CF7EC2 #C2CF7E #7EC2CF
tetradic
#CF7EC2 #CFB47E #7ECF8B #7E99CF
square
#CF7EC2 #CFB47E #7ECF8B #7E99CF
split-complementary
#CF7EC2 #99CF7E #7ECFB4
monochromatic
#99398A #BE51AD #CF7EC2 #E0ABD7 #F0D7EC
Accessibility & contrast
On white
2.83
#CF7EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#CF7EC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7EC2
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7EC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7EC2 | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D92C4
Deuteranopia (green-blind)
#929EC0
Tritanopia (blue-blind)
#D68297
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cf7ec2; /* rgb */ color: rgb(207, 126, 194); /* oklch */ color: oklch(70.1% 0.132 332.9);
Tailwind
colors: {
custom: {
50: '#dfa5d4',
500: '#cf7ec2',
950: '#000000',
},
}SCSS
$custom: #cf7ec2; $custom-light: #dfa5d4; $custom-dark: #000000;
JSON
{
"hex": "#cf7ec2",
"rgb": {
"r": 207,
"g": 126,
"b": 194
},
"hsl": {
"h": 309.63,
"s": 45.763,
"l": 65.294
},
"oklch": {
"l": 0.70116,
"c": 0.13239,
"h": 332.9
},
"luminance": 0.32082
}Semantic roles & 50–950 ramp
primary
#CF7EC2
secondary
#C7E2CB
accent
#B9432D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83