#B780EA#B780EA
#B780EA is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.7% C 0.159 H 306.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B780EA |
|---|---|
| RGB | rgb(183, 128, 234) |
| HSL | hsl(271, 72%, 71%) |
| HSV | hsv(271, 45%, 92%) |
| CMYK | cmyk(21.8%, 45.3%, 0%, 8.2%) |
| CIE-LAB | lab(62.88, 41.12, -45.72) |
| CIE-LCH | lch(62.88, 61.49, 311.97°) |
| OKLab | oklab(69.68% 0.095 -0.1276) |
| OKLCH | oklch(69.68% 0.159 306.7) |
| XYZ | xyz(42.0959, 31.4465, 81.6781) |
| Luminance | 0.3145 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.08
Liliac
#C48EFD
ΔE00 4.39
Easter Purple
#C071FE
ΔE00 4.72
Light Urple
#B36FF6
ΔE00 4.87
Pale Purple
#B790D4
ΔE00 6.96
Wisteria
#A87DC2
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B780EA #B3EA80
analogous
#8280EA #B780EA #EA80E8
triadic
#B780EA #EAB780 #80EAB7
tetradic
#B780EA #EA8280 #B3EA80 #80E8EA
square
#B780EA #EA8280 #B3EA80 #80E8EA
split-complementary
#B780EA #E8EA80 #80EA82
monochromatic
#7B22CE #994BE1 #B780EA #D5B5F3 #F0E5FB
Accessibility & contrast
On white
2.88
#B780EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#B780EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B780EA
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B780EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B780EA | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6596EE
Deuteranopia (green-blind)
#7399E7
Tritanopia (blue-blind)
#AF91AA
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b780ea; /* rgb */ color: rgb(183, 128, 234); /* oklch */ color: oklch(69.7% 0.159 306.7);
Tailwind
colors: {
custom: {
50: '#cea6f1',
500: '#b780ea',
950: '#000000',
},
}SCSS
$custom: #b780ea; $custom-light: #cea6f1; $custom-dark: #000000;
JSON
{
"hex": "#b780ea",
"rgb": {
"r": 183,
"g": 128,
"b": 234
},
"hsl": {
"h": 271.132,
"s": 71.622,
"l": 70.98
},
"oklch": {
"l": 0.69684,
"c": 0.15907,
"h": 306.7
},
"luminance": 0.31446
}Semantic roles & 50–950 ramp
primary
#B780EA
secondary
#E2F1D5
accent
#D4126F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85