#CF7BF2#CF7BF2
#CF7BF2 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.8% C 0.185 H 315.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7BF2 |
|---|---|
| RGB | rgb(207, 123, 242) |
| HSL | hsl(282, 82%, 72%) |
| HSV | hsv(282, 49%, 95%) |
| CMYK | cmyk(14.5%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(64.84, 52.04, -46.88) |
| CIE-LCH | lch(64.84, 70.04, 317.98°) |
| OKLab | oklab(71.85% 0.1313 -0.1304) |
| OKLCH | oklch(71.85% 0.185 315.2) |
| XYZ | xyz(48.8396, 33.8435, 87.9469) |
| Luminance | 0.3384 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.52
Easter Purple
#C071FE
ΔE00 4.63
Liliac
#C48EFD
ΔE00 5.39
Orchid
#DA70D6
ΔE00 6.06
Light Urple
#B36FF6
ΔE00 6.37
Bright Lilac
#C95EFB
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7BF2 #9EF27B
analogous
#947BF2 #CF7BF2 #F27BDA
triadic
#CF7BF2 #F2CF7B #7BF2CF
tetradic
#CF7BF2 #F2947B #9EF27B #7BDAF2
square
#CF7BF2 #F2947B #9EF27B #7BDAF2
split-complementary
#CF7BF2 #DAF27B #7BF294
monochromatic
#A216DD #BB43ED #CF7BF2 #E3B3F7 #F5E3FC
Accessibility & contrast
On white
2.70
#CF7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#CF7BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7BF2
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7BF2 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#CD8DAB
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cf7bf2; /* rgb */ color: rgb(207, 123, 242); /* oklch */ color: oklch(71.8% 0.185 315.2);
Tailwind
colors: {
custom: {
50: '#e0a4f7',
500: '#cf7bf2',
950: '#000000',
},
}SCSS
$custom: #cf7bf2; $custom-light: #e0a4f7; $custom-dark: #000000;
JSON
{
"hex": "#cf7bf2",
"rgb": {
"r": 207,
"g": 123,
"b": 242
},
"hsl": {
"h": 282.353,
"s": 82.069,
"l": 71.569
},
"oklch": {
"l": 0.71849,
"c": 0.18502,
"h": 315.2
},
"luminance": 0.33842
}Semantic roles & 50–950 ramp
primary
#CF7BF2
secondary
#DEF4D5
accent
#DE0746
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85