#CF7FFC#CF7FFC
#CF7FFC is a light, vivid violet. Relative luminance 0.355; OKLCH L 73.0% C 0.189 H 312.1°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7FFC |
|---|---|
| RGB | rgb(207, 127, 252) |
| HSL | hsl(278, 95%, 74%) |
| HSV | hsv(278, 50%, 99%) |
| CMYK | cmyk(17.9%, 49.6%, 0%, 1.2%) |
| CIE-LAB | lab(66.12, 52.06, -50.36) |
| CIE-LCH | lch(66.12, 72.43, 315.95°) |
| OKLab | oklab(72.95% 0.127 -0.1405) |
| OKLCH | oklch(72.95% 0.189 312.1) |
| XYZ | xyz(50.8891, 35.4735, 96.2429) |
| Luminance | 0.3547 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.39
Liliac
#C48EFD
ΔE00 4.16
Easter Purple
#C071FE
ΔE00 4.39
Light Urple
#B36FF6
ΔE00 6.36
Bright Lavender
#C760FF
ΔE00 6.73
Bright Lilac
#C95EFB
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7FFC #ACFC7F
analogous
#917FFC #CF7FFC #FC7FEB
triadic
#CF7FFC #FCCF7F #7FFCCF
tetradic
#CF7FFC #FC917F #ACFC7F #7FEBFC
square
#CF7FFC #FC917F #ACFC7F #7FEBFC
split-complementary
#CF7FFC #EBFC7F #7FFC91
monochromatic
#A207F9 #B943FB #CF7FFC #E5BBFD #F4E1FE
Accessibility & contrast
On white
2.59
#CF7FFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#CF7FFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7FFC
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7FFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7FFC | 1.00 | 2.59 | 8.09 | 8.09 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#79A2F9
Tritanopia (blue-blind)
#CA93B2
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #cf7ffc; /* rgb */ color: rgb(207, 127, 252); /* oklch */ color: oklch(73.0% 0.189 312.1);
Tailwind
colors: {
custom: {
50: '#e0a6fe',
500: '#cf7ffc',
950: '#000000',
},
}SCSS
$custom: #cf7ffc; $custom-light: #e0a6fe; $custom-dark: #000000;
JSON
{
"hex": "#cf7ffc",
"rgb": {
"r": 207,
"g": 127,
"b": 252
},
"hsl": {
"h": 278.4,
"s": 95.42,
"l": 74.314
},
"oklch": {
"l": 0.72953,
"c": 0.18942,
"h": 312.1
},
"luminance": 0.35472
}Semantic roles & 50–950 ramp
primary
#CF7FFC
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151018
muted
#847F86