#C174F4#C174F4
#C174F4 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.4% C 0.193 H 310.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #C174F4 |
|---|---|
| RGB | rgb(193, 116, 244) |
| HSL | hsl(276, 85%, 71%) |
| HSV | hsv(276, 52%, 96%) |
| CMYK | cmyk(20.9%, 52.5%, 0%, 4.3%) |
| CIE-LAB | lab(61.96, 52.38, -52.64) |
| CIE-LCH | lch(61.96, 74.26, 314.86°) |
| OKLab | oklab(69.41% 0.1241 -0.1474) |
| OKLCH | oklch(69.41% 0.193 310.1) |
| XYZ | xyz(44.5638, 30.3607, 89.0830) |
| Luminance | 0.3036 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.85
Easter Purple
#C071FE
ΔE00 1.73
Light Urple
#B36FF6
ΔE00 3.06
Bright Lavender
#C760FF
ΔE00 4.13
Bright Lilac
#C95EFB
ΔE00 4.37
Liliac
#C48EFD
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C174F4 #A7F474
analogous
#8174F4 #C174F4 #F474E7
triadic
#C174F4 #F4C174 #74F4C1
tetradic
#C174F4 #F48174 #A7F474 #74E7F4
square
#C174F4 #F48174 #A7F474 #74E7F4
split-complementary
#C174F4 #E7F474 #74F481
monochromatic
#8B11DC #A83BF0 #C174F4 #DAADF8 #F2E3FD
Accessibility & contrast
On white
2.97
#C174F4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#C174F4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C174F4
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C174F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C174F4 | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5092F8
Deuteranopia (green-blind)
#6997F1
Tritanopia (blue-blind)
#BB8AA9
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c174f4; /* rgb */ color: rgb(193, 116, 244); /* oklch */ color: oklch(69.4% 0.193 310.1);
Tailwind
colors: {
custom: {
50: '#d69ef8',
500: '#c174f4',
950: '#000000',
},
}SCSS
$custom: #c174f4; $custom-light: #d69ef8; $custom-dark: #000000;
JSON
{
"hex": "#c174f4",
"rgb": {
"r": 193,
"g": 116,
"b": 244
},
"hsl": {
"h": 276.094,
"s": 85.333,
"l": 70.588
},
"oklch": {
"l": 0.69405,
"c": 0.1927,
"h": 310.1
},
"luminance": 0.3036
}Semantic roles & 50–950 ramp
primary
#C174F4
secondary
#DEF3D1
accent
#E2045C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85