#C177F2#C177F2
#C177F2 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.7% C 0.186 H 310.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C177F2 |
|---|---|
| RGB | rgb(193, 119, 242) |
| HSL | hsl(276, 83%, 71%) |
| HSV | hsv(276, 51%, 95%) |
| CMYK | cmyk(20.2%, 50.8%, 0%, 5.1%) |
| CIE-LAB | lab(62.46, 50.39, -50.75) |
| CIE-LCH | lch(62.46, 71.52, 314.80°) |
| OKLab | oklab(69.74% 0.12 -0.1419) |
| OKLCH | oklch(69.74% 0.186 310.2) |
| XYZ | xyz(44.6132, 30.9427, 87.6095) |
| Luminance | 0.3094 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.85
Easter Purple
#C071FE
ΔE00 2.36
Light Urple
#B36FF6
ΔE00 3.57
Bright Lavender
#C760FF
ΔE00 4.88
Bright Lilac
#C95EFB
ΔE00 5.07
Liliac
#C48EFD
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C177F2 #A8F277
analogous
#8377F2 #C177F2 #F277E5
triadic
#C177F2 #F2C177 #77F2C1
tetradic
#C177F2 #F28377 #A8F277 #77E5F2
square
#C177F2 #F28377 #A8F277 #77E5F2
split-complementary
#C177F2 #E5F277 #77F283
monochromatic
#8B15DA #A83FED #C177F2 #DAAFF7 #F2E3FC
Accessibility & contrast
On white
2.92
#C177F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#C177F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C177F2
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C177F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C177F2 | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5694F6
Deuteranopia (green-blind)
#6D98EF
Tritanopia (blue-blind)
#BB8CAA
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c177f2; /* rgb */ color: rgb(193, 119, 242); /* oklch */ color: oklch(69.7% 0.186 310.2);
Tailwind
colors: {
custom: {
50: '#d6a0f7',
500: '#c177f2',
950: '#000000',
},
}SCSS
$custom: #c177f2; $custom-light: #d6a0f7; $custom-dark: #000000;
JSON
{
"hex": "#c177f2",
"rgb": {
"r": 193,
"g": 119,
"b": 242
},
"hsl": {
"h": 276.098,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.69738,
"c": 0.18586,
"h": 310.2
},
"luminance": 0.30942
}Semantic roles & 50–950 ramp
primary
#C177F2
secondary
#DFF3D2
accent
#DF075D
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#150F17
muted
#837F85