#C740CA#C740CA
#C740CA is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.5% C 0.228 H 327.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #C740CA |
|---|---|
| RGB | rgb(199, 64, 202) |
| HSL | hsl(299, 57%, 52%) |
| HSV | hsv(299, 68%, 79%) |
| CMYK | cmyk(1.5%, 68.3%, 0%, 20.8%) |
| CIE-LAB | lab(51.92, 69.15, -44.87) |
| CIE-LCH | lch(51.92, 82.43, 327.02°) |
| OKLab | oklab(61.54% 0.1915 -0.1244) |
| OKLCH | oklch(61.54% 0.228 327) |
| XYZ | xyz(36.0467, 20.0756, 57.8420) |
| Luminance | 0.2007 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.99
Pinky Purple
#C94CBE
ΔE00 3.21
Purple Pink
#D725DE
ΔE00 3.48
Pinkish Purple
#D648D7
ΔE00 3.90
Mediumorchid
#BA55D3
ΔE00 4.06
Fuchsia (survey)
#ED0DD9
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C740CA #43CA40
analogous
#8240CA #C740CA #CA4088
triadic
#C740CA #CAC740 #40CAC7
tetradic
#C740CA #CA8240 #43CA40 #4088CA
square
#C740CA #CA8240 #43CA40 #4088CA
split-complementary
#C740CA #88CA40 #40CA82
monochromatic
#6F1F70 #9E2CA0 #C740CA #D570D7 #E3A0E5
Accessibility & contrast
On white
4.19
#C740CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#C740CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C740CA
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C740CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C740CA | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2771CE
Deuteranopia (green-blind)
#6182C6
Tritanopia (blue-blind)
#CD5580
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c740ca; /* rgb */ color: rgb(199, 64, 202); /* oklch */ color: oklch(61.5% 0.228 327.0);
Tailwind
colors: {
custom: {
50: '#dc80db',
500: '#c740ca',
950: '#000000',
},
}SCSS
$custom: #c740ca; $custom-light: #dc80db; $custom-dark: #000000;
JSON
{
"hex": "#c740ca",
"rgb": {
"r": 199,
"g": 64,
"b": 202
},
"hsl": {
"h": 298.696,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.61536,
"c": 0.22833,
"h": 327
},
"luminance": 0.20073
}Semantic roles & 50–950 ramp
primary
#C740CA
secondary
#96D195
accent
#E0484B
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83