#CF7DFA#CF7DFA
#CF7DFA is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.6% C 0.190 H 312.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7DFA |
|---|---|
| RGB | rgb(207, 125, 250) |
| HSL | hsl(279, 93%, 74%) |
| HSV | hsv(279, 50%, 98%) |
| CMYK | cmyk(17.2%, 50%, 0%, 2%) |
| CIE-LAB | lab(65.62, 52.67, -50.05) |
| CIE-LCH | lch(65.62, 72.65, 316.46°) |
| OKLab | oklab(72.56% 0.1295 -0.1396) |
| OKLCH | oklch(72.56% 0.19 312.8) |
| XYZ | xyz(50.3181, 34.8359, 94.4973) |
| Luminance | 0.3483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.20
Easter Purple
#C071FE
ΔE00 4.19
Liliac
#C48EFD
ΔE00 4.59
Light Urple
#B36FF6
ΔE00 6.16
Bright Lavender
#C760FF
ΔE00 6.37
Bright Lilac
#C95EFB
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7DFA #A8FA7D
analogous
#907DFA #CF7DFA #FA7DE6
triadic
#CF7DFA #FACF7D #7DFACF
tetradic
#CF7DFA #FA907D #A8FA7D #7DE6FA
square
#CF7DFA #FA907D #A8FA7D #7DE6FA
split-complementary
#CF7DFA #E6FA7D #7DFA90
monochromatic
#A309F3 #B942F8 #CF7DFA #E5B8FC #F4E2FE
Accessibility & contrast
On white
2.64
#CF7DFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#CF7DFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7DFA
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7DFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7DFA | 1.00 | 2.64 | 7.97 | 7.97 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#78A1F7
Tritanopia (blue-blind)
#CB91B0
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cf7dfa; /* rgb */ color: rgb(207, 125, 250); /* oklch */ color: oklch(72.6% 0.190 312.8);
Tailwind
colors: {
custom: {
50: '#e0a5fc',
500: '#cf7dfa',
950: '#000000',
},
}SCSS
$custom: #cf7dfa; $custom-light: #e0a5fc; $custom-dark: #000000;
JSON
{
"hex": "#cf7dfa",
"rgb": {
"r": 207,
"g": 125,
"b": 250
},
"hsl": {
"h": 279.36,
"s": 92.593,
"l": 73.529
},
"oklch": {
"l": 0.72555,
"c": 0.19039,
"h": 312.8
},
"luminance": 0.34835
}Semantic roles & 50–950 ramp
primary
#CF7DFA
secondary
#E0F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85