#B782FC#B782FC
#B782FC is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.0% C 0.178 H 302.1°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B782FC |
|---|---|
| RGB | rgb(183, 130, 252) |
| HSL | hsl(266, 95%, 75%) |
| HSV | hsv(266, 48%, 99%) |
| CMYK | cmyk(27.4%, 48.4%, 0%, 1.2%) |
| CIE-LAB | lab(64.21, 44.19, -53.54) |
| CIE-LCH | lch(64.21, 69.42, 309.53°) |
| OKLab | oklab(70.97% 0.0945 -0.1504) |
| OKLCH | oklch(70.97% 0.178 302.1) |
| XYZ | xyz(45.0778, 33.0608, 96.0831) |
| Luminance | 0.3306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.32
Liliac
#C48EFD
ΔE00 3.73
Easter Purple
#C071FE
ΔE00 4.23
Light Urple
#B36FF6
ΔE00 4.68
Baby Purple
#CA9BF7
ΔE00 7.45
Bright Lavender
#C760FF
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B782FC #C7FC82
analogous
#828AFC #B782FC #F482FC
triadic
#B782FC #FCB782 #82FCB7
tetradic
#B782FC #FC828A #C7FC82 #82FCF4
square
#B782FC #FC828A #C7FC82 #82FCF4
split-complementary
#B782FC #FCF482 #8AFC82
monochromatic
#720AF9 #9546FB #B782FC #D9BEFD #EEE1FE
Accessibility & contrast
On white
2.76
#B782FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#B782FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B782FC
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B782FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B782FC | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#6A9BF9
Tritanopia (blue-blind)
#AA98B3
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b782fc; /* rgb */ color: rgb(183, 130, 252); /* oklch */ color: oklch(71.0% 0.178 302.1);
Tailwind
colors: {
custom: {
50: '#cfa7fe',
500: '#b782fc',
950: '#000000',
},
}SCSS
$custom: #b782fc; $custom-light: #cfa7fe; $custom-dark: #000000;
JSON
{
"hex": "#b782fc",
"rgb": {
"r": 183,
"g": 130,
"b": 252
},
"hsl": {
"h": 266.066,
"s": 95.313,
"l": 74.902
},
"oklch": {
"l": 0.70966,
"c": 0.17761,
"h": 302.1
},
"luminance": 0.33061
}Semantic roles & 50–950 ramp
primary
#B782FC
secondary
#E8F7D4
accent
#E60082
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86