#CF7BFB#CF7BFB
#CF7BFB is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.3% C 0.195 H 312.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7BFB |
|---|---|
| RGB | rgb(207, 123, 251) |
| HSL | hsl(279, 94%, 73%) |
| HSV | hsv(279, 51%, 98%) |
| CMYK | cmyk(17.5%, 51%, 0%, 1.6%) |
| CIE-LAB | lab(65.28, 53.90, -51.14) |
| CIE-LCH | lch(65.28, 74.30, 316.50°) |
| OKLab | oklab(72.32% 0.1322 -0.1428) |
| OKLCH | oklch(72.32% 0.195 312.8) |
| XYZ | xyz(50.2247, 34.3975, 95.2417) |
| Luminance | 0.3440 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.98
Easter Purple
#C071FE
ΔE00 3.82
Liliac
#C48EFD
ΔE00 4.93
Light Urple
#B36FF6
ΔE00 5.87
Bright Lavender
#C760FF
ΔE00 5.92
Bright Lilac
#C95EFB
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7BFB #A7FB7B
analogous
#8F7BFB #CF7BFB #FB7BE7
triadic
#CF7BFB #FBCF7B #7BFBCF
tetradic
#CF7BFB #FB8F7B #A7FB7B #7BE7FB
square
#CF7BFB #FB8F7B #A7FB7B #7BE7FB
split-complementary
#CF7BFB #E7FB7B #7BFB8F
monochromatic
#A307F4 #B940F9 #CF7BFB #E5B6FD #F4E1FE
Accessibility & contrast
On white
2.67
#CF7BFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#CF7BFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7BFB
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7BFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7BFB | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#76A0F8
Tritanopia (blue-blind)
#CB90B0
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cf7bfb; /* rgb */ color: rgb(207, 123, 251); /* oklch */ color: oklch(72.3% 0.195 312.8);
Tailwind
colors: {
custom: {
50: '#e0a4fd',
500: '#cf7bfb',
950: '#000000',
},
}SCSS
$custom: #cf7bfb; $custom-light: #e0a4fd; $custom-dark: #000000;
JSON
{
"hex": "#cf7bfb",
"rgb": {
"r": 207,
"g": 123,
"b": 251
},
"hsl": {
"h": 279.375,
"s": 94.118,
"l": 73.333
},
"oklch": {
"l": 0.72316,
"c": 0.19456,
"h": 312.8
},
"luminance": 0.34396
}Semantic roles & 50–950 ramp
primary
#CF7BFB
secondary
#E0F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86