#C548F2#C548F2
#C548F2 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.4% C 0.252 H 315.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C548F2 |
|---|---|
| RGB | rgb(197, 72, 242) |
| HSL | hsl(284, 87%, 62%) |
| HSV | hsv(284, 70%, 95%) |
| CMYK | cmyk(18.6%, 70.2%, 0%, 5.1%) |
| CIE-LAB | lab(54.99, 72.94, -62.65) |
| CIE-LCH | lch(54.99, 96.15, 319.34°) |
| OKLab | oklab(64.41% 0.1796 -0.1764) |
| OKLCH | oklch(64.41% 0.252 315.5) |
| XYZ | xyz(41.3678, 22.9174, 86.2316) |
| Luminance | 0.2292 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 4.15
Bright Lilac
#C95EFB
ΔE00 4.31
Mediumorchid
#BA55D3
ΔE00 4.60
Bright Lavender
#C760FF
ΔE00 4.77
Hot Purple
#CB00F5
ΔE00 5.16
Purple Pink
#D725DE
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C548F2 #75F248
analogous
#7048F2 #C548F2 #F248CA
triadic
#C548F2 #F2C548 #48F2C5
tetradic
#C548F2 #F27048 #75F248 #48CAF2
square
#C548F2 #F27048 #75F248 #48CAF2
split-complementary
#C548F2 #CAF248 #48F270
monochromatic
#870DB3 #B211EC #C548F2 #D781F6 #E9BAFA
Accessibility & contrast
On white
3.76
#C548F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#C548F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C548F2
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C548F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C548F2 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#4487EE
Tritanopia (blue-blind)
#C26B99
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #c548f2; /* rgb */ color: rgb(197, 72, 242); /* oklch */ color: oklch(64.4% 0.252 315.5);
Tailwind
colors: {
custom: {
50: '#db85f7',
500: '#c548f2',
950: '#000000',
},
}SCSS
$custom: #c548f2; $custom-light: #db85f7; $custom-dark: #000000;
JSON
{
"hex": "#c548f2",
"rgb": {
"r": 197,
"g": 72,
"b": 242
},
"hsl": {
"h": 284.118,
"s": 86.735,
"l": 61.569
},
"oklch": {
"l": 0.64412,
"c": 0.2517,
"h": 315.5
},
"luminance": 0.22916
}Semantic roles & 50–950 ramp
primary
#C548F2
secondary
#BCEBAB
accent
#E3023E
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#150C17
muted
#847D85