#B786FA#B786FA
#B786FA is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.5% C 0.169 H 301.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B786FA |
|---|---|
| RGB | rgb(183, 134, 250) |
| HSL | hsl(265, 92%, 75%) |
| HSV | hsv(265, 46%, 98%) |
| CMYK | cmyk(26.8%, 46.4%, 0%, 2%) |
| CIE-LAB | lab(64.98, 41.53, -51.23) |
| CIE-LCH | lch(64.98, 65.95, 309.03°) |
| OKLab | oklab(71.51% 0.089 -0.1436) |
| OKLCH | oklch(71.51% 0.169 301.8) |
| XYZ | xyz(45.3050, 34.0195, 94.6036) |
| Luminance | 0.3402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.97
Light Purple
#BF77F6
ΔE00 4.10
Easter Purple
#C071FE
ΔE00 5.20
Light Urple
#B36FF6
ΔE00 5.65
Baby Purple
#CA9BF7
ΔE00 6.52
Pastel Purple
#CAA0FF
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786FA #C9FA86
analogous
#868FFA #B786FA #F186FA
triadic
#B786FA #FAB786 #86FAB7
tetradic
#B786FA #FA868F #C9FA86 #86FAF1
square
#B786FA #FA868F #C9FA86 #86FAF1
split-complementary
#B786FA #FAF186 #8FFA86
monochromatic
#7110F5 #944BF8 #B786FA #DAC1FC #EEE2FE
Accessibility & contrast
On white
2.69
#B786FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#B786FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786FA
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786FA | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649DFE
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#AB9BB4
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b786fa; /* rgb */ color: rgb(183, 134, 250); /* oklch */ color: oklch(71.5% 0.169 301.8);
Tailwind
colors: {
custom: {
50: '#cfaafc',
500: '#b786fa',
950: '#000000',
},
}SCSS
$custom: #b786fa; $custom-light: #cfaafc; $custom-dark: #000000;
JSON
{
"hex": "#b786fa",
"rgb": {
"r": 183,
"g": 134,
"b": 250
},
"hsl": {
"h": 265.345,
"s": 92.063,
"l": 75.294
},
"oklch": {
"l": 0.71507,
"c": 0.169,
"h": 301.8
},
"luminance": 0.3402
}Semantic roles & 50–950 ramp
primary
#B786FA
secondary
#E8F6D5
accent
#E60085
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85