#CF7CDC#CF7CDC
#CF7CDC is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.9% C 0.161 H 322.0°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7CDC |
|---|---|
| RGB | rgb(207, 124, 220) |
| HSL | hsl(292, 58%, 67%) |
| HSV | hsv(292, 44%, 86%) |
| CMYK | cmyk(5.9%, 43.6%, 0%, 13.7%) |
| CIE-LAB | lab(64.04, 47.16, -35.94) |
| CIE-LCH | lch(64.04, 59.29, 322.69°) |
| OKLab | oklab(70.93% 0.1266 -0.0988) |
| OKLCH | oklch(70.93% 0.161 322) |
| XYZ | xyz(45.8566, 32.8498, 71.6214) |
| Luminance | 0.3285 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.35
Lavender Pink
#DD85D7
ΔE00 4.29
Orchid (survey)
#C875C4
ΔE00 4.37
Purply Pink
#F075E6
ΔE00 5.45
Violet (CSS)
#EE82EE
ΔE00 5.45
Light Purple
#BF77F6
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7CDC #89DC7C
analogous
#9F7CDC #CF7CDC #DC7CB9
triadic
#CF7CDC #DCCF7C #7CDCCF
tetradic
#CF7CDC #DC9F7C #89DC7C #7CB9DC
square
#CF7CDC #DC9F7C #89DC7C #7CB9DC
split-complementary
#CF7CDC #B9DC7C #7CDC9F
monochromatic
#9E2FAF #BD4CCF #CF7CDC #E1ACE9 #F2DDF6
Accessibility & contrast
On white
2.77
#CF7CDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#CF7CDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7CDC
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7CDC | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7095DF
Deuteranopia (green-blind)
#869ED9
Tritanopia (blue-blind)
#D188A2
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cf7cdc; /* rgb */ color: rgb(207, 124, 220); /* oklch */ color: oklch(70.9% 0.161 322.0);
Tailwind
colors: {
custom: {
50: '#dfa4e7',
500: '#cf7cdc',
950: '#000000',
},
}SCSS
$custom: #cf7cdc; $custom-light: #dfa4e7; $custom-dark: #000000;
JSON
{
"hex": "#cf7cdc",
"rgb": {
"r": 207,
"g": 124,
"b": 220
},
"hsl": {
"h": 291.875,
"s": 57.831,
"l": 67.451
},
"oklch": {
"l": 0.70928,
"c": 0.1606,
"h": 322
},
"luminance": 0.32848
}Semantic roles & 50–950 ramp
primary
#CF7CDC
secondary
#CFE9CB
accent
#C52036
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84