#C173F2#C173F2
#C173F2 is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.2% C 0.192 H 310.7°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #C173F2 |
|---|---|
| RGB | rgb(193, 115, 242) |
| HSL | hsl(277, 83%, 70%) |
| HSV | hsv(277, 52%, 95%) |
| CMYK | cmyk(20.2%, 52.5%, 0%, 5.1%) |
| CIE-LAB | lab(61.66, 52.46, -52.01) |
| CIE-LCH | lch(61.66, 73.87, 315.25°) |
| OKLab | oklab(69.15% 0.1252 -0.1456) |
| OKLCH | oklch(69.15% 0.192 310.7) |
| XYZ | xyz(44.1471, 30.0106, 87.4542) |
| Luminance | 0.3001 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.20
Easter Purple
#C071FE
ΔE00 1.95
Light Urple
#B36FF6
ΔE00 3.11
Bright Lavender
#C760FF
ΔE00 4.04
Bright Lilac
#C95EFB
ΔE00 4.21
Liliac
#C48EFD
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C173F2 #A4F273
analogous
#8173F2 #C173F2 #F273E4
triadic
#C173F2 #F2C173 #73F2C1
tetradic
#C173F2 #F28173 #A4F273 #73E4F2
square
#C173F2 #F28173 #A4F273 #73E4F2
split-complementary
#C173F2 #E4F273 #73F281
monochromatic
#8C14D7 #A83BED #C173F2 #DAABF7 #F3E3FC
Accessibility & contrast
On white
3.00
#C173F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.00
#C173F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C173F2
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C173F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C173F2 | 1.00 | 3.00 | 7.00 | 7.00 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#6996EF
Tritanopia (blue-blind)
#BB89A8
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #c173f2; /* rgb */ color: rgb(193, 115, 242); /* oklch */ color: oklch(69.2% 0.192 310.7);
Tailwind
colors: {
custom: {
50: '#d69ef7',
500: '#c173f2',
950: '#000000',
},
}SCSS
$custom: #c173f2; $custom-light: #d69ef7; $custom-dark: #000000;
JSON
{
"hex": "#c173f2",
"rgb": {
"r": 193,
"g": 115,
"b": 242
},
"hsl": {
"h": 276.85,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.6915,
"c": 0.19204,
"h": 310.7
},
"luminance": 0.3001
}Semantic roles & 50–950 ramp
primary
#C173F2
secondary
#DCF2CF
accent
#DF065A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85