#C151B3#C151B3
#C151B3 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.3% C 0.184 H 332.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #C151B3 |
|---|---|
| RGB | rgb(193, 81, 179) |
| HSL | hsl(308, 47%, 54%) |
| HSV | hsv(308, 58%, 76%) |
| CMYK | cmyk(0%, 58%, 7.3%, 24.3%) |
| CIE-LAB | lab(52.38, 56.96, -30.92) |
| CIE-LCH | lch(52.38, 64.81, 331.50°) |
| OKLab | oklab(61.32% 0.1634 -0.0844) |
| OKLCH | oklch(61.32% 0.184 332.7) |
| XYZ | xyz(33.0714, 20.4794, 44.8501) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.15
Purpley Pink
#C83CB9
ΔE00 3.44
Purplish Pink
#CE5DAE
ΔE00 4.96
Purpleish Pink
#DF4EC8
ΔE00 5.70
Pinkish Purple
#D648D7
ΔE00 6.17
Mediumorchid
#BA55D3
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C151B3 #51C15F
analogous
#9751C1 #C151B3 #C1517B
triadic
#C151B3 #B3C151 #51B3C1
tetradic
#C151B3 #C19751 #51C15F #517BC1
square
#C151B3 #C19751 #51C15F #517BC1
split-complementary
#C151B3 #7BC151 #51C197
monochromatic
#702867 #9D3890 #C151B3 #D17EC7 #E1ABDA
Accessibility & contrast
On white
4.12
#C151B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#C151B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C151B3
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C151B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C151B3 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E73B6
Deuteranopia (green-blind)
#7183B0
Tritanopia (blue-blind)
#C95A7B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #c151b3; /* rgb */ color: rgb(193, 81, 179); /* oklch */ color: oklch(61.3% 0.184 332.7);
Tailwind
colors: {
custom: {
50: '#d688ca',
500: '#c151b3',
950: '#000000',
},
}SCSS
$custom: #c151b3; $custom-light: #d688ca; $custom-dark: #000000;
JSON
{
"hex": "#c151b3",
"rgb": {
"r": 193,
"g": 81,
"b": 179
},
"hsl": {
"h": 307.5,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.61318,
"c": 0.18394,
"h": 332.7
},
"luminance": 0.20477
}Semantic roles & 50–950 ramp
primary
#C151B3
secondary
#9FCFA5
accent
#D76251
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82