#CF52F2#CF52F2
#CF52F2 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.7% C 0.244 H 318.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #CF52F2 |
|---|---|
| RGB | rgb(207, 82, 242) |
| HSL | hsl(287, 86%, 64%) |
| HSV | hsv(287, 66%, 95%) |
| CMYK | cmyk(14.5%, 66.1%, 0%, 5.1%) |
| CIE-LAB | lab(57.76, 71.10, -58.12) |
| CIE-LCH | lch(57.76, 91.83, 320.74°) |
| OKLab | oklab(66.68% 0.1812 -0.1629) |
| OKLCH | oklch(66.68% 0.244 318) |
| XYZ | xyz(44.7742, 25.7127, 86.5918) |
| Luminance | 0.2571 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.57
Bright Lilac
#C95EFB
ΔE00 2.57
Bright Lavender
#C760FF
ΔE00 3.32
Pinkish Purple
#D648D7
ΔE00 4.72
Mediumorchid
#BA55D3
ΔE00 5.15
Pink Purple
#EF1DE7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF52F2 #75F252
analogous
#7F52F2 #CF52F2 #F252C5
triadic
#CF52F2 #F2CF52 #52F2CF
tetradic
#CF52F2 #F27F52 #75F252 #52C5F2
square
#CF52F2 #F27F52 #75F252 #52C5F2
split-complementary
#CF52F2 #C5F252 #52F27F
monochromatic
#960EBC #BF19EE #CF52F2 #DF8BF6 #EFC4FB
Accessibility & contrast
On white
3.42
#CF52F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#CF52F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF52F2
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF52F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF52F2 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0683F7
Deuteranopia (green-blind)
#598FEE
Tritanopia (blue-blind)
#CE709C
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #cf52f2; /* rgb */ color: rgb(207, 82, 242); /* oklch */ color: oklch(66.7% 0.244 318.0);
Tailwind
colors: {
custom: {
50: '#e28bf7',
500: '#cf52f2',
950: '#000000',
},
}SCSS
$custom: #cf52f2; $custom-light: #e28bf7; $custom-dark: #000000;
JSON
{
"hex": "#cf52f2",
"rgb": {
"r": 207,
"g": 82,
"b": 242
},
"hsl": {
"h": 286.875,
"s": 86.022,
"l": 63.529
},
"oklch": {
"l": 0.66682,
"c": 0.24365,
"h": 318
},
"luminance": 0.25711
}Semantic roles & 50–950 ramp
primary
#CF52F2
secondary
#C0ECB4
accent
#E30334
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85