#CF79E7#CF79E7
#CF79E7 is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.0% C 0.177 H 318.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CF79E7 |
|---|---|
| RGB | rgb(207, 121, 231) |
| HSL | hsl(287, 70%, 69%) |
| HSV | hsv(287, 48%, 91%) |
| CMYK | cmyk(10.4%, 47.6%, 0%, 9.4%) |
| CIE-LAB | lab(63.93, 50.85, -42.23) |
| CIE-LCH | lch(63.93, 66.10, 320.29°) |
| OKLab | oklab(71% 0.1326 -0.1169) |
| OKLCH | oklch(71% 0.177 318.6) |
| XYZ | xyz(46.9914, 32.7113, 79.4244) |
| Luminance | 0.3271 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.36
Light Purple
#BF77F6
ΔE00 4.70
Easter Purple
#C071FE
ΔE00 5.85
Violet (CSS)
#EE82EE
ΔE00 5.89
Purply Pink
#F075E6
ΔE00 5.94
Lavender Pink
#DD85D7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF79E7 #91E779
analogous
#9879E7 #CF79E7 #E779C8
triadic
#CF79E7 #E7CF79 #79E7CF
tetradic
#CF79E7 #E79879 #91E779 #79C8E7
square
#CF79E7 #E79879 #91E779 #79C8E7
split-complementary
#CF79E7 #C8E779 #79E798
monochromatic
#A023C3 #BC45DE #CF79E7 #E2ADF0 #F4E1FA
Accessibility & contrast
On white
2.78
#CF79E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#CF79E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF79E7
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF79E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF79E7 | 1.00 | 2.78 | 7.54 | 7.54 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6695EB
Deuteranopia (green-blind)
#7F9EE4
Tritanopia (blue-blind)
#CF88A5
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cf79e7; /* rgb */ color: rgb(207, 121, 231); /* oklch */ color: oklch(71.0% 0.177 318.6);
Tailwind
colors: {
custom: {
50: '#e0a2ef',
500: '#cf79e7',
950: '#000000',
},
}SCSS
$custom: #cf79e7; $custom-light: #e0a2ef; $custom-dark: #000000;
JSON
{
"hex": "#cf79e7",
"rgb": {
"r": 207,
"g": 121,
"b": 231
},
"hsl": {
"h": 286.909,
"s": 69.62,
"l": 69.02
},
"oklch": {
"l": 0.71004,
"c": 0.17675,
"h": 318.6
},
"luminance": 0.3271
}Semantic roles & 50–950 ramp
primary
#CF79E7
secondary
#D5EECE
accent
#D2143D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84