#B782F9#B782F9
#B782F9 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.8% C 0.174 H 302.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B782F9 |
|---|---|
| RGB | rgb(183, 130, 249) |
| HSL | hsl(267, 91%, 74%) |
| HSV | hsv(267, 48%, 98%) |
| CMYK | cmyk(26.5%, 47.8%, 0%, 2.4%) |
| CIE-LAB | lab(64.06, 43.48, -52.14) |
| CIE-LCH | lch(64.06, 67.89, 309.83°) |
| OKLab | oklab(70.8% 0.0942 -0.1463) |
| OKLCH | oklch(70.8% 0.174 302.8) |
| XYZ | xyz(44.6062, 32.8721, 93.5991) |
| Luminance | 0.3287 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.17
Liliac
#C48EFD
ΔE00 3.63
Easter Purple
#C071FE
ΔE00 4.25
Light Urple
#B36FF6
ΔE00 4.66
Baby Purple
#CA9BF7
ΔE00 7.27
Bright Lavender
#C760FF
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B782F9 #C4F982
analogous
#8289F9 #B782F9 #F382F9
triadic
#B782F9 #F9B782 #82F9B7
tetradic
#B782F9 #F98289 #C4F982 #82F9F3
square
#B782F9 #F98289 #C4F982 #82F9F3
split-complementary
#B782F9 #F9F382 #89F982
monochromatic
#740DF3 #9548F6 #B782F9 #D9BCFC #EEE2FE
Accessibility & contrast
On white
2.77
#B782F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#B782F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B782F9
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B782F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B782F9 | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#6C9BF6
Tritanopia (blue-blind)
#AB97B2
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #b782f9; /* rgb */ color: rgb(183, 130, 249); /* oklch */ color: oklch(70.8% 0.174 302.8);
Tailwind
colors: {
custom: {
50: '#cfa7fc',
500: '#b782f9',
950: '#000000',
},
}SCSS
$custom: #b782f9; $custom-light: #cfa7fc; $custom-dark: #000000;
JSON
{
"hex": "#b782f9",
"rgb": {
"r": 183,
"g": 130,
"b": 249
},
"hsl": {
"h": 266.723,
"s": 90.84,
"l": 74.314
},
"oklch": {
"l": 0.70803,
"c": 0.17398,
"h": 302.8
},
"luminance": 0.32872
}Semantic roles & 50–950 ramp
primary
#B782F9
secondary
#E7F6D5
accent
#E6007F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85