#C026C7#C026C7
#C026C7 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.4% C 0.248 H 326.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #C026C7 |
|---|---|
| RGB | rgb(192, 38, 199) |
| HSL | hsl(297, 68%, 46%) |
| HSV | hsv(297, 81%, 78%) |
| CMYK | cmyk(3.5%, 80.9%, 0%, 22%) |
| CIE-LAB | lab(47.90, 75.05, -49.61) |
| CIE-LCH | lch(47.90, 89.96, 326.54°) |
| OKLab | oklab(58.4% 0.2061 -0.1382) |
| OKLCH | oklch(58.4% 0.248 326.2) |
| XYZ | xyz(32.7395, 16.7185, 55.5244) |
| Luminance | 0.1672 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.78
Barney
#AC1DB8
ΔE00 4.85
Purple Pink
#D725DE
ΔE00 5.39
Hot Purple
#CB00F5
ΔE00 6.24
Vibrant Purple
#AD03DE
ΔE00 6.25
Pinky Purple
#C94CBE
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C026C7 #2DC726
analogous
#7026C7 #C026C7 #C7267E
triadic
#C026C7 #C7C026 #26C7C0
tetradic
#C026C7 #C77026 #2DC726 #267EC7
square
#C026C7 #C77026 #2DC726 #267EC7
split-complementary
#C026C7 #7EC726 #26C770
monochromatic
#5D1260 #8E1C94 #C026C7 #D74DDD #E281E7
Accessibility & contrast
On white
4.84
#C026C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#C026C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C026C7
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C026C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C026C7 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#5078C3
Tritanopia (blue-blind)
#C54678
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #c026c7; /* rgb */ color: rgb(192, 38, 199); /* oklch */ color: oklch(58.4% 0.248 326.2);
Tailwind
colors: {
custom: {
50: '#d775d9',
500: '#c026c7',
950: '#000000',
},
}SCSS
$custom: #c026c7; $custom-light: #d775d9; $custom-dark: #000000;
JSON
{
"hex": "#c026c7",
"rgb": {
"r": 192,
"g": 38,
"b": 199
},
"hsl": {
"h": 297.391,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.58399,
"c": 0.24808,
"h": 326.2
},
"luminance": 0.16716
}Semantic roles & 50–950 ramp
primary
#C026C7
secondary
#7DCF79
accent
#EB3D45
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A15
muted
#837C83