#B786FB#B786FB
#B786FB is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.6% C 0.170 H 301.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B786FB |
|---|---|
| RGB | rgb(183, 134, 251) |
| HSL | hsl(265, 94%, 75%) |
| HSV | hsv(265, 47%, 98%) |
| CMYK | cmyk(27.1%, 46.6%, 0%, 1.6%) |
| CIE-LAB | lab(65.03, 41.77, -51.70) |
| CIE-LCH | lch(65.03, 66.46, 308.94°) |
| OKLab | oklab(71.56% 0.0891 -0.145) |
| OKLCH | oklch(71.56% 0.17 301.6) |
| XYZ | xyz(45.4622, 34.0824, 95.4316) |
| Luminance | 0.3408 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.01
Light Purple
#BF77F6
ΔE00 4.13
Easter Purple
#C071FE
ΔE00 5.20
Light Urple
#B36FF6
ΔE00 5.66
Baby Purple
#CA9BF7
ΔE00 6.59
Pastel Purple
#CAA0FF
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786FB #CAFB86
analogous
#868FFB #B786FB #F186FB
triadic
#B786FB #FBB786 #86FBB7
tetradic
#B786FB #FB868F #CAFB86 #86FBF1
square
#B786FB #FB868F #CAFB86 #86FBF1
split-complementary
#B786FB #FBF186 #8FFB86
monochromatic
#7010F7 #944BF9 #B786FB #DAC1FD #EDE1FE
Accessibility & contrast
On white
2.69
#B786FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#B786FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786FB
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786FB | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#AA9BB5
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b786fb; /* rgb */ color: rgb(183, 134, 251); /* oklch */ color: oklch(71.6% 0.170 301.6);
Tailwind
colors: {
custom: {
50: '#cfaafd',
500: '#b786fb',
950: '#000000',
},
}SCSS
$custom: #b786fb; $custom-light: #cfaafd; $custom-dark: #000000;
JSON
{
"hex": "#b786fb",
"rgb": {
"r": 183,
"g": 134,
"b": 251
},
"hsl": {
"h": 265.128,
"s": 93.6,
"l": 75.49
},
"oklch": {
"l": 0.71561,
"c": 0.17022,
"h": 301.6
},
"luminance": 0.34083
}Semantic roles & 50–950 ramp
primary
#B786FB
secondary
#E8F6D5
accent
#E60085
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86