#C752FC#C752FC
#C752FC is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.3% C 0.250 H 313.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #C752FC |
|---|---|
| RGB | rgb(199, 82, 252) |
| HSL | hsl(281, 97%, 65%) |
| HSV | hsv(281, 67%, 99%) |
| CMYK | cmyk(21%, 67.5%, 0%, 1.2%) |
| CIE-LAB | lab(57.28, 71.35, -64.52) |
| CIE-LCH | lch(57.28, 96.19, 317.88°) |
| OKLab | oklab(66.3% 0.1711 -0.1819) |
| OKLCH | oklch(66.3% 0.25 313.3) |
| XYZ | xyz(44.1381, 25.2063, 94.6168) |
| Luminance | 0.2520 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.21
Bright Lavender
#C760FF
ΔE00 2.53
Heliotrope
#D94FF5
ΔE00 3.41
Lighter Purple
#A55AF4
ΔE00 5.61
Easter Purple
#C071FE
ΔE00 5.75
Light Urple
#B36FF6
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C752FC #87FC52
analogous
#7252FC #C752FC #FC52DC
triadic
#C752FC #FCC752 #52FCC7
tetradic
#C752FC #FC7252 #87FC52 #52DCFC
square
#C752FC #FC7252 #87FC52 #52DCFC
split-complementary
#C752FC #DCFC52 #52FC72
monochromatic
#9004D0 #B416FB #C752FC #DA8EFD #EECAFE
Accessibility & contrast
On white
3.48
#C752FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#C752FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C752FC
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C752FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C752FC | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#468CF8
Tritanopia (blue-blind)
#C275A1
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #c752fc; /* rgb */ color: rgb(199, 82, 252); /* oklch */ color: oklch(66.3% 0.250 313.3);
Tailwind
colors: {
custom: {
50: '#dc8bfe',
500: '#c752fc',
950: '#000000',
},
}SCSS
$custom: #c752fc; $custom-light: #dc8bfe; $custom-dark: #000000;
JSON
{
"hex": "#c752fc",
"rgb": {
"r": 199,
"g": 82,
"b": 252
},
"hsl": {
"h": 281.294,
"s": 96.591,
"l": 65.49
},
"oklch": {
"l": 0.663,
"c": 0.24973,
"h": 313.3
},
"luminance": 0.25205
}Semantic roles & 50–950 ramp
primary
#C752FC
secondary
#CAF1B8
accent
#E60048
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86