#C167DC#C167DC
#C167DC is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.3% C 0.187 H 317.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C167DC |
|---|---|
| RGB | rgb(193, 103, 220) |
| HSL | hsl(286, 63%, 63%) |
| HSV | hsv(286, 53%, 86%) |
| CMYK | cmyk(12.3%, 53.2%, 0%, 13.7%) |
| CIE-LAB | lab(58.23, 53.97, -45.17) |
| CIE-LCH | lch(58.23, 70.38, 320.07°) |
| OKLab | oklab(66.26% 0.1392 -0.1256) |
| OKLCH | oklch(66.26% 0.187 317.9) |
| XYZ | xyz(39.7590, 26.2067, 70.6603) |
| Luminance | 0.2621 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.51
Bright Lilac
#C95EFB
ΔE00 4.71
Bright Lavender
#C760FF
ΔE00 5.21
Heliotrope
#D94FF5
ΔE00 5.33
Light Purple
#BF77F6
ΔE00 5.52
Light Urple
#B36FF6
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C167DC #82DC67
analogous
#8667DC #C167DC #DC67BC
triadic
#C167DC #DCC167 #67DCC1
tetradic
#C167DC #DC8667 #82DC67 #67BCDC
square
#C167DC #DC8667 #82DC67 #67BCDC
split-complementary
#C167DC #BCDC67 #67DC86
monochromatic
#8626A3 #AD35D1 #C167DC #D599E7 #EACAF3
Accessibility & contrast
On white
3.36
#C167DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#C167DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C167DC
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C167DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C167DC | 1.00 | 3.36 | 6.24 | 6.24 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F86E0
Deuteranopia (green-blind)
#6C8FD9
Tritanopia (blue-blind)
#C17998
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c167dc; /* rgb */ color: rgb(193, 103, 220); /* oklch */ color: oklch(66.3% 0.187 317.9);
Tailwind
colors: {
custom: {
50: '#d696e7',
500: '#c167dc',
950: '#000000',
},
}SCSS
$custom: #c167dc; $custom-light: #d696e7; $custom-dark: #000000;
JSON
{
"hex": "#c167dc",
"rgb": {
"r": 193,
"g": 103,
"b": 220
},
"hsl": {
"h": 286.154,
"s": 62.567,
"l": 63.333
},
"oklch": {
"l": 0.66258,
"c": 0.18748,
"h": 317.9
},
"luminance": 0.26205
}Semantic roles & 50–950 ramp
primary
#C167DC
secondary
#C4E4BB
accent
#CA1B44
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84