#C342CF#C342CF
#C342CF is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.4% C 0.228 H 324.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #C342CF |
|---|---|
| RGB | rgb(195, 66, 207) |
| HSL | hsl(295, 59%, 54%) |
| HSV | hsv(295, 68%, 81%) |
| CMYK | cmyk(5.8%, 68.1%, 0%, 18.8%) |
| CIE-LAB | lab(51.84, 68.38, -47.90) |
| CIE-LCH | lch(51.84, 83.49, 324.99°) |
| OKLab | oklab(61.45% 0.1851 -0.1333) |
| OKLCH | oklch(61.45% 0.228 324.2) |
| XYZ | xyz(35.7154, 20.0057, 60.9997) |
| Luminance | 0.2000 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.29
Purple Pink
#D725DE
ΔE00 3.45
Purpley Pink
#C83CB9
ΔE00 4.08
Pinky Purple
#C94CBE
ΔE00 4.17
Pinkish Purple
#D648D7
ΔE00 4.21
Hot Purple
#CB00F5
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C342CF #4ECF42
analogous
#7C42CF #C342CF #CF4294
triadic
#C342CF #CFC342 #42CFC3
tetradic
#C342CF #CF7C42 #4ECF42 #4294CF
square
#C342CF #CF7C42 #4ECF42 #4294CF
split-complementary
#C342CF #94CF42 #42CF7C
monochromatic
#701F78 #9E2BA9 #C342CF #D273DB #E2A4E8
Accessibility & contrast
On white
4.20
#C342CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#C342CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C342CF
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C342CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C342CF | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D72D3
Deuteranopia (green-blind)
#5B81CB
Tritanopia (blue-blind)
#C75984
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c342cf; /* rgb */ color: rgb(195, 66, 207); /* oklch */ color: oklch(61.4% 0.228 324.2);
Tailwind
colors: {
custom: {
50: '#d981de',
500: '#c342cf',
950: '#000000',
},
}SCSS
$custom: #c342cf; $custom-light: #d981de; $custom-dark: #000000;
JSON
{
"hex": "#c342cf",
"rgb": {
"r": 195,
"g": 66,
"b": 207
},
"hsl": {
"h": 294.894,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.61447,
"c": 0.2281,
"h": 324.2
},
"luminance": 0.20004
}Semantic roles & 50–950 ramp
primary
#C342CF
secondary
#9DD598
accent
#E34553
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83