#C172DB#C172DB
#C172DB is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.8% C 0.169 H 317.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C172DB |
|---|---|
| RGB | rgb(193, 114, 219) |
| HSL | hsl(285, 59%, 65%) |
| HSV | hsv(285, 48%, 86%) |
| CMYK | cmyk(11.9%, 47.9%, 0%, 14.1%) |
| CIE-LAB | lab(60.33, 48.16, -41.31) |
| CIE-LCH | lch(60.33, 63.45, 319.38°) |
| OKLab | oklab(67.79% 0.1241 -0.1145) |
| OKLCH | oklch(67.79% 0.169 317.3) |
| XYZ | xyz(40.7940, 28.4879, 70.3539) |
| Luminance | 0.2849 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.75
Orchid
#DA70D6
ΔE00 5.19
Orchid (survey)
#C875C4
ΔE00 5.51
Easter Purple
#C071FE
ΔE00 5.77
Light Urple
#B36FF6
ΔE00 6.06
Bright Lilac
#C95EFB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C172DB #8CDB72
analogous
#8C72DB #C172DB #DB72C0
triadic
#C172DB #DBC172 #72DBC1
tetradic
#C172DB #DB8C72 #8CDB72 #72C0DB
square
#C172DB #DB8C72 #8CDB72 #72C0DB
split-complementary
#C172DB #C0DB72 #72DB8C
monochromatic
#892BA8 #AC41CF #C172DB #D6A3E7 #ECD4F4
Accessibility & contrast
On white
3.14
#C172DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.70
#C172DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C172DB
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C172DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C172DB | 1.00 | 3.14 | 6.70 | 6.70 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F8CDF
Deuteranopia (green-blind)
#7594D8
Tritanopia (blue-blind)
#C0819C
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #c172db; /* rgb */ color: rgb(193, 114, 219); /* oklch */ color: oklch(67.8% 0.169 317.3);
Tailwind
colors: {
custom: {
50: '#d69de6',
500: '#c172db',
950: '#000000',
},
}SCSS
$custom: #c172db; $custom-light: #d69de6; $custom-dark: #000000;
JSON
{
"hex": "#c172db",
"rgb": {
"r": 193,
"g": 114,
"b": 219
},
"hsl": {
"h": 285.143,
"s": 59.322,
"l": 65.294
},
"oklch": {
"l": 0.67791,
"c": 0.16888,
"h": 317.3
},
"luminance": 0.28487
}Semantic roles & 50–950 ramp
primary
#C172DB
secondary
#CBE6C3
accent
#C71F48
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84