#C188F3#C188F3
#C188F3 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.4% C 0.160 H 307.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #C188F3 |
|---|---|
| RGB | rgb(193, 136, 243) |
| HSL | hsl(272, 82%, 74%) |
| HSV | hsv(272, 44%, 95%) |
| CMYK | cmyk(20.6%, 44%, 0%, 4.7%) |
| CIE-LAB | lab(66.07, 41.55, -45.59) |
| CIE-LCH | lch(66.07, 61.68, 312.34°) |
| OKLab | oklab(72.45% 0.0972 -0.127) |
| OKLCH | oklch(72.45% 0.16 307.4) |
| XYZ | xyz(46.9710, 35.4173, 89.1384) |
| Luminance | 0.3542 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.97
Light Purple
#BF77F6
ΔE00 4.22
Baby Purple
#CA9BF7
ΔE00 4.89
Easter Purple
#C071FE
ΔE00 5.78
Pastel Purple
#CAA0FF
ΔE00 5.99
Lavender (survey)
#C79FEF
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C188F3 #BAF388
analogous
#8C88F3 #C188F3 #F388EF
triadic
#C188F3 #F3C188 #88F3C1
tetradic
#C188F3 #F38C88 #BAF388 #88EFF3
square
#C188F3 #F38C88 #BAF388 #88EFF3
split-complementary
#C188F3 #EFF388 #88F38C
monochromatic
#8719E8 #A450ED #C188F3 #DEC0F9 #F1E3FC
Accessibility & contrast
On white
2.60
#C188F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#C188F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C188F3
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C188F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C188F3 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9EF7
Deuteranopia (green-blind)
#7DA1F0
Tritanopia (blue-blind)
#BA99B2
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c188f3; /* rgb */ color: rgb(193, 136, 243); /* oklch */ color: oklch(72.4% 0.160 307.4);
Tailwind
colors: {
custom: {
50: '#d5acf7',
500: '#c188f3',
950: '#000000',
},
}SCSS
$custom: #c188f3; $custom-light: #d5acf7; $custom-dark: #000000;
JSON
{
"hex": "#c188f3",
"rgb": {
"r": 193,
"g": 136,
"b": 243
},
"hsl": {
"h": 271.963,
"s": 81.679,
"l": 74.314
},
"oklch": {
"l": 0.72446,
"c": 0.15996,
"h": 307.4
},
"luminance": 0.35417
}Semantic roles & 50–950 ramp
primary
#C188F3
secondary
#E5F4D7
accent
#DE076C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85