#B188F3#B188F3
#B188F3 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.9% C 0.156 H 300.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B188F3 |
|---|---|
| RGB | rgb(177, 136, 243) |
| HSL | hsl(263, 82%, 74%) |
| HSV | hsv(263, 44%, 95%) |
| CMYK | cmyk(27.2%, 44%, 0%, 4.7%) |
| CIE-LAB | lab(64.50, 37.16, -48.17) |
| CIE-LCH | lch(64.50, 60.84, 307.65°) |
| OKLab | oklab(70.91% 0.0783 -0.1349) |
| OKLCH | oklch(70.91% 0.156 300.1) |
| XYZ | xyz(43.1096, 33.4263, 88.9574) |
| Luminance | 0.3343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.64
Light Purple
#BF77F6
ΔE00 5.14
Light Urple
#B36FF6
ΔE00 6.34
Easter Purple
#C071FE
ΔE00 6.35
Baby Purple
#CA9BF7
ΔE00 6.48
Pastel Purple
#CAA0FF
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B188F3 #CAF388
analogous
#8895F3 #B188F3 #E788F3
triadic
#B188F3 #F3B188 #88F3B1
tetradic
#B188F3 #F38895 #CAF388 #88F3E7
square
#B188F3 #F38895 #CAF388 #88F3E7
split-complementary
#B188F3 #F3E788 #95F388
monochromatic
#6819E8 #8D50ED #B188F3 #D5C0F9 #EDE3FC
Accessibility & contrast
On white
2.73
#B188F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#B188F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B188F3
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B188F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B188F3 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699CF7
Deuteranopia (green-blind)
#729CF0
Tritanopia (blue-blind)
#A49BB2
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b188f3; /* rgb */ color: rgb(177, 136, 243); /* oklch */ color: oklch(70.9% 0.156 300.1);
Tailwind
colors: {
custom: {
50: '#caabf7',
500: '#b188f3',
950: '#000000',
},
}SCSS
$custom: #b188f3; $custom-light: #caabf7; $custom-dark: #000000;
JSON
{
"hex": "#b188f3",
"rgb": {
"r": 177,
"g": 136,
"b": 243
},
"hsl": {
"h": 262.991,
"s": 81.679,
"l": 74.314
},
"oklch": {
"l": 0.70906,
"c": 0.15597,
"h": 300.1
},
"luminance": 0.33426
}Semantic roles & 50–950 ramp
primary
#B188F3
secondary
#E9F4D7
accent
#DE078C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85