#C174FC#C174FC
#C174FC is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 69.9% C 0.201 H 308.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C174FC |
|---|---|
| RGB | rgb(193, 116, 252) |
| HSL | hsl(274, 96%, 72%) |
| HSV | hsv(274, 54%, 99%) |
| CMYK | cmyk(23.4%, 54%, 0%, 1.2%) |
| CIE-LAB | lab(62.39, 54.13, -56.38) |
| CIE-LCH | lch(62.39, 78.16, 313.84°) |
| OKLab | oklab(69.85% 0.1246 -0.1584) |
| OKLCH | oklch(69.85% 0.201 308.2) |
| XYZ | xyz(45.8049, 30.8571, 95.6196) |
| Luminance | 0.3086 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 0.78
Light Purple
#BF77F6
ΔE00 1.08
Light Urple
#B36FF6
ΔE00 2.80
Bright Lavender
#C760FF
ΔE00 3.93
Bright Lilac
#C95EFB
ΔE00 4.37
Liliac
#C48EFD
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C174FC #AFFC74
analogous
#7D74FC #C174FC #FC74F3
triadic
#C174FC #FCC174 #74FCC1
tetradic
#C174FC #FC7D74 #AFFC74 #74F3FC
square
#C174FC #FC7D74 #AFFC74 #74F3FC
split-complementary
#C174FC #F3FC74 #74FC7D
monochromatic
#8A05F0 #A638FB #C174FC #DCB0FD #F2E1FE
Accessibility & contrast
On white
2.93
#C174FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#C174FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C174FC
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C174FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C174FC | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#B88DAD
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c174fc; /* rgb */ color: rgb(193, 116, 252); /* oklch */ color: oklch(69.9% 0.201 308.2);
Tailwind
colors: {
custom: {
50: '#d79ffe',
500: '#c174fc',
950: '#000000',
},
}SCSS
$custom: #c174fc; $custom-light: #d79ffe; $custom-dark: #000000;
JSON
{
"hex": "#c174fc",
"rgb": {
"r": 193,
"g": 116,
"b": 252
},
"hsl": {
"h": 273.971,
"s": 95.775,
"l": 72.157
},
"oklch": {
"l": 0.69854,
"c": 0.20148,
"h": 308.2
},
"luminance": 0.30857
}Semantic roles & 50–950 ramp
primary
#C174FC
secondary
#E3F7D4
accent
#E60064
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86