#B778F7#B778F7
#B778F7 is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.187 H 304.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B778F7 |
|---|---|
| RGB | rgb(183, 120, 247) |
| HSL | hsl(270, 89%, 72%) |
| HSV | hsv(270, 51%, 97%) |
| CMYK | cmyk(25.9%, 51.4%, 0%, 3.1%) |
| CIE-LAB | lab(61.84, 48.41, -54.56) |
| CIE-LCH | lch(61.84, 72.94, 311.58°) |
| OKLab | oklab(69.12% 0.107 -0.1533) |
| OKLCH | oklch(69.12% 0.187 304.9) |
| XYZ | xyz(43.0298, 30.2159, 91.5430) |
| Luminance | 0.3022 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.58
Easter Purple
#C071FE
ΔE00 2.20
Light Urple
#B36FF6
ΔE00 2.28
Bright Lavender
#C760FF
ΔE00 5.31
Liliac
#C48EFD
ΔE00 5.71
Bright Lilac
#C95EFB
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B778F7 #B8F778
analogous
#7879F7 #B778F7 #F778F7
triadic
#B778F7 #F7B778 #78F7B7
tetradic
#B778F7 #F77879 #B8F778 #78F7F7
square
#B778F7 #F77879 #B8F778 #78F7F7
split-complementary
#B778F7 #F7F778 #79F778
monochromatic
#790EE7 #983EF4 #B778F7 #D6B2FA #F0E2FD
Accessibility & contrast
On white
2.98
#B778F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#B778F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B778F7
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B778F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B778F7 | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#6396F4
Tritanopia (blue-blind)
#AC8FAC
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b778f7; /* rgb */ color: rgb(183, 120, 247); /* oklch */ color: oklch(69.1% 0.187 304.9);
Tailwind
colors: {
custom: {
50: '#cfa1fa',
500: '#b778f7',
950: '#000000',
},
}SCSS
$custom: #b778f7; $custom-light: #cfa1fa; $custom-dark: #000000;
JSON
{
"hex": "#b778f7",
"rgb": {
"r": 183,
"g": 120,
"b": 247
},
"hsl": {
"h": 269.764,
"s": 88.811,
"l": 71.961
},
"oklch": {
"l": 0.69121,
"c": 0.18698,
"h": 304.9
},
"luminance": 0.30216
}Semantic roles & 50–950 ramp
primary
#B778F7
secondary
#E6F5D5
accent
#E50074
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85