#C045C2#C045C2
#C045C2 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.6% C 0.212 H 327.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #C045C2 |
|---|---|
| RGB | rgb(192, 69, 194) |
| HSL | hsl(299, 51%, 52%) |
| HSV | hsv(299, 64%, 76%) |
| CMYK | cmyk(1%, 64.4%, 0%, 23.9%) |
| CIE-LAB | lab(51.11, 64.30, -41.62) |
| CIE-LCH | lch(51.11, 76.60, 327.09°) |
| OKLab | oklab(60.6% 0.1783 -0.1151) |
| OKLCH | oklch(60.6% 0.212 327.2) |
| XYZ | xyz(33.6034, 19.3600, 52.9954) |
| Luminance | 0.1936 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.47
Pinky Purple
#C94CBE
ΔE00 2.97
Mediumorchid
#BA55D3
ΔE00 4.22
Purple Pink
#D725DE
ΔE00 4.95
Pinkish Purple
#D648D7
ΔE00 5.02
Purpleish Pink
#DF4EC8
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C045C2 #47C245
analogous
#8245C2 #C045C2 #C24586
triadic
#C045C2 #C2C045 #45C2C0
tetradic
#C045C2 #C28245 #47C245 #4586C2
square
#C045C2 #C28245 #47C245 #4586C2
split-complementary
#C045C2 #86C245 #45C282
monochromatic
#69236A #963298 #C045C2 #D073D1 #DFA1E0
Accessibility & contrast
On white
4.31
#C045C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#C045C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C045C2
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C045C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C045C2 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3270C6
Deuteranopia (green-blind)
#627FBF
Tritanopia (blue-blind)
#C5567E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #c045c2; /* rgb */ color: rgb(192, 69, 194); /* oklch */ color: oklch(60.6% 0.212 327.2);
Tailwind
colors: {
custom: {
50: '#d682d5',
500: '#c045c2',
950: '#000000',
},
}SCSS
$custom: #c045c2; $custom-light: #d682d5; $custom-dark: #000000;
JSON
{
"hex": "#c045c2",
"rgb": {
"r": 192,
"g": 69,
"b": 194
},
"hsl": {
"h": 299.04,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.606,
"c": 0.21228,
"h": 327.2
},
"luminance": 0.19358
}Semantic roles & 50–950 ramp
primary
#C045C2
secondary
#97CD96
accent
#DA4E50
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83