#C242AD#C242AD
#C242AD is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.201 H 335.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C242AD |
|---|---|
| RGB | rgb(194, 66, 173) |
| HSL | hsl(310, 51%, 51%) |
| HSV | hsv(310, 66%, 76%) |
| CMYK | cmyk(0%, 66%, 10.8%, 23.9%) |
| CIE-LAB | lab(49.96, 62.58, -31.17) |
| CIE-LCH | lch(49.96, 69.91, 333.52°) |
| OKLab | oklab(59.5% 0.1821 -0.085) |
| OKLCH | oklch(59.5% 0.201 335) |
| XYZ | xyz(31.7395, 18.3855, 41.4042) |
| Luminance | 0.1838 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.18
Pinky Purple
#C94CBE
ΔE00 3.72
Ugly Purple
#A442A0
ΔE00 6.07
Purplish Pink
#CE5DAE
ΔE00 6.97
Medium Purple
#9E43A2
ΔE00 7.20
Purpleish Pink
#DF4EC8
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C242AD #42C257
analogous
#9742C2 #C242AD #C2426D
triadic
#C242AD #ADC242 #42ADC2
tetradic
#C242AD #C29742 #42C257 #426DC2
square
#C242AD #C29742 #42C257 #426DC2
split-complementary
#C242AD #6DC242 #42C297
monochromatic
#68225C #963186 #C242AD #D170C1 #E09FD5
Accessibility & contrast
On white
4.49
#C242AD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#C242AD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C242AD
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C242AD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C242AD | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426BB0
Deuteranopia (green-blind)
#6C7EAA
Tritanopia (blue-blind)
#CB4B72
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #c242ad; /* rgb */ color: rgb(194, 66, 173); /* oklch */ color: oklch(59.5% 0.201 335.0);
Tailwind
colors: {
custom: {
50: '#d880c6',
500: '#c242ad',
950: '#000000',
},
}SCSS
$custom: #c242ad; $custom-light: #d880c6; $custom-dark: #000000;
JSON
{
"hex": "#c242ad",
"rgb": {
"r": 194,
"g": 66,
"b": 173
},
"hsl": {
"h": 309.844,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.59496,
"c": 0.20097,
"h": 335
},
"luminance": 0.18383
}Semantic roles & 50–950 ramp
primary
#C242AD
secondary
#94CC9D
accent
#DB644D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82