#B18CF7#B18CF7
#B18CF7 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.8% C 0.155 H 298.4°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B18CF7 |
|---|---|
| RGB | rgb(177, 140, 247) |
| HSL | hsl(261, 87%, 76%) |
| HSV | hsv(261, 43%, 97%) |
| CMYK | cmyk(28.3%, 43.3%, 0%, 3.1%) |
| CIE-LAB | lab(65.61, 35.90, -48.63) |
| CIE-LCH | lch(65.61, 60.44, 306.43°) |
| OKLab | oklab(71.8% 0.0736 -0.1362) |
| OKLCH | oklch(71.8% 0.155 298.4) |
| XYZ | xyz(44.2941, 34.8183, 92.3647) |
| Luminance | 0.3482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.58
Baby Purple
#CA9BF7
ΔE00 6.10
Light Purple
#BF77F6
ΔE00 6.14
Pastel Purple
#CAA0FF
ΔE00 6.32
Perrywinkle
#8F8CE7
ΔE00 7.20
Lavender (survey)
#C79FEF
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18CF7 #D2F78C
analogous
#8C9CF7 #B18CF7 #E78CF7
triadic
#B18CF7 #F7B18C #8CF7B1
tetradic
#B18CF7 #F78C9C #D2F78C #8CF7E7
square
#B18CF7 #F78C9C #D2F78C #8CF7E7
split-complementary
#B18CF7 #F7E78C #9CF78C
monochromatic
#631AEF #8A53F3 #B18CF7 #D8C5FB #ECE2FD
Accessibility & contrast
On white
2.64
#B18CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#B18CF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B18CF7
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18CF7 | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9FFB
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#A39FB6
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #b18cf7; /* rgb */ color: rgb(177, 140, 247); /* oklch */ color: oklch(71.8% 0.155 298.4);
Tailwind
colors: {
custom: {
50: '#cbaefa',
500: '#b18cf7',
950: '#000000',
},
}SCSS
$custom: #b18cf7; $custom-light: #cbaefa; $custom-dark: #000000;
JSON
{
"hex": "#b18cf7",
"rgb": {
"r": 177,
"g": 140,
"b": 247
},
"hsl": {
"h": 260.748,
"s": 86.992,
"l": 75.882
},
"oklch": {
"l": 0.71798,
"c": 0.15481,
"h": 298.4
},
"luminance": 0.34819
}Semantic roles & 50–950 ramp
primary
#B18CF7
secondary
#EAF5D6
accent
#E40296
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85