#C179F8#C179F8
#C179F8 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.4% C 0.189 H 308.5°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #C179F8 |
|---|---|
| RGB | rgb(193, 121, 248) |
| HSL | hsl(274, 90%, 72%) |
| HSV | hsv(274, 51%, 97%) |
| CMYK | cmyk(22.2%, 51.2%, 0%, 2.7%) |
| CIE-LAB | lab(63.17, 50.66, -52.93) |
| CIE-LCH | lch(63.17, 73.27, 313.75°) |
| OKLab | oklab(70.36% 0.1179 -0.1483) |
| OKLCH | oklch(70.36% 0.189 308.5) |
| XYZ | xyz(45.7697, 31.7901, 92.5137) |
| Luminance | 0.3179 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.61
Easter Purple
#C071FE
ΔE00 2.05
Light Urple
#B36FF6
ΔE00 3.55
Liliac
#C48EFD
ΔE00 5.02
Bright Lavender
#C760FF
ΔE00 5.08
Bright Lilac
#C95EFB
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C179F8 #B0F879
analogous
#8279F8 #C179F8 #F879EF
triadic
#C179F8 #F8C179 #79F8C1
tetradic
#C179F8 #F88279 #B0F879 #79EFF8
square
#C179F8 #F88279 #B0F879 #79EFF8
split-complementary
#C179F8 #EFF879 #79F882
monochromatic
#8A0CEA #A63FF5 #C179F8 #DCB3FB #F2E2FD
Accessibility & contrast
On white
2.85
#C179F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#C179F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C179F8
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C179F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C179F8 | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#B98FAD
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #c179f8; /* rgb */ color: rgb(193, 121, 248); /* oklch */ color: oklch(70.4% 0.189 308.5);
Tailwind
colors: {
custom: {
50: '#d6a2fb',
500: '#c179f8',
950: '#000000',
},
}SCSS
$custom: #c179f8; $custom-light: #d6a2fb; $custom-dark: #000000;
JSON
{
"hex": "#c179f8",
"rgb": {
"r": 193,
"g": 121,
"b": 248
},
"hsl": {
"h": 274.016,
"s": 90.071,
"l": 72.353
},
"oklch": {
"l": 0.70363,
"c": 0.18945,
"h": 308.5
},
"luminance": 0.3179
}Semantic roles & 50–950 ramp
primary
#C179F8
secondary
#E3F6D5
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85