#B778F8#B778F8
#B778F8 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.2% C 0.188 H 304.7°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B778F8 |
|---|---|
| RGB | rgb(183, 120, 248) |
| HSL | hsl(270, 90%, 72%) |
| HSV | hsv(270, 52%, 97%) |
| CMYK | cmyk(26.2%, 51.6%, 0%, 2.7%) |
| CIE-LAB | lab(61.89, 48.64, -55.02) |
| CIE-LCH | lch(61.89, 73.44, 311.48°) |
| OKLab | oklab(69.18% 0.1071 -0.1547) |
| OKLCH | oklch(69.18% 0.188 304.7) |
| XYZ | xyz(43.1845, 30.2777, 92.3579) |
| Luminance | 0.3028 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.65
Easter Purple
#C071FE
ΔE00 2.17
Light Urple
#B36FF6
ΔE00 2.28
Bright Lavender
#C760FF
ΔE00 5.30
Liliac
#C48EFD
ΔE00 5.72
Bright Lilac
#C95EFB
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B778F8 #B9F878
analogous
#7879F8 #B778F8 #F778F8
triadic
#B778F8 #F8B778 #78F8B7
tetradic
#B778F8 #F87879 #B9F878 #78F8F7
square
#B778F8 #F87879 #B9F878 #78F8F7
split-complementary
#B778F8 #F8F778 #79F878
monochromatic
#790CE9 #983EF5 #B778F8 #D6B2FB #EFE2FD
Accessibility & contrast
On white
2.98
#B778F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#B778F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B778F8
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B778F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B778F8 | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#AC8FAD
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b778f8; /* rgb */ color: rgb(183, 120, 248); /* oklch */ color: oklch(69.2% 0.188 304.7);
Tailwind
colors: {
custom: {
50: '#cfa1fb',
500: '#b778f8',
950: '#000000',
},
}SCSS
$custom: #b778f8; $custom-light: #cfa1fb; $custom-dark: #000000;
JSON
{
"hex": "#b778f8",
"rgb": {
"r": 183,
"g": 120,
"b": 248
},
"hsl": {
"h": 269.531,
"s": 90.141,
"l": 72.157
},
"oklch": {
"l": 0.69177,
"c": 0.18815,
"h": 304.7
},
"luminance": 0.30278
}Semantic roles & 50–950 ramp
primary
#B778F8
secondary
#E6F6D5
accent
#E60075
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85