#C187FB#C187FB
#C187FB is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.7% C 0.171 H 305.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C187FB |
|---|---|
| RGB | rgb(193, 135, 251) |
| HSL | hsl(270, 94%, 76%) |
| HSV | hsv(270, 46%, 98%) |
| CMYK | cmyk(23.1%, 46.2%, 0%, 1.6%) |
| CIE-LAB | lab(66.24, 43.88, -49.72) |
| CIE-LCH | lch(66.24, 66.32, 311.43°) |
| OKLab | oklab(72.69% 0.0997 -0.139) |
| OKLCH | oklch(72.69% 0.171 305.6) |
| XYZ | xyz(48.0653, 35.6308, 95.5934) |
| Luminance | 0.3563 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.74
Light Purple
#BF77F6
ΔE00 3.83
Easter Purple
#C071FE
ΔE00 5.13
Baby Purple
#CA9BF7
ΔE00 5.50
Light Urple
#B36FF6
ΔE00 6.26
Pastel Purple
#CAA0FF
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C187FB #C1FB87
analogous
#8787FB #C187FB #FB87FB
triadic
#C187FB #FBC187 #87FBC1
tetradic
#C187FB #FB8787 #C1FB87 #87FBFB
square
#C187FB #FB8787 #C1FB87 #87FBFB
split-complementary
#C187FB #FBFB87 #87FB87
monochromatic
#8411F7 #A24CF9 #C187FB #E0C2FD #F0E1FE
Accessibility & contrast
On white
2.58
#C187FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#C187FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C187FB
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C187FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C187FB | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#77A1F8
Tritanopia (blue-blind)
#B89BB5
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c187fb; /* rgb */ color: rgb(193, 135, 251); /* oklch */ color: oklch(72.7% 0.171 305.6);
Tailwind
colors: {
custom: {
50: '#d6abfd',
500: '#c187fb',
950: '#000000',
},
}SCSS
$custom: #c187fb; $custom-light: #d6abfd; $custom-dark: #000000;
JSON
{
"hex": "#c187fb",
"rgb": {
"r": 193,
"g": 135,
"b": 251
},
"hsl": {
"h": 270,
"s": 93.548,
"l": 75.686
},
"oklch": {
"l": 0.72693,
"c": 0.17106,
"h": 305.6
},
"luminance": 0.3563
}Semantic roles & 50–950 ramp
primary
#C187FB
secondary
#E6F6D5
accent
#E60073
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86