#C157CC#C157CC
#C157CC is a light, vivid purple. Relative luminance 0.225; OKLCH L 63.3% C 0.196 H 323.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #C157CC |
|---|---|
| RGB | rgb(193, 87, 204) |
| HSL | hsl(294, 53%, 57%) |
| HSV | hsv(294, 57%, 80%) |
| CMYK | cmyk(5.4%, 57.4%, 0%, 20%) |
| CIE-LAB | lab(54.57, 58.58, -41.88) |
| CIE-LCH | lch(54.57, 72.01, 324.44°) |
| OKLab | oklab(63.31% 0.1586 -0.116) |
| OKLCH | oklch(63.31% 0.196 323.8) |
| XYZ | xyz(36.2986, 22.5154, 59.5490) |
| Luminance | 0.2251 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.26
Pinky Purple
#C94CBE
ΔE00 3.49
Pinkish Purple
#D648D7
ΔE00 3.58
Purpley Pink
#C83CB9
ΔE00 5.56
Purpleish Pink
#DF4EC8
ΔE00 5.61
Purple Pink
#D725DE
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C157CC #62CC57
analogous
#8757CC #C157CC #CC579D
triadic
#C157CC #CCC157 #57CCC1
tetradic
#C157CC #CC8757 #62CC57 #579DCC
square
#C157CC #CC8757 #62CC57 #579DCC
split-complementary
#C157CC #9DCC57 #57CC87
monochromatic
#792781 #A536B0 #C157CC #D286DA #E4B5E9
Accessibility & contrast
On white
3.82
#C157CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#C157CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C157CC
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C157CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C157CC | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#447AD0
Deuteranopia (green-blind)
#6987C9
Tritanopia (blue-blind)
#C46789
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #c157cc; /* rgb */ color: rgb(193, 87, 204); /* oklch */ color: oklch(63.3% 0.196 323.8);
Tailwind
colors: {
custom: {
50: '#d68cdc',
500: '#c157cc',
950: '#000000',
},
}SCSS
$custom: #c157cc; $custom-light: #d68cdc; $custom-dark: #000000;
JSON
{
"hex": "#c157cc",
"rgb": {
"r": 193,
"g": 87,
"b": 204
},
"hsl": {
"h": 294.359,
"s": 53.425,
"l": 57.059
},
"oklch": {
"l": 0.63312,
"c": 0.19646,
"h": 323.8
},
"luminance": 0.22513
}Semantic roles & 50–950 ramp
primary
#C157CC
secondary
#ACD7A8
accent
#DD4B59
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83