#C151B6#C151B6
#C151B6 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.5% C 0.186 H 331.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C151B6 |
|---|---|
| RGB | rgb(193, 81, 182) |
| HSL | hsl(306, 47%, 54%) |
| HSV | hsv(306, 58%, 76%) |
| CMYK | cmyk(0%, 58%, 5.7%, 24.3%) |
| CIE-LAB | lab(52.51, 57.45, -32.45) |
| CIE-LCH | lch(52.51, 65.98, 330.54°) |
| OKLab | oklab(61.46% 0.1639 -0.0888) |
| OKLCH | oklch(61.46% 0.186 331.5) |
| XYZ | xyz(33.3781, 20.6020, 46.4655) |
| Luminance | 0.2060 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 1.75
Purpley Pink
#C83CB9
ΔE00 3.29
Purplish Pink
#CE5DAE
ΔE00 5.28
Purpleish Pink
#DF4EC8
ΔE00 5.54
Pinkish Purple
#D648D7
ΔE00 5.71
Mediumorchid
#BA55D3
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C151B6 #51C15C
analogous
#9451C1 #C151B6 #C1517E
triadic
#C151B6 #B6C151 #51B6C1
tetradic
#C151B6 #C19451 #51C15C #517EC1
square
#C151B6 #C19451 #51C15C #517EC1
split-complementary
#C151B6 #7EC151 #51C194
monochromatic
#702869 #9D3893 #C151B6 #D17EC9 #E1ABDC
Accessibility & contrast
On white
4.10
#C151B6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#C151B6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C151B6
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C151B6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C151B6 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C73B9
Deuteranopia (green-blind)
#6F83B3
Tritanopia (blue-blind)
#C85B7C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #c151b6; /* rgb */ color: rgb(193, 81, 182); /* oklch */ color: oklch(61.5% 0.186 331.5);
Tailwind
colors: {
custom: {
50: '#d688cc',
500: '#c151b6',
950: '#000000',
},
}SCSS
$custom: #c151b6; $custom-light: #d688cc; $custom-dark: #000000;
JSON
{
"hex": "#c151b6",
"rgb": {
"r": 193,
"g": 81,
"b": 182
},
"hsl": {
"h": 305.893,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.61462,
"c": 0.18637,
"h": 331.5
},
"luminance": 0.206
}Semantic roles & 50–950 ramp
primary
#C151B6
secondary
#9FCFA4
accent
#D75E51
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82