#CF7AC2#CF7AC2
#CF7AC2 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.5% C 0.139 H 332.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7AC2 |
|---|---|
| RGB | rgb(207, 122, 194) |
| HSL | hsl(309, 47%, 65%) |
| HSV | hsv(309, 41%, 81%) |
| CMYK | cmyk(0%, 41.1%, 6.3%, 18.8%) |
| CIE-LAB | lab(62.58, 43.44, -23.60) |
| CIE-LCH | lch(62.58, 49.44, 331.48°) |
| OKLab | oklab(69.49% 0.1239 -0.0638) |
| OKLCH | oklch(69.49% 0.139 332.8) |
| XYZ | xyz(42.4289, 31.0818, 54.7930) |
| Luminance | 0.3108 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.34
Lavender Pink
#DD85D7
ΔE00 4.31
Orchid
#DA70D6
ΔE00 4.68
Pale Magenta
#D767AD
ΔE00 5.75
Purplish Pink
#CE5DAE
ΔE00 6.96
Purply Pink
#F075E6
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7AC2 #7ACF87
analogous
#B17ACF #CF7AC2 #CF7A98
triadic
#CF7AC2 #C2CF7A #7AC2CF
tetradic
#CF7AC2 #CFB17A #7ACF87 #7A98CF
square
#CF7AC2 #CFB17A #7ACF87 #7A98CF
split-complementary
#CF7AC2 #98CF7A #7ACFB1
monochromatic
#983789 #BF4DAD #CF7AC2 #DFA7D7 #EFD4EB
Accessibility & contrast
On white
2.91
#CF7AC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#CF7AC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7AC2
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7AC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7AC2 | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7890C5
Deuteranopia (green-blind)
#8F9CBF
Tritanopia (blue-blind)
#D67F95
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #cf7ac2; /* rgb */ color: rgb(207, 122, 194); /* oklch */ color: oklch(69.5% 0.139 332.8);
Tailwind
colors: {
custom: {
50: '#dfa2d4',
500: '#cf7ac2',
950: '#000000',
},
}SCSS
$custom: #cf7ac2; $custom-light: #dfa2d4; $custom-dark: #000000;
JSON
{
"hex": "#cf7ac2",
"rgb": {
"r": 207,
"g": 122,
"b": 194
},
"hsl": {
"h": 309.176,
"s": 46.961,
"l": 64.51
},
"oklch": {
"l": 0.69487,
"c": 0.13937,
"h": 332.8
},
"luminance": 0.3108
}Semantic roles & 50–950 ramp
primary
#CF7AC2
secondary
#C4E1C8
accent
#BA412B
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83