#C226AE#C226AE
#C226AE is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.3% C 0.231 H 334.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C226AE |
|---|---|
| RGB | rgb(194, 38, 174) |
| HSL | hsl(308, 67%, 45%) |
| HSV | hsv(308, 80%, 76%) |
| CMYK | cmyk(0%, 80.4%, 10.3%, 23.9%) |
| CIE-LAB | lab(46.86, 71.66, -36.62) |
| CIE-LCH | lch(46.86, 80.48, 332.93°) |
| OKLab | oklab(57.28% 0.2086 -0.1004) |
| OKLCH | oklch(57.28% 0.231 334.3) |
| XYZ | xyz(30.5816, 15.9143, 41.4973) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.96
Ugly Purple
#A442A0
ΔE00 5.41
Barney
#AC1DB8
ΔE00 5.81
Medium Purple
#9E43A2
ΔE00 6.36
Pinky Purple
#C94CBE
ΔE00 6.80
Purply
#983FB2
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C226AE #26C23A
analogous
#8826C2 #C226AE #C22660
triadic
#C226AE #AEC226 #26AEC2
tetradic
#C226AE #C28826 #26C23A #2660C2
square
#C226AE #C28826 #26C23A #2660C2
split-complementary
#C226AE #60C226 #26C288
monochromatic
#5C1252 #8F1C80 #C226AE #DB4AC9 #E67DD8
Accessibility & contrast
On white
5.02
#C226AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#C226AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C226AE
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C226AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C226AE | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2261B1
Deuteranopia (green-blind)
#6177AA
Tritanopia (blue-blind)
#CB376A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #c226ae; /* rgb */ color: rgb(194, 38, 174); /* oklch */ color: oklch(57.3% 0.231 334.3);
Tailwind
colors: {
custom: {
50: '#d974c6',
500: '#c226ae',
950: '#000000',
},
}SCSS
$custom: #c226ae; $custom-light: #d974c6; $custom-dark: #000000;
JSON
{
"hex": "#c226ae",
"rgb": {
"r": 194,
"g": 38,
"b": 174
},
"hsl": {
"h": 307.692,
"s": 67.241,
"l": 45.49
},
"oklch": {
"l": 0.57278,
"c": 0.23148,
"h": 334.3
},
"luminance": 0.15912
}Semantic roles & 50–950 ramp
primary
#C226AE
secondary
#76CE81
accent
#EA543E
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82