#C388FC#C388FC
#C388FC is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.1% C 0.171 H 306.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #C388FC |
|---|---|
| RGB | rgb(195, 136, 252) |
| HSL | hsl(271, 95%, 76%) |
| HSV | hsv(271, 46%, 99%) |
| CMYK | cmyk(22.6%, 46%, 0%, 1.2%) |
| CIE-LAB | lab(66.70, 44.11, -49.52) |
| CIE-LCH | lch(66.70, 66.31, 311.69°) |
| OKLab | oklab(73.1% 0.1008 -0.1384) |
| OKLCH | oklch(73.1% 0.171 306.1) |
| XYZ | xyz(48.8769, 36.2391, 96.4965) |
| Luminance | 0.3624 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.47
Light Purple
#BF77F6
ΔE00 4.09
Baby Purple
#CA9BF7
ΔE00 5.23
Easter Purple
#C071FE
ΔE00 5.37
Pastel Purple
#CAA0FF
ΔE00 6.00
Light Urple
#B36FF6
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C388FC #C1FC88
analogous
#8988FC #C388FC #FC88FB
triadic
#C388FC #FCC388 #88FCC3
tetradic
#C388FC #FC8988 #C1FC88 #88FBFC
square
#C388FC #FC8988 #C1FC88 #88FBFC
split-complementary
#C388FC #FBFC88 #88FC89
monochromatic
#8711F9 #A54CFA #C388FC #E1C4FE #F0E1FE
Accessibility & contrast
On white
2.55
#C388FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#C388FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C388FC
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C388FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C388FC | 1.00 | 2.55 | 8.25 | 8.25 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#79A3F9
Tritanopia (blue-blind)
#BA9BB6
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #c388fc; /* rgb */ color: rgb(195, 136, 252); /* oklch */ color: oklch(73.1% 0.171 306.1);
Tailwind
colors: {
custom: {
50: '#d7acfe',
500: '#c388fc',
950: '#000000',
},
}SCSS
$custom: #c388fc; $custom-light: #d7acfe; $custom-dark: #000000;
JSON
{
"hex": "#c388fc",
"rgb": {
"r": 195,
"g": 136,
"b": 252
},
"hsl": {
"h": 270.517,
"s": 95.082,
"l": 76.078
},
"oklch": {
"l": 0.73103,
"c": 0.17123,
"h": 306.1
},
"luminance": 0.36239
}Semantic roles & 50–950 ramp
primary
#C388FC
secondary
#E5F6D5
accent
#E60071
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86