#C22FAF#C22FAF
#C22FAF is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.224 H 334.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C22FAF |
|---|---|
| RGB | rgb(194, 47, 175) |
| HSL | hsl(308, 61%, 47%) |
| HSV | hsv(308, 76%, 76%) |
| CMYK | cmyk(0%, 75.8%, 9.8%, 23.9%) |
| CIE-LAB | lab(47.75, 69.39, -35.81) |
| CIE-LCH | lch(47.75, 78.08, 332.70°) |
| OKLab | oklab(57.93% 0.2015 -0.0981) |
| OKLCH | oklch(57.93% 0.224 334) |
| XYZ | xyz(31.0028, 16.6002, 42.1205) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.02
Ugly Purple
#A442A0
ΔE00 5.36
Pinky Purple
#C94CBE
ΔE00 5.80
Medium Purple
#9E43A2
ΔE00 6.37
Barney
#AC1DB8
ΔE00 6.43
Purple Pink
#D725DE
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C22FAF #2FC242
analogous
#8C2FC2 #C22FAF #C22F66
triadic
#C22FAF #AFC22F #2FAFC2
tetradic
#C22FAF #C28C2F #2FC242 #2F66C2
square
#C22FAF #C28C2F #2FC242 #2F66C2
split-complementary
#C22FAF #66C22F #2FC28C
monochromatic
#5F1756 #912383 #C22FAF #D658C6 #E289D7
Accessibility & contrast
On white
4.86
#C22FAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#C22FAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C22FAF
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C22FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C22FAF | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#6379AC
Tritanopia (blue-blind)
#CB3E6D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #c22faf; /* rgb */ color: rgb(194, 47, 175); /* oklch */ color: oklch(57.9% 0.224 334.0);
Tailwind
colors: {
custom: {
50: '#d877c7',
500: '#c22faf',
950: '#000000',
},
}SCSS
$custom: #c22faf; $custom-light: #d877c7; $custom-dark: #000000;
JSON
{
"hex": "#c22faf",
"rgb": {
"r": 194,
"g": 47,
"b": 175
},
"hsl": {
"h": 307.755,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.57932,
"c": 0.22411,
"h": 334
},
"luminance": 0.16598
}Semantic roles & 50–950 ramp
primary
#C22FAF
secondary
#81CC8A
accent
#E45844
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82