#C174F2#C174F2
#C174F2 is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.3% C 0.191 H 310.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #C174F2 |
|---|---|
| RGB | rgb(193, 116, 242) |
| HSL | hsl(277, 83%, 70%) |
| HSV | hsv(277, 52%, 95%) |
| CMYK | cmyk(20.2%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(61.86, 51.95, -51.69) |
| CIE-LCH | lch(61.86, 73.29, 315.14°) |
| OKLab | oklab(69.3% 0.1239 -0.1447) |
| OKLCH | oklch(69.3% 0.191 310.6) |
| XYZ | xyz(44.2618, 30.2399, 87.4924) |
| Luminance | 0.3024 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.05
Easter Purple
#C071FE
ΔE00 2.02
Light Urple
#B36FF6
ΔE00 3.20
Bright Lavender
#C760FF
ΔE00 4.24
Bright Lilac
#C95EFB
ΔE00 4.42
Liliac
#C48EFD
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C174F2 #A5F274
analogous
#8274F2 #C174F2 #F274E4
triadic
#C174F2 #F2C174 #74F2C1
tetradic
#C174F2 #F28274 #A5F274 #74E4F2
square
#C174F2 #F28274 #A5F274 #74E4F2
split-complementary
#C174F2 #E4F274 #74F282
monochromatic
#8C14D7 #A83CED #C174F2 #DAACF7 #F3E3FC
Accessibility & contrast
On white
2.98
#C174F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#C174F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C174F2
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C174F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C174F2 | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#6A97EF
Tritanopia (blue-blind)
#BB89A8
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #c174f2; /* rgb */ color: rgb(193, 116, 242); /* oklch */ color: oklch(69.3% 0.191 310.6);
Tailwind
colors: {
custom: {
50: '#d69ef7',
500: '#c174f2',
950: '#000000',
},
}SCSS
$custom: #c174f2; $custom-light: #d69ef7; $custom-dark: #000000;
JSON
{
"hex": "#c174f2",
"rgb": {
"r": 193,
"g": 116,
"b": 242
},
"hsl": {
"h": 276.667,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.69295,
"c": 0.1905,
"h": 310.6
},
"luminance": 0.30239
}Semantic roles & 50–950 ramp
primary
#C174F2
secondary
#DDF2CF
accent
#DF065B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85