#C174F5#C174F5
#C174F5 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.5% C 0.194 H 309.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #C174F5 |
|---|---|
| RGB | rgb(193, 116, 245) |
| HSL | hsl(276, 87%, 71%) |
| HSV | hsv(276, 53%, 96%) |
| CMYK | cmyk(21.2%, 52.7%, 0%, 3.9%) |
| CIE-LAB | lab(62.02, 52.60, -53.11) |
| CIE-LCH | lch(62.02, 74.75, 314.73°) |
| OKLab | oklab(69.46% 0.1241 -0.1488) |
| OKLCH | oklch(69.46% 0.194 309.8) |
| XYZ | xyz(44.7160, 30.4216, 89.8848) |
| Luminance | 0.3042 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.79
Easter Purple
#C071FE
ΔE00 1.58
Light Urple
#B36FF6
ΔE00 3.00
Bright Lavender
#C760FF
ΔE00 4.09
Bright Lilac
#C95EFB
ΔE00 4.35
Liliac
#C48EFD
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C174F5 #A8F574
analogous
#8074F5 #C174F5 #F574E8
triadic
#C174F5 #F5C174 #74F5C1
tetradic
#C174F5 #F58074 #A8F574 #74E8F5
square
#C174F5 #F58074 #A8F574 #74E8F5
split-complementary
#C174F5 #E8F574 #74F580
monochromatic
#8B10DF #A83BF1 #C174F5 #DAADF9 #F2E2FD
Accessibility & contrast
On white
2.96
#C174F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#C174F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C174F5
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C174F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C174F5 | 1.00 | 2.96 | 7.08 | 7.08 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F92F9
Deuteranopia (green-blind)
#6897F2
Tritanopia (blue-blind)
#BA8AAA
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c174f5; /* rgb */ color: rgb(193, 116, 245); /* oklch */ color: oklch(69.5% 0.194 309.8);
Tailwind
colors: {
custom: {
50: '#d69ef9',
500: '#c174f5',
950: '#000000',
},
}SCSS
$custom: #c174f5; $custom-light: #d69ef9; $custom-dark: #000000;
JSON
{
"hex": "#c174f5",
"rgb": {
"r": 193,
"g": 116,
"b": 245
},
"hsl": {
"h": 275.814,
"s": 86.577,
"l": 70.784
},
"oklch": {
"l": 0.69461,
"c": 0.19379,
"h": 309.8
},
"luminance": 0.30421
}Semantic roles & 50–950 ramp
primary
#C174F5
secondary
#DFF4D1
accent
#E3025D
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85