#C188F9#C188F9
#C188F9 is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.8% C 0.167 H 305.9°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C188F9 |
|---|---|
| RGB | rgb(193, 136, 249) |
| HSL | hsl(270, 90%, 75%) |
| HSV | hsv(270, 45%, 98%) |
| CMYK | cmyk(22.5%, 45.4%, 0%, 2.4%) |
| CIE-LAB | lab(66.36, 42.89, -48.44) |
| CIE-LCH | lch(66.36, 64.70, 311.52°) |
| OKLab | oklab(72.75% 0.0981 -0.1353) |
| OKLCH | oklch(72.75% 0.167 305.9) |
| XYZ | xyz(47.8919, 35.7857, 93.9885) |
| Luminance | 0.3579 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.53
Light Purple
#BF77F6
ΔE00 4.07
Baby Purple
#CA9BF7
ΔE00 5.16
Easter Purple
#C071FE
ΔE00 5.44
Pastel Purple
#CAA0FF
ΔE00 6.00
Light Urple
#B36FF6
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C188F9 #C0F988
analogous
#8888F9 #C188F9 #F988F9
triadic
#C188F9 #F9C188 #88F9C1
tetradic
#C188F9 #F98888 #C0F988 #88F9F9
square
#C188F9 #F98888 #C0F988 #88F9F9
split-complementary
#C188F9 #F9F988 #88F988
monochromatic
#8413F3 #A34EF6 #C188F9 #DFC2FC #F0E2FE
Accessibility & contrast
On white
2.57
#C188F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#C188F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C188F9
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C188F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C188F9 | 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)
#6B9FFD
Deuteranopia (green-blind)
#79A2F6
Tritanopia (blue-blind)
#B89BB5
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c188f9; /* rgb */ color: rgb(193, 136, 249); /* oklch */ color: oklch(72.8% 0.167 305.9);
Tailwind
colors: {
custom: {
50: '#d6acfc',
500: '#c188f9',
950: '#000000',
},
}SCSS
$custom: #c188f9; $custom-light: #d6acfc; $custom-dark: #000000;
JSON
{
"hex": "#c188f9",
"rgb": {
"r": 193,
"g": 136,
"b": 249
},
"hsl": {
"h": 270.265,
"s": 90.4,
"l": 75.49
},
"oklch": {
"l": 0.72751,
"c": 0.1671,
"h": 305.9
},
"luminance": 0.35785
}Semantic roles & 50–950 ramp
primary
#C188F9
secondary
#E5F6D5
accent
#E60072
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85