#C157BB#C157BB
#C157BB is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.4% C 0.181 H 329.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #C157BB |
|---|---|
| RGB | rgb(193, 87, 187) |
| HSL | hsl(303, 46%, 55%) |
| HSV | hsv(303, 55%, 76%) |
| CMYK | cmyk(0%, 54.9%, 3.1%, 24.3%) |
| CIE-LAB | lab(53.75, 55.55, -33.41) |
| CIE-LCH | lch(53.75, 64.82, 328.98°) |
| OKLab | oklab(62.45% 0.1567 -0.0916) |
| OKLCH | oklch(62.45% 0.181 329.7) |
| XYZ | xyz(34.3698, 21.7439, 49.3908) |
| Luminance | 0.2174 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.06
Purpley Pink
#C83CB9
ΔE00 4.44
Mediumorchid
#BA55D3
ΔE00 5.06
Purpleish Pink
#DF4EC8
ΔE00 5.06
Purplish Pink
#CE5DAE
ΔE00 5.08
Pinkish Purple
#D648D7
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C157BB #57C15D
analogous
#9257C1 #C157BB #C15786
triadic
#C157BB #BBC157 #57BBC1
tetradic
#C157BB #C19257 #57C15D #5786C1
square
#C157BB #C19257 #57C15D #5786C1
split-complementary
#C157BB #86C157 #57C192
monochromatic
#732A6F #A03B9A #C157BB #D184CD #E2B0DF
Accessibility & contrast
On white
3.93
#C157BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#C157BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C157BB
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C157BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C157BB | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5077BE
Deuteranopia (green-blind)
#7186B8
Tritanopia (blue-blind)
#C76181
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #c157bb; /* rgb */ color: rgb(193, 87, 187); /* oklch */ color: oklch(62.4% 0.181 329.7);
Tailwind
colors: {
custom: {
50: '#d68bd0',
500: '#c157bb',
950: '#000000',
},
}SCSS
$custom: #c157bb; $custom-light: #d68bd0; $custom-dark: #000000;
JSON
{
"hex": "#c157bb",
"rgb": {
"r": 193,
"g": 87,
"b": 187
},
"hsl": {
"h": 303.396,
"s": 46.087,
"l": 54.902
},
"oklch": {
"l": 0.62449,
"c": 0.18148,
"h": 329.7
},
"luminance": 0.21742
}Semantic roles & 50–950 ramp
primary
#C157BB
secondary
#A4D0A6
accent
#D65A52
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82