#C187FC#C187FC
#C187FC is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.7% C 0.172 H 305.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #C187FC |
|---|---|
| RGB | rgb(193, 135, 252) |
| HSL | hsl(270, 95%, 76%) |
| HSV | hsv(270, 46%, 99%) |
| CMYK | cmyk(23.4%, 46.4%, 0%, 1.2%) |
| CIE-LAB | lab(66.29, 44.11, -50.19) |
| CIE-LCH | lch(66.29, 66.82, 311.31°) |
| OKLab | oklab(72.75% 0.0998 -0.1404) |
| OKLCH | oklch(72.75% 0.172 305.4) |
| XYZ | xyz(48.2233, 35.6940, 96.4257) |
| Luminance | 0.3569 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.76
Light Purple
#BF77F6
ΔE00 3.85
Easter Purple
#C071FE
ΔE00 5.10
Baby Purple
#CA9BF7
ΔE00 5.57
Light Urple
#B36FF6
ΔE00 6.25
Pastel Purple
#CAA0FF
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C187FC #C2FC87
analogous
#8787FC #C187FC #FC87FC
triadic
#C187FC #FCC187 #87FCC1
tetradic
#C187FC #FC8787 #C2FC87 #87FCFC
square
#C187FC #FC8787 #C2FC87 #87FCFC
split-complementary
#C187FC #FCFC87 #87FC87
monochromatic
#8310F9 #A24BFB #C187FC #E0C3FD #F0E1FE
Accessibility & contrast
On white
2.58
#C187FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#C187FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C187FC
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C187FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C187FC | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#B89BB6
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c187fc; /* rgb */ color: rgb(193, 135, 252); /* oklch */ color: oklch(72.7% 0.172 305.4);
Tailwind
colors: {
custom: {
50: '#d6abfe',
500: '#c187fc',
950: '#000000',
},
}SCSS
$custom: #c187fc; $custom-light: #d6abfe; $custom-dark: #000000;
JSON
{
"hex": "#c187fc",
"rgb": {
"r": 193,
"g": 135,
"b": 252
},
"hsl": {
"h": 269.744,
"s": 95.122,
"l": 75.882
},
"oklch": {
"l": 0.72745,
"c": 0.17225,
"h": 305.4
},
"luminance": 0.35694
}Semantic roles & 50–950 ramp
primary
#C187FC
secondary
#E6F6D5
accent
#E60074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86