#CF7CFC#CF7CFC
#CF7CFC is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.5% C 0.194 H 312.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7CFC |
|---|---|
| RGB | rgb(207, 124, 252) |
| HSL | hsl(279, 96%, 74%) |
| HSV | hsv(279, 51%, 99%) |
| CMYK | cmyk(17.9%, 50.8%, 0%, 1.2%) |
| CIE-LAB | lab(65.52, 53.60, -51.30) |
| CIE-LCH | lch(65.52, 74.19, 316.26°) |
| OKLab | oklab(72.51% 0.131 -0.1432) |
| OKLCH | oklch(72.51% 0.194 312.4) |
| XYZ | xyz(50.5074, 34.7101, 96.1157) |
| Luminance | 0.3471 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.05
Easter Purple
#C071FE
ΔE00 3.91
Liliac
#C48EFD
ΔE00 4.71
Light Urple
#B36FF6
ΔE00 5.96
Bright Lavender
#C760FF
ΔE00 6.10
Bright Lilac
#C95EFB
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7CFC #A9FC7C
analogous
#8F7CFC #CF7CFC #FC7CE9
triadic
#CF7CFC #FCCF7C #7CFCCF
tetradic
#CF7CFC #FC8F7C #A9FC7C #7CE9FC
square
#CF7CFC #FC8F7C #A9FC7C #7CE9FC
split-complementary
#CF7CFC #E9FC7C #7CFC8F
monochromatic
#A306F8 #B940FB #CF7CFC #E5B8FD #F4E1FE
Accessibility & contrast
On white
2.64
#CF7CFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#CF7CFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7CFC
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7CFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7CFC | 1.00 | 2.64 | 7.94 | 7.94 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#CA91B1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cf7cfc; /* rgb */ color: rgb(207, 124, 252); /* oklch */ color: oklch(72.5% 0.194 312.4);
Tailwind
colors: {
custom: {
50: '#e0a4fe',
500: '#cf7cfc',
950: '#000000',
},
}SCSS
$custom: #cf7cfc; $custom-light: #e0a4fe; $custom-dark: #000000;
JSON
{
"hex": "#cf7cfc",
"rgb": {
"r": 207,
"g": 124,
"b": 252
},
"hsl": {
"h": 278.906,
"s": 95.522,
"l": 73.725
},
"oklch": {
"l": 0.72514,
"c": 0.19408,
"h": 312.4
},
"luminance": 0.34709
}Semantic roles & 50–950 ramp
primary
#CF7CFC
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86