#C156CD#C156CD
#C156CD is a light, vivid purple. Relative luminance 0.224; OKLCH L 63.2% C 0.199 H 323.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #C156CD |
|---|---|
| RGB | rgb(193, 86, 205) |
| HSL | hsl(294, 54%, 57%) |
| HSV | hsv(294, 58%, 80%) |
| CMYK | cmyk(5.9%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(54.45, 59.22, -42.64) |
| CIE-LCH | lch(54.45, 72.98, 324.25°) |
| OKLab | oklab(63.24% 0.1599 -0.1182) |
| OKLCH | oklch(63.24% 0.199 323.5) |
| XYZ | xyz(36.3385, 22.4027, 60.1559) |
| Luminance | 0.2240 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.04
Pinkish Purple
#D648D7
ΔE00 3.51
Pinky Purple
#C94CBE
ΔE00 3.56
Purpley Pink
#C83CB9
ΔE00 5.53
Purpleish Pink
#DF4EC8
ΔE00 5.73
Purple Pink
#D725DE
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C156CD #62CD56
analogous
#8656CD #C156CD #CD569D
triadic
#C156CD #CDC156 #56CDC1
tetradic
#C156CD #CD8656 #62CD56 #569DCD
square
#C156CD #CD8656 #62CD56 #569DCD
split-complementary
#C156CD #9DCD56 #56CD86
monochromatic
#792682 #A534B1 #C156CD #D285DB #E4B4E9
Accessibility & contrast
On white
3.83
#C156CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#C156CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C156CD
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C156CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C156CD | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#427AD1
Deuteranopia (green-blind)
#6787CA
Tritanopia (blue-blind)
#C4678A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #c156cd; /* rgb */ color: rgb(193, 86, 205); /* oklch */ color: oklch(63.2% 0.199 323.5);
Tailwind
colors: {
custom: {
50: '#d78bdd',
500: '#c156cd',
950: '#000000',
},
}SCSS
$custom: #c156cd; $custom-light: #d78bdd; $custom-dark: #000000;
JSON
{
"hex": "#c156cd",
"rgb": {
"r": 193,
"g": 86,
"b": 205
},
"hsl": {
"h": 293.95,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.63242,
"c": 0.19883,
"h": 323.5
},
"luminance": 0.22401
}Semantic roles & 50–950 ramp
primary
#C156CD
secondary
#ACD8A7
accent
#DE4A59
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83