#C187FD#C187FD
#C187FD is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.8% C 0.173 H 305.2°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C187FD |
|---|---|
| RGB | rgb(193, 135, 253) |
| HSL | hsl(269, 97%, 76%) |
| HSV | hsv(269, 47%, 99%) |
| CMYK | cmyk(23.7%, 46.6%, 0%, 0.8%) |
| CIE-LAB | lab(66.33, 44.34, -50.66) |
| CIE-LCH | lch(66.33, 67.32, 311.19°) |
| OKLab | oklab(72.8% 0.0999 -0.1418) |
| OKLCH | oklch(72.8% 0.173 305.2) |
| XYZ | xyz(48.3822, 35.7575, 97.2625) |
| Luminance | 0.3576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.79
Light Purple
#BF77F6
ΔE00 3.87
Easter Purple
#C071FE
ΔE00 5.08
Baby Purple
#CA9BF7
ΔE00 5.63
Light Urple
#B36FF6
ΔE00 6.24
Pastel Purple
#CAA0FF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C187FD #C3FD87
analogous
#8788FD #C187FD #FC87FD
triadic
#C187FD #FDC187 #87FDC1
tetradic
#C187FD #FD8788 #C3FD87 #87FDFC
square
#C187FD #FD8788 #C3FD87 #87FDFC
split-complementary
#C187FD #FDFC87 #88FD87
monochromatic
#830FFB #A24BFC #C187FD #E0C3FE #EFE1FE
Accessibility & contrast
On white
2.58
#C187FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#C187FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C187FD
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C187FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C187FD | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#76A2FA
Tritanopia (blue-blind)
#B79BB6
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c187fd; /* rgb */ color: rgb(193, 135, 253); /* oklch */ color: oklch(72.8% 0.173 305.2);
Tailwind
colors: {
custom: {
50: '#d6abfe',
500: '#c187fd',
950: '#000000',
},
}SCSS
$custom: #c187fd; $custom-light: #d6abfe; $custom-dark: #000000;
JSON
{
"hex": "#c187fd",
"rgb": {
"r": 193,
"g": 135,
"b": 253
},
"hsl": {
"h": 269.492,
"s": 96.721,
"l": 76.078
},
"oklch": {
"l": 0.72798,
"c": 0.17345,
"h": 305.2
},
"luminance": 0.35757
}Semantic roles & 50–950 ramp
primary
#C187FD
secondary
#E6F7D4
accent
#E60075
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86