#C187FE#C187FE
#C187FE is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.9% C 0.175 H 305.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C187FE |
|---|---|
| RGB | rgb(193, 135, 254) |
| HSL | hsl(269, 98%, 76%) |
| HSV | hsv(269, 47%, 100%) |
| CMYK | cmyk(24%, 46.9%, 0%, 0.4%) |
| CIE-LAB | lab(66.38, 44.56, -51.13) |
| CIE-LCH | lch(66.38, 67.83, 311.08°) |
| OKLab | oklab(72.85% 0.1001 -0.1431) |
| OKLCH | oklch(72.85% 0.175 305) |
| XYZ | xyz(48.5419, 35.8214, 98.1037) |
| Luminance | 0.3582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.83
Light Purple
#BF77F6
ΔE00 3.90
Easter Purple
#C071FE
ΔE00 5.06
Baby Purple
#CA9BF7
ΔE00 5.70
Light Urple
#B36FF6
ΔE00 6.23
Pastel Purple
#CAA0FF
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C187FE #C4FE87
analogous
#8789FE #C187FE #FD87FE
triadic
#C187FE #FEC187 #87FEC1
tetradic
#C187FE #FE8789 #C4FE87 #87FEFD
square
#C187FE #FE8789 #C4FE87 #87FEFD
split-complementary
#C187FE #FEFD87 #89FE87
monochromatic
#820EFD #A24AFD #C187FE #E0C4FF #EFE1FF
Accessibility & contrast
On white
2.57
#C187FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#C187FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C187FE
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C187FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C187FE | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#75A2FB
Tritanopia (blue-blind)
#B79BB7
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c187fe; /* rgb */ color: rgb(193, 135, 254); /* oklch */ color: oklch(72.9% 0.175 305.0);
Tailwind
colors: {
custom: {
50: '#d6abff',
500: '#c187fe',
950: '#000000',
},
}SCSS
$custom: #c187fe; $custom-light: #d6abff; $custom-dark: #000000;
JSON
{
"hex": "#c187fe",
"rgb": {
"r": 193,
"g": 135,
"b": 254
},
"hsl": {
"h": 269.244,
"s": 98.347,
"l": 76.275
},
"oklch": {
"l": 0.7285,
"c": 0.17463,
"h": 305
},
"luminance": 0.35821
}Semantic roles & 50–950 ramp
primary
#C187FE
secondary
#E6F7D4
accent
#E60076
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86