#C245C2#C245C2
#C245C2 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.9% C 0.213 H 327.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #C245C2 |
|---|---|
| RGB | rgb(194, 69, 194) |
| HSL | hsl(300, 51%, 52%) |
| HSV | hsv(300, 64%, 76%) |
| CMYK | cmyk(0%, 64.4%, 0%, 23.9%) |
| CIE-LAB | lab(51.41, 64.78, -41.12) |
| CIE-LCH | lch(51.41, 76.73, 327.59°) |
| OKLab | oklab(60.88% 0.1805 -0.1136) |
| OKLCH | oklch(60.88% 0.213 327.8) |
| XYZ | xyz(34.1134, 19.6229, 53.0193) |
| Luminance | 0.1962 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.26
Pinky Purple
#C94CBE
ΔE00 2.59
Mediumorchid
#BA55D3
ΔE00 4.29
Pinkish Purple
#D648D7
ΔE00 4.73
Purple Pink
#D725DE
ΔE00 4.84
Purpleish Pink
#DF4EC8
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C245C2 #45C245
analogous
#8445C2 #C245C2 #C24584
triadic
#C245C2 #C2C245 #45C2C2
tetradic
#C245C2 #C28445 #45C245 #4584C2
square
#C245C2 #C28445 #45C245 #4584C2
split-complementary
#C245C2 #84C245 #45C284
monochromatic
#6A236A #983298 #C245C2 #D173D1 #E0A1E0
Accessibility & contrast
On white
4.26
#C245C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#C245C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C245C2
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C245C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C245C2 | 1.00 | 4.26 | 4.92 | 4.92 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3470C6
Deuteranopia (green-blind)
#6480BF
Tritanopia (blue-blind)
#C8567E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #c245c2; /* rgb */ color: rgb(194, 69, 194); /* oklch */ color: oklch(60.9% 0.213 327.8);
Tailwind
colors: {
custom: {
50: '#d882d5',
500: '#c245c2',
950: '#000000',
},
}SCSS
$custom: #c245c2; $custom-light: #d882d5; $custom-dark: #000000;
JSON
{
"hex": "#c245c2",
"rgb": {
"r": 194,
"g": 69,
"b": 194
},
"hsl": {
"h": 300,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.60879,
"c": 0.21332,
"h": 327.8
},
"luminance": 0.19621
}Semantic roles & 50–950 ramp
primary
#C245C2
secondary
#96CD96
accent
#DA4E4E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83