#CF7CF2#CF7CF2
#CF7CF2 is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.0% C 0.183 H 315.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7CF2 |
|---|---|
| RGB | rgb(207, 124, 242) |
| HSL | hsl(282, 82%, 72%) |
| HSV | hsv(282, 49%, 95%) |
| CMYK | cmyk(14.5%, 48.8%, 0%, 5.1%) |
| CIE-LAB | lab(65.04, 51.53, -46.57) |
| CIE-LCH | lch(65.04, 69.45, 317.89°) |
| OKLab | oklab(72% 0.1299 -0.1295) |
| OKLCH | oklch(72% 0.183 315.1) |
| XYZ | xyz(48.9643, 34.0929, 87.9884) |
| Luminance | 0.3409 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.61
Easter Purple
#C071FE
ΔE00 4.77
Liliac
#C48EFD
ΔE00 5.23
Orchid
#DA70D6
ΔE00 6.12
Violet (CSS)
#EE82EE
ΔE00 6.34
Light Urple
#B36FF6
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7CF2 #9FF27C
analogous
#947CF2 #CF7CF2 #F27CDA
triadic
#CF7CF2 #F2CF7C #7CF2CF
tetradic
#CF7CF2 #F2947C #9FF27C #7CDAF2
square
#CF7CF2 #F2947C #9FF27C #7CDAF2
split-complementary
#CF7CF2 #DAF27C #7CF294
monochromatic
#A216DE #BB44EC #CF7CF2 #E3B4F8 #F5E3FC
Accessibility & contrast
On white
2.69
#CF7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#CF7CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7CF2
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7CF2 | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#7CA0EF
Tritanopia (blue-blind)
#CD8EAC
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cf7cf2; /* rgb */ color: rgb(207, 124, 242); /* oklch */ color: oklch(72.0% 0.183 315.1);
Tailwind
colors: {
custom: {
50: '#e0a4f7',
500: '#cf7cf2',
950: '#000000',
},
}SCSS
$custom: #cf7cf2; $custom-light: #e0a4f7; $custom-dark: #000000;
JSON
{
"hex": "#cf7cf2",
"rgb": {
"r": 207,
"g": 124,
"b": 242
},
"hsl": {
"h": 282.203,
"s": 81.944,
"l": 71.765
},
"oklch": {
"l": 0.71996,
"c": 0.18342,
"h": 315.1
},
"luminance": 0.34092
}Semantic roles & 50–950 ramp
primary
#CF7CF2
secondary
#DFF4D6
accent
#DE0747
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85