#C167F2#C167F2
#C167F2 is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.5% C 0.210 H 312.0°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #C167F2 |
|---|---|
| RGB | rgb(193, 103, 242) |
| HSL | hsl(279, 84%, 68%) |
| HSV | hsv(279, 57%, 95%) |
| CMYK | cmyk(20.2%, 57.4%, 0%, 5.1%) |
| CIE-LAB | lab(59.39, 58.49, -55.63) |
| CIE-LCH | lch(59.39, 80.72, 316.44°) |
| OKLab | oklab(67.48% 0.1404 -0.1561) |
| OKLCH | oklch(67.48% 0.21 312) |
| XYZ | xyz(42.8667, 27.4498, 87.0274) |
| Luminance | 0.2745 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.02
Bright Lavender
#C760FF
ΔE00 2.07
Easter Purple
#C071FE
ΔE00 2.83
Light Urple
#B36FF6
ΔE00 3.13
Light Purple
#BF77F6
ΔE00 3.54
Heliotrope
#D94FF5
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C167F2 #98F267
analogous
#7C67F2 #C167F2 #F267DD
triadic
#C167F2 #F2C167 #67F2C1
tetradic
#C167F2 #F27C67 #98F267 #67DDF2
square
#C167F2 #F27C67 #98F267 #67DDF2
split-complementary
#C167F2 #DDF267 #67F27C
monochromatic
#8B12CD #AA2FED #C167F2 #D89FF7 #EFD8FC
Accessibility & contrast
On white
3.24
#C167F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#C167F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C167F2
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C167F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C167F2 | 1.00 | 3.24 | 6.49 | 6.49 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#5D91EF
Tritanopia (blue-blind)
#BC80A3
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c167f2; /* rgb */ color: rgb(193, 103, 242); /* oklch */ color: oklch(67.5% 0.210 312.0);
Tailwind
colors: {
custom: {
50: '#d796f7',
500: '#c167f2',
950: '#000000',
},
}SCSS
$custom: #c167f2; $custom-light: #d796f7; $custom-dark: #000000;
JSON
{
"hex": "#c167f2",
"rgb": {
"r": 193,
"g": 103,
"b": 242
},
"hsl": {
"h": 278.849,
"s": 84.242,
"l": 67.647
},
"oklch": {
"l": 0.6748,
"c": 0.20997,
"h": 312
},
"luminance": 0.27449
}Semantic roles & 50–950 ramp
primary
#C167F2
secondary
#D4F0C5
accent
#E10552
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85