#C175F2#C175F2
#C175F2 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.4% C 0.189 H 310.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #C175F2 |
|---|---|
| RGB | rgb(193, 117, 242) |
| HSL | hsl(276, 83%, 70%) |
| HSV | hsv(276, 52%, 95%) |
| CMYK | cmyk(20.2%, 51.7%, 0%, 5.1%) |
| CIE-LAB | lab(62.06, 51.43, -51.38) |
| CIE-LCH | lch(62.06, 72.70, 315.03°) |
| OKLab | oklab(69.44% 0.1226 -0.1438) |
| OKLCH | oklch(69.44% 0.189 310.5) |
| XYZ | xyz(44.3777, 30.4717, 87.5310) |
| Luminance | 0.3047 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.93
Easter Purple
#C071FE
ΔE00 2.11
Light Urple
#B36FF6
ΔE00 3.31
Bright Lavender
#C760FF
ΔE00 4.45
Bright Lilac
#C95EFB
ΔE00 4.64
Liliac
#C48EFD
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C175F2 #A6F275
analogous
#8275F2 #C175F2 #F275E4
triadic
#C175F2 #F2C175 #75F2C1
tetradic
#C175F2 #F28275 #A6F275 #75E4F2
square
#C175F2 #F28275 #A6F275 #75E4F2
split-complementary
#C175F2 #E4F275 #75F282
monochromatic
#8B14D8 #A83DED #C175F2 #DAADF7 #F2E3FC
Accessibility & contrast
On white
2.96
#C175F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#C175F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C175F2
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C175F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C175F2 | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#6B97EF
Tritanopia (blue-blind)
#BB8AA9
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c175f2; /* rgb */ color: rgb(193, 117, 242); /* oklch */ color: oklch(69.4% 0.189 310.5);
Tailwind
colors: {
custom: {
50: '#d69ff7',
500: '#c175f2',
950: '#000000',
},
}SCSS
$custom: #c175f2; $custom-light: #d69ff7; $custom-dark: #000000;
JSON
{
"hex": "#c175f2",
"rgb": {
"r": 193,
"g": 117,
"b": 242
},
"hsl": {
"h": 276.48,
"s": 82.781,
"l": 70.392
},
"oklch": {
"l": 0.69442,
"c": 0.18896,
"h": 310.5
},
"luminance": 0.30471
}Semantic roles & 50–950 ramp
primary
#C175F2
secondary
#DEF3D0
accent
#DF065B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85