#C231C4#C231C4
#C231C4 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.2% C 0.237 H 327.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #C231C4 |
|---|---|
| RGB | rgb(194, 49, 196) |
| HSL | hsl(299, 60%, 48%) |
| HSV | hsv(299, 75%, 77%) |
| CMYK | cmyk(1%, 75%, 0%, 23.1%) |
| CIE-LAB | lab(49.07, 72.03, -45.98) |
| CIE-LCH | lch(49.07, 85.46, 327.45°) |
| OKLab | oklab(59.24% 0.2001 -0.1276) |
| OKLCH | oklch(59.24% 0.237 327.5) |
| XYZ | xyz(33.3098, 17.6539, 53.8670) |
| Luminance | 0.1765 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.29
Purple Pink
#D725DE
ΔE00 4.76
Pinky Purple
#C94CBE
ΔE00 5.34
Barney
#AC1DB8
ΔE00 6.03
Mediumorchid
#BA55D3
ΔE00 6.19
Hot Purple
#CB00F5
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C231C4 #33C431
analogous
#7931C4 #C231C4 #C4317C
triadic
#C231C4 #C4C231 #31C4C2
tetradic
#C231C4 #C47931 #33C431 #317CC4
square
#C231C4 #C47931 #33C431 #317CC4
split-complementary
#C231C4 #7CC431 #31C479
monochromatic
#611962 #922593 #C231C4 #D55CD6 #E18DE2
Accessibility & contrast
On white
4.64
#C231C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#C231C4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #C231C4
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C231C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C231C4 | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0569C8
Deuteranopia (green-blind)
#597BC0
Tritanopia (blue-blind)
#C84A79
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #c231c4; /* rgb */ color: rgb(194, 49, 196); /* oklch */ color: oklch(59.2% 0.237 327.5);
Tailwind
colors: {
custom: {
50: '#d979d6',
500: '#c231c4',
950: '#000000',
},
}SCSS
$custom: #c231c4; $custom-light: #d979d6; $custom-dark: #000000;
JSON
{
"hex": "#c231c4",
"rgb": {
"r": 194,
"g": 49,
"b": 196
},
"hsl": {
"h": 299.184,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.59237,
"c": 0.23731,
"h": 327.5
},
"luminance": 0.17651
}Semantic roles & 50–950 ramp
primary
#C231C4
secondary
#85CD84
accent
#E34547
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83