#B786FD#B786FD
#B786FD is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.7% C 0.173 H 301.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B786FD |
|---|---|
| RGB | rgb(183, 134, 253) |
| HSL | hsl(265, 97%, 76%) |
| HSV | hsv(265, 47%, 99%) |
| CMYK | cmyk(27.7%, 47%, 0%, 0.8%) |
| CIE-LAB | lab(65.13, 42.24, -52.63) |
| CIE-LCH | lch(65.13, 67.49, 308.75°) |
| OKLab | oklab(71.67% 0.0894 -0.1477) |
| OKLCH | oklch(71.67% 0.173 301.2) |
| XYZ | xyz(45.7791, 34.2092, 97.1007) |
| Luminance | 0.3421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.11
Light Purple
#BF77F6
ΔE00 4.22
Easter Purple
#C071FE
ΔE00 5.19
Light Urple
#B36FF6
ΔE00 5.67
Baby Purple
#CA9BF7
ΔE00 6.73
Pastel Purple
#CAA0FF
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B786FD #CCFD86
analogous
#8690FD #B786FD #F386FD
triadic
#B786FD #FDB786 #86FDB7
tetradic
#B786FD #FD8690 #CCFD86 #86FDF3
square
#B786FD #FD8690 #CCFD86 #86FDF3
split-complementary
#B786FD #FDF386 #90FD86
monochromatic
#6F0EFB #934AFC #B786FD #DBC2FE #EDE1FF
Accessibility & contrast
On white
2.68
#B786FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#B786FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B786FD
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B786FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B786FD | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#6E9DFA
Tritanopia (blue-blind)
#AA9BB6
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b786fd; /* rgb */ color: rgb(183, 134, 253); /* oklch */ color: oklch(71.7% 0.173 301.2);
Tailwind
colors: {
custom: {
50: '#cfaafe',
500: '#b786fd',
950: '#000000',
},
}SCSS
$custom: #b786fd; $custom-light: #cfaafe; $custom-dark: #000000;
JSON
{
"hex": "#b786fd",
"rgb": {
"r": 183,
"g": 134,
"b": 253
},
"hsl": {
"h": 264.706,
"s": 96.748,
"l": 75.882
},
"oklch": {
"l": 0.71668,
"c": 0.17267,
"h": 301.2
},
"luminance": 0.34209
}Semantic roles & 50–950 ramp
primary
#B786FD
secondary
#E9F7D4
accent
#E60087
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86