#C342CE#C342CE
#C342CE is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.4% C 0.227 H 324.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #C342CE |
|---|---|
| RGB | rgb(195, 66, 206) |
| HSL | hsl(295, 59%, 53%) |
| HSV | hsv(295, 68%, 81%) |
| CMYK | cmyk(5.3%, 68%, 0%, 19.2%) |
| CIE-LAB | lab(51.79, 68.21, -47.42) |
| CIE-LCH | lch(51.79, 83.07, 325.19°) |
| OKLab | oklab(61.39% 0.1851 -0.1319) |
| OKLCH | oklch(61.39% 0.227 324.5) |
| XYZ | xyz(35.5936, 19.9569, 60.3579) |
| Luminance | 0.1996 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.36
Purple Pink
#D725DE
ΔE00 3.51
Purpley Pink
#C83CB9
ΔE00 3.93
Pinky Purple
#C94CBE
ΔE00 4.05
Pinkish Purple
#D648D7
ΔE00 4.22
Hot Purple
#CB00F5
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C342CE #4DCE42
analogous
#7D42CE #C342CE #CE4293
triadic
#C342CE #CEC342 #42CEC3
tetradic
#C342CE #CE7D42 #4DCE42 #4293CE
square
#C342CE #CE7D42 #4DCE42 #4293CE
split-complementary
#C342CE #93CE42 #42CE7D
monochromatic
#701F77 #9E2BA7 #C342CE #D273DB #E2A3E7
Accessibility & contrast
On white
4.21
#C342CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#C342CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C342CE
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C342CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C342CE | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F71D2
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#C75983
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c342ce; /* rgb */ color: rgb(195, 66, 206); /* oklch */ color: oklch(61.4% 0.227 324.5);
Tailwind
colors: {
custom: {
50: '#d981dd',
500: '#c342ce',
950: '#000000',
},
}SCSS
$custom: #c342ce; $custom-light: #d981dd; $custom-dark: #000000;
JSON
{
"hex": "#c342ce",
"rgb": {
"r": 195,
"g": 66,
"b": 206
},
"hsl": {
"h": 295.286,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.6139,
"c": 0.22728,
"h": 324.5
},
"luminance": 0.19955
}Semantic roles & 50–950 ramp
primary
#C342CE
secondary
#9DD498
accent
#E24652
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83