#C252FC#C252FC
#C252FC is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.7% C 0.248 H 311.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C252FC |
|---|---|
| RGB | rgb(194, 82, 252) |
| HSL | hsl(280, 97%, 65%) |
| HSV | hsv(280, 67%, 99%) |
| CMYK | cmyk(23%, 67.5%, 0%, 1.2%) |
| CIE-LAB | lab(56.62, 70.33, -65.61) |
| CIE-LCH | lch(56.62, 96.18, 316.99°) |
| OKLab | oklab(65.69% 0.1651 -0.1852) |
| OKLCH | oklch(65.69% 0.248 311.7) |
| XYZ | xyz(42.8329, 24.5333, 94.5556) |
| Luminance | 0.2453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.78
Bright Lavender
#C760FF
ΔE00 2.94
Heliotrope
#D94FF5
ΔE00 4.25
Lighter Purple
#A55AF4
ΔE00 4.78
Lightish Purple
#A552E6
ΔE00 5.65
Light Urple
#B36FF6
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C252FC #8CFC52
analogous
#6D52FC #C252FC #FC52E1
triadic
#C252FC #FCC252 #52FCC2
tetradic
#C252FC #FC6D52 #8CFC52 #52E1FC
square
#C252FC #FC6D52 #8CFC52 #52E1FC
split-complementary
#C252FC #E1FC52 #52FC6D
monochromatic
#8A04D0 #AD16FB #C252FC #D78EFD #ECCAFE
Accessibility & contrast
On white
3.56
#C252FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#C252FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C252FC
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C252FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C252FC | 1.00 | 3.56 | 5.91 | 5.91 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#3E8AF8
Tritanopia (blue-blind)
#BB76A1
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #c252fc; /* rgb */ color: rgb(194, 82, 252); /* oklch */ color: oklch(65.7% 0.248 311.7);
Tailwind
colors: {
custom: {
50: '#d98afe',
500: '#c252fc',
950: '#000000',
},
}SCSS
$custom: #c252fc; $custom-light: #d98afe; $custom-dark: #000000;
JSON
{
"hex": "#c252fc",
"rgb": {
"r": 194,
"g": 82,
"b": 252
},
"hsl": {
"h": 279.529,
"s": 96.591,
"l": 65.49
},
"oklch": {
"l": 0.65691,
"c": 0.24811,
"h": 311.7
},
"luminance": 0.24532
}Semantic roles & 50–950 ramp
primary
#C252FC
secondary
#CCF1B8
accent
#E6004E
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86