#B786FE#B786FE
#B786FE is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.7% C 0.174 H 301.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B786FE |
|---|---|
| RGB | rgb(183, 134, 254) |
| HSL | hsl(265, 98%, 76%) |
| HSV | hsv(265, 47%, 100%) |
| CMYK | cmyk(28%, 47.2%, 0%, 0.4%) |
| CIE-LAB | lab(65.18, 42.48, -53.10) |
| CIE-LCH | lch(65.18, 68.00, 308.66°) |
| OKLab | oklab(71.72% 0.0895 -0.1491) |
| OKLCH | oklch(71.72% 0.174 301) |
| XYZ | xyz(45.9388, 34.2731, 97.9419) |
| Luminance | 0.3427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.17
Light Purple
#BF77F6
ΔE00 4.27
Easter Purple
#C071FE
ΔE00 5.20
Light Urple
#B36FF6
ΔE00 5.69
Baby Purple
#CA9BF7
ΔE00 6.80
Pastel Purple
#CAA0FF
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786FE #CDFE86
analogous
#8691FE #B786FE #F386FE
triadic
#B786FE #FEB786 #86FEB7
tetradic
#B786FE #FE8691 #CDFE86 #86FEF3
square
#B786FE #FE8691 #CDFE86 #86FEF3
split-complementary
#B786FE #FEF386 #91FE86
monochromatic
#6F0DFD #9349FD #B786FE #DBC3FF #EDE1FF
Accessibility & contrast
On white
2.67
#B786FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#B786FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786FE
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786FE | 1.00 | 2.67 | 7.85 | 7.85 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#6D9EFB
Tritanopia (blue-blind)
#A99CB6
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b786fe; /* rgb */ color: rgb(183, 134, 254); /* oklch */ color: oklch(71.7% 0.174 301.0);
Tailwind
colors: {
custom: {
50: '#cfaaff',
500: '#b786fe',
950: '#000000',
},
}SCSS
$custom: #b786fe; $custom-light: #cfaaff; $custom-dark: #000000;
JSON
{
"hex": "#b786fe",
"rgb": {
"r": 183,
"g": 134,
"b": 254
},
"hsl": {
"h": 264.5,
"s": 98.361,
"l": 76.078
},
"oklch": {
"l": 0.71722,
"c": 0.1739,
"h": 301
},
"luminance": 0.34273
}Semantic roles & 50–950 ramp
primary
#B786FE
secondary
#E9F7D4
accent
#E60088
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86