#C726C6#C726C6
#C726C6 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.4% C 0.250 H 328.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #C726C6 |
|---|---|
| RGB | rgb(199, 38, 198) |
| HSL | hsl(300, 68%, 46%) |
| HSV | hsv(300, 81%, 78%) |
| CMYK | cmyk(0%, 80.9%, 0.5%, 22%) |
| CIE-LAB | lab(49.02, 76.21, -47.18) |
| CIE-LCH | lch(49.02, 89.63, 328.24°) |
| OKLab | oklab(59.39% 0.2133 -0.1309) |
| OKLCH | oklch(59.39% 0.25 328.5) |
| XYZ | xyz(34.4390, 17.6082, 55.0000) |
| Luminance | 0.1761 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.59
Purple Pink
#D725DE
ΔE00 4.47
Pinky Purple
#C94CBE
ΔE00 5.76
Barney
#AC1DB8
ΔE00 6.13
Hot Purple
#CB00F5
ΔE00 6.46
Mediumorchid
#BA55D3
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C726C6 #26C727
analogous
#7826C7 #C726C6 #C72676
triadic
#C726C6 #C6C726 #26C6C7
tetradic
#C726C6 #C77826 #26C727 #2676C7
square
#C726C6 #C77826 #26C727 #2676C7
split-complementary
#C726C6 #76C726 #26C778
monochromatic
#601260 #941C93 #C726C6 #DD4DDC #E781E6
Accessibility & contrast
On white
4.64
#C726C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#C726C6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #C726C6
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C726C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C726C6 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CA
Deuteranopia (green-blind)
#587BC2
Tritanopia (blue-blind)
#CE4378
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #c726c6; /* rgb */ color: rgb(199, 38, 198); /* oklch */ color: oklch(59.4% 0.250 328.5);
Tailwind
colors: {
custom: {
50: '#dc76d8',
500: '#c726c6',
950: '#000000',
},
}SCSS
$custom: #c726c6; $custom-light: #dc76d8; $custom-dark: #000000;
JSON
{
"hex": "#c726c6",
"rgb": {
"r": 199,
"g": 38,
"b": 198
},
"hsl": {
"h": 300.373,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.59391,
"c": 0.25027,
"h": 328.5
},
"luminance": 0.17606
}Semantic roles & 50–950 ramp
primary
#C726C6
secondary
#79CF7A
accent
#EB3E3D
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83