#C731C8#C731C8
#C731C8 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.2% C 0.243 H 327.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C731C8 |
|---|---|
| RGB | rgb(199, 49, 200) |
| HSL | hsl(300, 61%, 49%) |
| HSV | hsv(300, 76%, 78%) |
| CMYK | cmyk(0.5%, 75.5%, 0%, 21.6%) |
| CIE-LAB | lab(50.11, 73.68, -46.60) |
| CIE-LCH | lch(50.11, 87.18, 327.69°) |
| OKLab | oklab(60.2% 0.2052 -0.1293) |
| OKLCH | oklch(60.2% 0.243 327.8) |
| XYZ | xyz(35.0764, 18.5114, 56.3580) |
| Luminance | 0.1851 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.05
Purple Pink
#D725DE
ΔE00 3.74
Pinky Purple
#C94CBE
ΔE00 4.75
Pinkish Purple
#D648D7
ΔE00 5.69
Mediumorchid
#BA55D3
ΔE00 5.71
Hot Purple
#CB00F5
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C731C8 #32C831
analogous
#7C31C8 #C731C8 #C8317E
triadic
#C731C8 #C8C731 #31C8C7
tetradic
#C731C8 #C87C31 #32C831 #317EC8
square
#C731C8 #C87C31 #32C831 #317EC8
split-complementary
#C731C8 #7EC831 #31C87C
monochromatic
#651966 #962597 #C731C8 #D75FD8 #E390E4
Accessibility & contrast
On white
4.47
#C731C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#C731C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C731C8
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C731C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C731C8 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#036BCC
Deuteranopia (green-blind)
#5B7EC4
Tritanopia (blue-blind)
#CD4A7B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #c731c8; /* rgb */ color: rgb(199, 49, 200); /* oklch */ color: oklch(60.2% 0.243 327.8);
Tailwind
colors: {
custom: {
50: '#dc7ad9',
500: '#c731c8',
950: '#000000',
},
}SCSS
$custom: #c731c8; $custom-light: #dc7ad9; $custom-dark: #000000;
JSON
{
"hex": "#c731c8",
"rgb": {
"r": 199,
"g": 49,
"b": 200
},
"hsl": {
"h": 299.603,
"s": 60.643,
"l": 48.824
},
"oklch": {
"l": 0.60204,
"c": 0.24252,
"h": 327.8
},
"luminance": 0.18509
}Semantic roles & 50–950 ramp
primary
#C731C8
secondary
#87CE86
accent
#E44445
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A15
muted
#847C83