#C726C4#C726C4
#C726C4 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.3% C 0.249 H 329.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C726C4 |
|---|---|
| RGB | rgb(199, 38, 196) |
| HSL | hsl(301, 68%, 46%) |
| HSV | hsv(301, 81%, 78%) |
| CMYK | cmyk(0%, 80.9%, 1.5%, 22%) |
| CIE-LAB | lab(48.90, 75.90, -46.20) |
| CIE-LCH | lch(48.90, 88.86, 328.67°) |
| OKLab | oklab(59.28% 0.2134 -0.1281) |
| OKLCH | oklch(59.28% 0.249 329) |
| XYZ | xyz(34.2098, 17.5166, 53.7931) |
| Luminance | 0.1751 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.41
Purple Pink
#D725DE
ΔE00 4.69
Pinky Purple
#C94CBE
ΔE00 5.71
Barney
#AC1DB8
ΔE00 6.08
Hot Purple
#CB00F5
ΔE00 6.76
Pinkish Purple
#D648D7
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C726C4 #26C729
analogous
#7A26C7 #C726C4 #C72674
triadic
#C726C4 #C4C726 #26C4C7
tetradic
#C726C4 #C77A26 #26C729 #2674C7
square
#C726C4 #C77A26 #26C729 #2674C7
split-complementary
#C726C4 #74C726 #26C77A
monochromatic
#60125F #941C91 #C726C4 #DD4DDA #E781E5
Accessibility & contrast
On white
4.66
#C726C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#C726C4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #C726C4
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C726C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C726C4 | 1.00 | 4.66 | 4.50 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#597BC0
Tritanopia (blue-blind)
#CE4277
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #c726c4; /* rgb */ color: rgb(199, 38, 196); /* oklch */ color: oklch(59.3% 0.249 329.0);
Tailwind
colors: {
custom: {
50: '#dc76d6',
500: '#c726c4',
950: '#000000',
},
}SCSS
$custom: #c726c4; $custom-light: #dc76d6; $custom-dark: #000000;
JSON
{
"hex": "#c726c4",
"rgb": {
"r": 199,
"g": 38,
"b": 196
},
"hsl": {
"h": 301.118,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.59275,
"c": 0.24886,
"h": 329
},
"luminance": 0.17514
}Semantic roles & 50–950 ramp
primary
#C726C4
secondary
#79CF7B
accent
#EB403D
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83