#CF7CFB#CF7CFB
#CF7CFB is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.5% C 0.193 H 312.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7CFB |
|---|---|
| RGB | rgb(207, 124, 251) |
| HSL | hsl(279, 94%, 74%) |
| HSV | hsv(279, 51%, 98%) |
| CMYK | cmyk(17.5%, 50.6%, 0%, 1.6%) |
| CIE-LAB | lab(65.47, 53.39, -50.83) |
| CIE-LCH | lch(65.47, 73.72, 316.41°) |
| OKLab | oklab(72.46% 0.1309 -0.1419) |
| OKLCH | oklch(72.46% 0.193 312.7) |
| XYZ | xyz(50.3494, 34.6469, 95.2833) |
| Luminance | 0.3465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.07
Easter Purple
#C071FE
ΔE00 3.97
Liliac
#C48EFD
ΔE00 4.74
Light Urple
#B36FF6
ΔE00 5.99
Bright Lavender
#C760FF
ΔE00 6.13
Bright Lilac
#C95EFB
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7CFB #A8FB7C
analogous
#8F7CFB #CF7CFB #FB7CE7
triadic
#CF7CFB #FBCF7C #7CFBCF
tetradic
#CF7CFB #FB8F7C #A8FB7C #7CE7FB
square
#CF7CFB #FB8F7C #A8FB7C #7CE7FB
split-complementary
#CF7CFB #E7FB7C #7CFB8F
monochromatic
#A307F5 #B941F9 #CF7CFB #E5B7FD #F4E1FE
Accessibility & contrast
On white
2.65
#CF7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#CF7CFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7CFB
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7CFB | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#CB91B0
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cf7cfb; /* rgb */ color: rgb(207, 124, 251); /* oklch */ color: oklch(72.5% 0.193 312.7);
Tailwind
colors: {
custom: {
50: '#e0a4fd',
500: '#cf7cfb',
950: '#000000',
},
}SCSS
$custom: #cf7cfb; $custom-light: #e0a4fd; $custom-dark: #000000;
JSON
{
"hex": "#cf7cfb",
"rgb": {
"r": 207,
"g": 124,
"b": 251
},
"hsl": {
"h": 279.213,
"s": 94.074,
"l": 73.529
},
"oklch": {
"l": 0.72461,
"c": 0.19302,
"h": 312.7
},
"luminance": 0.34646
}Semantic roles & 50–950 ramp
primary
#CF7CFB
secondary
#E0F6D5
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86