#C342CD#C342CD
#C342CD is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.3% C 0.226 H 324.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #C342CD |
|---|---|
| RGB | rgb(195, 66, 205) |
| HSL | hsl(296, 58%, 53%) |
| HSV | hsv(296, 68%, 80%) |
| CMYK | cmyk(4.9%, 67.8%, 0%, 19.6%) |
| CIE-LAB | lab(51.73, 68.03, -46.93) |
| CIE-LCH | lch(51.73, 82.65, 325.40°) |
| OKLab | oklab(61.33% 0.1851 -0.1305) |
| OKLCH | oklch(61.33% 0.226 324.8) |
| XYZ | xyz(35.4725, 19.9085, 59.7201) |
| Luminance | 0.1991 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.44
Purple Pink
#D725DE
ΔE00 3.58
Purpley Pink
#C83CB9
ΔE00 3.77
Pinky Purple
#C94CBE
ΔE00 3.93
Pinkish Purple
#D648D7
ΔE00 4.25
Hot Purple
#CB00F5
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C342CD #4CCD42
analogous
#7D42CD #C342CD #CD4292
triadic
#C342CD #CDC342 #42CDC3
tetradic
#C342CD #CD7D42 #4CCD42 #4292CD
square
#C342CD #CD7D42 #4CCD42 #4292CD
split-complementary
#C342CD #92CD42 #42CD7D
monochromatic
#6F1F76 #9D2CA6 #C342CD #D272DA #E2A3E7
Accessibility & contrast
On white
4.22
#C342CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#C342CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C342CD
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C342CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C342CD | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2171D1
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#C75883
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c342cd; /* rgb */ color: rgb(195, 66, 205); /* oklch */ color: oklch(61.3% 0.226 324.8);
Tailwind
colors: {
custom: {
50: '#d981dd',
500: '#c342cd',
950: '#000000',
},
}SCSS
$custom: #c342cd; $custom-light: #d981dd; $custom-dark: #000000;
JSON
{
"hex": "#c342cd",
"rgb": {
"r": 195,
"g": 66,
"b": 205
},
"hsl": {
"h": 295.683,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.61332,
"c": 0.22646,
"h": 324.8
},
"luminance": 0.19906
}Semantic roles & 50–950 ramp
primary
#C342CD
secondary
#9CD397
accent
#E14652
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83