#B188F6#B188F6
#B188F6 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.1% C 0.160 H 299.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B188F6 |
|---|---|
| RGB | rgb(177, 136, 246) |
| HSL | hsl(262, 86%, 75%) |
| HSV | hsv(262, 45%, 96%) |
| CMYK | cmyk(28%, 44.7%, 0%, 3.5%) |
| CIE-LAB | lab(64.65, 37.88, -49.59) |
| CIE-LCH | lch(64.65, 62.40, 307.38°) |
| OKLab | oklab(71.06% 0.0787 -0.139) |
| OKLCH | oklch(71.06% 0.16 299.5) |
| XYZ | xyz(43.5663, 33.6090, 91.3629) |
| Luminance | 0.3361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.66
Light Purple
#BF77F6
ΔE00 5.16
Easter Purple
#C071FE
ΔE00 6.27
Light Urple
#B36FF6
ΔE00 6.29
Baby Purple
#CA9BF7
ΔE00 6.65
Pastel Purple
#CAA0FF
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B188F6 #CDF688
analogous
#8896F6 #B188F6 #E888F6
triadic
#B188F6 #F6B188 #88F6B1
tetradic
#B188F6 #F68896 #CDF688 #88F6E8
square
#B188F6 #F68896 #CDF688 #88F6E8
split-complementary
#B188F6 #F6E888 #96F688
monochromatic
#6616ED #8C4FF2 #B188F6 #D6C1FA #ECE3FD
Accessibility & contrast
On white
2.72
#B188F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#B188F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B188F6
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B188F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B188F6 | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#709CF3
Tritanopia (blue-blind)
#A39CB3
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b188f6; /* rgb */ color: rgb(177, 136, 246); /* oklch */ color: oklch(71.1% 0.160 299.5);
Tailwind
colors: {
custom: {
50: '#cbabf9',
500: '#b188f6',
950: '#000000',
},
}SCSS
$custom: #b188f6; $custom-light: #cbabf9; $custom-dark: #000000;
JSON
{
"hex": "#b188f6",
"rgb": {
"r": 177,
"g": 136,
"b": 246
},
"hsl": {
"h": 262.364,
"s": 85.938,
"l": 74.902
},
"oklch": {
"l": 0.71063,
"c": 0.15976,
"h": 299.5
},
"luminance": 0.33609
}Semantic roles & 50–950 ramp
primary
#B188F6
secondary
#E9F5D6
accent
#E2038F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85