#C226C7#C226C7
#C226C7 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.7% C 0.249 H 326.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #C226C7 |
|---|---|
| RGB | rgb(194, 38, 199) |
| HSL | hsl(298, 68%, 46%) |
| HSV | hsv(298, 81%, 78%) |
| CMYK | cmyk(2.5%, 80.9%, 0%, 22%) |
| CIE-LAB | lab(48.24, 75.42, -49.06) |
| CIE-LCH | lch(48.24, 89.97, 326.96°) |
| OKLab | oklab(58.7% 0.2081 -0.1365) |
| OKLCH | oklch(58.7% 0.249 326.7) |
| XYZ | xyz(33.2495, 16.9815, 55.5483) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.44
Purple Pink
#D725DE
ΔE00 5.08
Barney
#AC1DB8
ΔE00 5.21
Hot Purple
#CB00F5
ΔE00 6.22
Pinky Purple
#C94CBE
ΔE00 6.59
Vibrant Purple
#AD03DE
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C226C7 #2BC726
analogous
#7226C7 #C226C7 #C7267C
triadic
#C226C7 #C7C226 #26C7C2
tetradic
#C226C7 #C77226 #2BC726 #267CC7
square
#C226C7 #C77226 #2BC726 #267CC7
split-complementary
#C226C7 #7CC726 #26C772
monochromatic
#5E1260 #901C94 #C226C7 #D94DDD #E481E7
Accessibility & contrast
On white
4.78
#C226C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#C226C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C226C7
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C226C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C226C7 | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#5279C3
Tritanopia (blue-blind)
#C74579
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #c226c7; /* rgb */ color: rgb(194, 38, 199); /* oklch */ color: oklch(58.7% 0.249 326.7);
Tailwind
colors: {
custom: {
50: '#d975d9',
500: '#c226c7',
950: '#000000',
},
}SCSS
$custom: #c226c7; $custom-light: #d975d9; $custom-dark: #000000;
JSON
{
"hex": "#c226c7",
"rgb": {
"r": 194,
"g": 38,
"b": 199
},
"hsl": {
"h": 298.137,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.58698,
"c": 0.2489,
"h": 326.7
},
"luminance": 0.16979
}Semantic roles & 50–950 ramp
primary
#C226C7
secondary
#7CCF79
accent
#EB3D42
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A15
muted
#837C83