#C173DD#C173DD
#C173DD is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.0% C 0.169 H 316.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C173DD |
|---|---|
| RGB | rgb(193, 115, 221) |
| HSL | hsl(284, 61%, 66%) |
| HSV | hsv(284, 48%, 87%) |
| CMYK | cmyk(12.7%, 48%, 0%, 13.3%) |
| CIE-LAB | lab(60.62, 48.05, -41.96) |
| CIE-LCH | lch(60.62, 63.79, 318.87°) |
| OKLab | oklab(68.04% 0.123 -0.1164) |
| OKLCH | oklch(68.04% 0.169 316.6) |
| XYZ | xyz(41.1723, 28.8206, 71.7867) |
| Luminance | 0.2882 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.38
Orchid
#DA70D6
ΔE00 5.36
Easter Purple
#C071FE
ΔE00 5.45
Orchid (survey)
#C875C4
ΔE00 5.78
Light Urple
#B36FF6
ΔE00 5.80
Bright Lilac
#C95EFB
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C173DD #8FDD73
analogous
#8C73DD #C173DD #DD73C4
triadic
#C173DD #DDC173 #73DDC1
tetradic
#C173DD #DD8C73 #8FDD73 #73C4DD
square
#C173DD #DD8C73 #8FDD73 #73C4DD
split-complementary
#C173DD #C4DD73 #73DD8C
monochromatic
#892AAC #AB42D1 #C173DD #D7A4E9 #EDD5F5
Accessibility & contrast
On white
3.10
#C173DD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.76
#C173DD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C173DD
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C173DD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C173DD | 1.00 | 3.10 | 6.76 | 6.76 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F8DE1
Deuteranopia (green-blind)
#7595DA
Tritanopia (blue-blind)
#C0829E
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #c173dd; /* rgb */ color: rgb(193, 115, 221); /* oklch */ color: oklch(68.0% 0.169 316.6);
Tailwind
colors: {
custom: {
50: '#d69de8',
500: '#c173dd',
950: '#000000',
},
}SCSS
$custom: #c173dd; $custom-light: #d69de8; $custom-dark: #000000;
JSON
{
"hex": "#c173dd",
"rgb": {
"r": 193,
"g": 115,
"b": 221
},
"hsl": {
"h": 284.151,
"s": 60.92,
"l": 65.882
},
"oklch": {
"l": 0.68041,
"c": 0.16937,
"h": 316.6
},
"luminance": 0.28819
}Semantic roles & 50–950 ramp
primary
#C173DD
secondary
#CEE7C4
accent
#C91D4A
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84