#CF7DFC#CF7DFC
#CF7DFC is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.7% C 0.193 H 312.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7DFC |
|---|---|
| RGB | rgb(207, 125, 252) |
| HSL | hsl(279, 95%, 74%) |
| HSV | hsv(279, 50%, 99%) |
| CMYK | cmyk(17.9%, 50.4%, 0%, 1.2%) |
| CIE-LAB | lab(65.72, 53.09, -50.99) |
| CIE-LCH | lch(65.72, 73.61, 316.16°) |
| OKLab | oklab(72.66% 0.1297 -0.1423) |
| OKLCH | oklch(72.66% 0.193 312.3) |
| XYZ | xyz(50.6334, 34.9620, 96.1576) |
| Luminance | 0.3496 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.15
Easter Purple
#C071FE
ΔE00 4.06
Liliac
#C48EFD
ΔE00 4.53
Light Urple
#B36FF6
ΔE00 6.09
Bright Lavender
#C760FF
ΔE00 6.31
Bright Lilac
#C95EFB
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7DFC #AAFC7D
analogous
#907DFC #CF7DFC #FC7DEA
triadic
#CF7DFC #FCCF7D #7DFCCF
tetradic
#CF7DFC #FC907D #AAFC7D #7DEAFC
square
#CF7DFC #FC907D #AAFC7D #7DEAFC
split-complementary
#CF7DFC #EAFC7D #7DFC90
monochromatic
#A306F9 #B941FB #CF7DFC #E5B9FD #F4E1FE
Accessibility & contrast
On white
2.63
#CF7DFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#CF7DFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7DFC
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7DFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7DFC | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#77A1F9
Tritanopia (blue-blind)
#CA92B1
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cf7dfc; /* rgb */ color: rgb(207, 125, 252); /* oklch */ color: oklch(72.7% 0.193 312.3);
Tailwind
colors: {
custom: {
50: '#e0a5fe',
500: '#cf7dfc',
950: '#000000',
},
}SCSS
$custom: #cf7dfc; $custom-light: #e0a5fe; $custom-dark: #000000;
JSON
{
"hex": "#cf7dfc",
"rgb": {
"r": 207,
"g": 125,
"b": 252
},
"hsl": {
"h": 278.74,
"s": 95.489,
"l": 73.922
},
"oklch": {
"l": 0.72659,
"c": 0.19253,
"h": 312.3
},
"luminance": 0.34961
}Semantic roles & 50–950 ramp
primary
#CF7DFC
secondary
#E1F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86