#C168CF#C168CF
#C168CF is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.7% C 0.173 H 322.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C168CF |
|---|---|
| RGB | rgb(193, 104, 207) |
| HSL | hsl(292, 52%, 61%) |
| HSV | hsv(292, 50%, 81%) |
| CMYK | cmyk(6.8%, 49.8%, 0%, 18.8%) |
| CIE-LAB | lab(57.79, 50.92, -38.52) |
| CIE-LCH | lch(57.79, 63.85, 322.90°) |
| OKLab | oklab(65.73% 0.1363 -0.1064) |
| OKLCH | oklch(65.73% 0.173 322) |
| XYZ | xyz(38.2039, 25.7447, 61.9762) |
| Luminance | 0.2574 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.94
Orchid (survey)
#C875C4
ΔE00 4.95
Orchid
#DA70D6
ΔE00 5.19
Pinkish Purple
#D648D7
ΔE00 5.74
Pinky Purple
#C94CBE
ΔE00 6.19
Purpleish Pink
#DF4EC8
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C168CF #76CF68
analogous
#8D68CF #C168CF #CF68A9
triadic
#C168CF #CFC168 #68CFC1
tetradic
#C168CF #CF8D68 #76CF68 #68A9CF
square
#C168CF #CF8D68 #76CF68 #68A9CF
split-complementary
#C168CF #A9CF68 #68CF8D
monochromatic
#822D8F #AC3CBE #C168CF #D496DE #E7C5ED
Accessibility & contrast
On white
3.42
#C168CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#C168CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C168CF
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C168CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C168CF | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5984D2
Deuteranopia (green-blind)
#738ECC
Tritanopia (blue-blind)
#C37592
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #c168cf; /* rgb */ color: rgb(193, 104, 207); /* oklch */ color: oklch(65.7% 0.173 322.0);
Tailwind
colors: {
custom: {
50: '#d696de',
500: '#c168cf',
950: '#000000',
},
}SCSS
$custom: #c168cf; $custom-light: #d696de; $custom-dark: #000000;
JSON
{
"hex": "#c168cf",
"rgb": {
"r": 193,
"g": 104,
"b": 207
},
"hsl": {
"h": 291.845,
"s": 51.759,
"l": 60.98
},
"oklch": {
"l": 0.6573,
"c": 0.17293,
"h": 322
},
"luminance": 0.25743
}Semantic roles & 50–950 ramp
primary
#C168CF
secondary
#BBDDB6
accent
#BF263B
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150E15
muted
#837E83