#B189F7#B189F7
#B189F7 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.3% C 0.159 H 299.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B189F7 |
|---|---|
| RGB | rgb(177, 137, 247) |
| HSL | hsl(262, 87%, 75%) |
| HSV | hsv(262, 45%, 97%) |
| CMYK | cmyk(28.3%, 44.5%, 0%, 3.1%) |
| CIE-LAB | lab(64.93, 37.57, -49.70) |
| CIE-LCH | lch(64.93, 62.30, 307.08°) |
| OKLab | oklab(71.29% 0.0775 -0.1393) |
| OKLCH | oklch(71.29% 0.159 299.1) |
| XYZ | xyz(43.8617, 33.9535, 92.2205) |
| Luminance | 0.3395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.63
Light Purple
#BF77F6
ΔE00 5.41
Easter Purple
#C071FE
ΔE00 6.50
Baby Purple
#CA9BF7
ΔE00 6.54
Light Urple
#B36FF6
ΔE00 6.55
Pastel Purple
#CAA0FF
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B189F7 #CFF789
analogous
#8998F7 #B189F7 #E889F7
triadic
#B189F7 #F7B189 #89F7B1
tetradic
#B189F7 #F78998 #CFF789 #89F7E8
square
#B189F7 #F78998 #CFF789 #89F7E8
split-complementary
#B189F7 #F7E889 #98F789
monochromatic
#6516EF #8B50F3 #B189F7 #D7C2FB #ECE2FD
Accessibility & contrast
On white
2.70
#B189F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#B189F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B189F7
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B189F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B189F7 | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#A39DB4
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b189f7; /* rgb */ color: rgb(177, 137, 247); /* oklch */ color: oklch(71.3% 0.159 299.1);
Tailwind
colors: {
custom: {
50: '#cbacfa',
500: '#b189f7',
950: '#000000',
},
}SCSS
$custom: #b189f7; $custom-light: #cbacfa; $custom-dark: #000000;
JSON
{
"hex": "#b189f7",
"rgb": {
"r": 177,
"g": 137,
"b": 247
},
"hsl": {
"h": 261.818,
"s": 87.302,
"l": 75.294
},
"oklch": {
"l": 0.71286,
"c": 0.15947,
"h": 299.1
},
"luminance": 0.33954
}Semantic roles & 50–950 ramp
primary
#B189F7
secondary
#EAF5D6
accent
#E40292
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85