#CF51F9#CF51F9
#CF51F9 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 67.0% C 0.251 H 316.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #CF51F9 |
|---|---|
| RGB | rgb(207, 81, 249) |
| HSL | hsl(285, 93%, 65%) |
| HSV | hsv(285, 67%, 98%) |
| CMYK | cmyk(16.9%, 67.5%, 0%, 2.4%) |
| CIE-LAB | lab(58.03, 72.82, -61.58) |
| CIE-LCH | lch(58.03, 95.37, 319.78°) |
| OKLab | oklab(67% 0.1819 -0.173) |
| OKLCH | oklch(67% 0.251 316.4) |
| XYZ | xyz(45.7708, 25.9916, 92.2100) |
| Luminance | 0.2599 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.90
Bright Lilac
#C95EFB
ΔE00 2.14
Bright Lavender
#C760FF
ΔE00 2.78
Pinkish Purple
#D648D7
ΔE00 5.62
Mediumorchid
#BA55D3
ΔE00 5.87
Easter Purple
#C071FE
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF51F9 #7BF951
analogous
#7B51F9 #CF51F9 #F951CF
triadic
#CF51F9 #F9CF51 #51F9CF
tetradic
#CF51F9 #F97B51 #7BF951 #51CFF9
square
#CF51F9 #F97B51 #7BF951 #51CFF9
split-complementary
#CF51F9 #CFF951 #51F97B
monochromatic
#9807C9 #BF16F7 #CF51F9 #DF8CFB #F0C7FD
Accessibility & contrast
On white
3.39
#CF51F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#CF51F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF51F9
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF51F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF51F9 | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0084FE
Deuteranopia (green-blind)
#528FF5
Tritanopia (blue-blind)
#CD729F
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #cf51f9; /* rgb */ color: rgb(207, 81, 249); /* oklch */ color: oklch(67.0% 0.251 316.4);
Tailwind
colors: {
custom: {
50: '#e28bfc',
500: '#cf51f9',
950: '#000000',
},
}SCSS
$custom: #cf51f9; $custom-light: #e28bfc; $custom-dark: #000000;
JSON
{
"hex": "#cf51f9",
"rgb": {
"r": 207,
"g": 81,
"b": 249
},
"hsl": {
"h": 285,
"s": 93.333,
"l": 64.706
},
"oklch": {
"l": 0.67004,
"c": 0.25104,
"h": 316.4
},
"luminance": 0.2599
}Semantic roles & 50–950 ramp
primary
#CF51F9
secondary
#C4F0B6
accent
#E60039
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86