#CF7FF2#CF7FF2
#CF7FF2 is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.4% C 0.179 H 314.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7FF2 |
|---|---|
| RGB | rgb(207, 127, 242) |
| HSL | hsl(282, 82%, 72%) |
| HSV | hsv(282, 48%, 95%) |
| CMYK | cmyk(14.5%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(65.64, 49.98, -45.63) |
| CIE-LCH | lch(65.64, 67.67, 317.61°) |
| OKLab | oklab(72.44% 0.1258 -0.1268) |
| OKLCH | oklch(72.44% 0.179 314.8) |
| XYZ | xyz(49.3460, 34.8563, 88.1157) |
| Luminance | 0.3486 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.94
Liliac
#C48EFD
ΔE00 4.75
Easter Purple
#C071FE
ΔE00 5.21
Violet (CSS)
#EE82EE
ΔE00 6.15
Orchid
#DA70D6
ΔE00 6.34
Light Urple
#B36FF6
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7FF2 #A2F27F
analogous
#967FF2 #CF7FF2 #F27FDC
triadic
#CF7FF2 #F2CF7F #7FF2CF
tetradic
#CF7FF2 #F2967F #A2F27F #7FDCF2
square
#CF7FF2 #F2967F #A2F27F #7FDCF2
split-complementary
#CF7FF2 #DCF27F #7FF296
monochromatic
#A317E0 #BA47EC #CF7FF2 #E4B7F8 #F5E3FC
Accessibility & contrast
On white
2.63
#CF7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#CF7FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7FF2
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7FF2 | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#7EA2EF
Tritanopia (blue-blind)
#CD90AD
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cf7ff2; /* rgb */ color: rgb(207, 127, 242); /* oklch */ color: oklch(72.4% 0.179 314.8);
Tailwind
colors: {
custom: {
50: '#e0a6f7',
500: '#cf7ff2',
950: '#000000',
},
}SCSS
$custom: #cf7ff2; $custom-light: #e0a6f7; $custom-dark: #000000;
JSON
{
"hex": "#cf7ff2",
"rgb": {
"r": 207,
"g": 127,
"b": 242
},
"hsl": {
"h": 281.739,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.72441,
"c": 0.17863,
"h": 314.8
},
"luminance": 0.34855
}Semantic roles & 50–950 ramp
primary
#CF7FF2
secondary
#E0F4D7
accent
#DE0849
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85