#B780F2#B780F2
#B780F2 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.1% C 0.169 H 304.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B780F2 |
|---|---|
| RGB | rgb(183, 128, 242) |
| HSL | hsl(269, 81%, 73%) |
| HSV | hsv(269, 47%, 95%) |
| CMYK | cmyk(24.4%, 47.1%, 0%, 5.1%) |
| CIE-LAB | lab(63.27, 42.94, -49.52) |
| CIE-LCH | lch(63.27, 65.55, 310.93°) |
| OKLab | oklab(70.1% 0.096 -0.1387) |
| OKLCH | oklch(70.1% 0.169 304.7) |
| XYZ | xyz(43.2712, 31.9166, 87.8681) |
| Luminance | 0.3192 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.63
Liliac
#C48EFD
ΔE00 4.02
Easter Purple
#C071FE
ΔE00 4.05
Light Urple
#B36FF6
ΔE00 4.32
Bright Lavender
#C760FF
ΔE00 7.21
Baby Purple
#CA9BF7
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B780F2 #BBF280
analogous
#8082F2 #B780F2 #F080F2
triadic
#B780F2 #F2B780 #80F2B7
tetradic
#B780F2 #F28082 #BBF280 #80F2F0
square
#B780F2 #F28082 #BBF280 #80F2F0
split-complementary
#B780F2 #F2F080 #82F280
monochromatic
#7817E1 #9848EC #B780F2 #D6B8F8 #EFE3FC
Accessibility & contrast
On white
2.84
#B780F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#B780F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B780F2
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B780F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B780F2 | 1.00 | 2.84 | 7.38 | 7.38 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6098F6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#AD94AE
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b780f2; /* rgb */ color: rgb(183, 128, 242); /* oklch */ color: oklch(70.1% 0.169 304.7);
Tailwind
colors: {
custom: {
50: '#cfa6f7',
500: '#b780f2',
950: '#000000',
},
}SCSS
$custom: #b780f2; $custom-light: #cfa6f7; $custom-dark: #000000;
JSON
{
"hex": "#b780f2",
"rgb": {
"r": 183,
"g": 128,
"b": 242
},
"hsl": {
"h": 268.947,
"s": 81.429,
"l": 72.549
},
"oklch": {
"l": 0.70104,
"c": 0.16867,
"h": 304.7
},
"luminance": 0.31916
}Semantic roles & 50–950 ramp
primary
#B780F2
secondary
#E6F4D7
accent
#DE0877
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85