#B778F6#B778F6
#B778F6 is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.186 H 305.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B778F6 |
|---|---|
| RGB | rgb(183, 120, 246) |
| HSL | hsl(270, 88%, 72%) |
| HSV | hsv(270, 51%, 96%) |
| CMYK | cmyk(25.6%, 51.2%, 0%, 3.5%) |
| CIE-LAB | lab(61.79, 48.18, -54.09) |
| CIE-LCH | lch(61.79, 72.43, 311.69°) |
| OKLab | oklab(69.06% 0.1069 -0.152) |
| OKLCH | oklch(69.06% 0.186 305.1) |
| XYZ | xyz(42.8759, 30.1543, 90.7325) |
| Luminance | 0.3015 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.53
Easter Purple
#C071FE
ΔE00 2.24
Light Urple
#B36FF6
ΔE00 2.29
Bright Lavender
#C760FF
ΔE00 5.32
Liliac
#C48EFD
ΔE00 5.71
Bright Lilac
#C95EFB
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B778F6 #B7F678
analogous
#7878F6 #B778F6 #F678F6
triadic
#B778F6 #F6B778 #78F6B7
tetradic
#B778F6 #F67878 #B7F678 #78F6F6
square
#B778F6 #F67878 #B7F678 #78F6F6
split-complementary
#B778F6 #F6F678 #78F678
monochromatic
#7A0FE4 #983FF2 #B778F6 #D6B1FA #F0E2FD
Accessibility & contrast
On white
2.99
#B778F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#B778F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B778F6
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B778F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B778F6 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5093FA
Deuteranopia (green-blind)
#6395F3
Tritanopia (blue-blind)
#AD8FAC
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b778f6; /* rgb */ color: rgb(183, 120, 246); /* oklch */ color: oklch(69.1% 0.186 305.1);
Tailwind
colors: {
custom: {
50: '#cfa1fa',
500: '#b778f6',
950: '#000000',
},
}SCSS
$custom: #b778f6; $custom-light: #cfa1fa; $custom-dark: #000000;
JSON
{
"hex": "#b778f6",
"rgb": {
"r": 183,
"g": 120,
"b": 246
},
"hsl": {
"h": 270,
"s": 87.5,
"l": 71.765
},
"oklch": {
"l": 0.69064,
"c": 0.18583,
"h": 305.1
},
"luminance": 0.30154
}Semantic roles & 50–950 ramp
primary
#B778F6
secondary
#E5F5D5
accent
#E40173
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85