#B778EE#B778EE
#B778EE is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.6% C 0.177 H 307.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B778EE |
|---|---|
| RGB | rgb(183, 120, 238) |
| HSL | hsl(272, 78%, 70%) |
| HSV | hsv(272, 50%, 93%) |
| CMYK | cmyk(23.1%, 49.6%, 0%, 6.7%) |
| CIE-LAB | lab(61.37, 46.35, -50.32) |
| CIE-LCH | lch(61.37, 68.42, 312.65°) |
| OKLab | oklab(68.62% 0.1062 -0.141) |
| OKLCH | oklch(68.62% 0.177 307) |
| XYZ | xyz(41.6744, 29.6737, 84.4045) |
| Luminance | 0.2967 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.62
Light Urple
#B36FF6
ΔE00 2.77
Easter Purple
#C071FE
ΔE00 2.89
Bright Lavender
#C760FF
ΔE00 5.58
Liliac
#C48EFD
ΔE00 5.83
Bright Lilac
#C95EFB
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B778EE #AFEE78
analogous
#7C78EE #B778EE #EE78EA
triadic
#B778EE #EEB778 #78EEB7
tetradic
#B778EE #EE7C78 #AFEE78 #78EAEE
square
#B778EE #EE7C78 #AFEE78 #78EAEE
split-complementary
#B778EE #EAEE78 #78EE7C
monochromatic
#7C1AD1 #9A42E7 #B778EE #D4AEF5 #F1E4FC
Accessibility & contrast
On white
3.03
#B778EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.93
#B778EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B778EE
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B778EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B778EE | 1.00 | 3.03 | 6.93 | 6.93 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#6995EB
Tritanopia (blue-blind)
#AF8CA8
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b778ee; /* rgb */ color: rgb(183, 120, 238); /* oklch */ color: oklch(68.6% 0.177 307.0);
Tailwind
colors: {
custom: {
50: '#cfa0f4',
500: '#b778ee',
950: '#000000',
},
}SCSS
$custom: #b778ee; $custom-light: #cfa0f4; $custom-dark: #000000;
JSON
{
"hex": "#b778ee",
"rgb": {
"r": 183,
"g": 120,
"b": 238
},
"hsl": {
"h": 272.034,
"s": 77.632,
"l": 70.196
},
"oklch": {
"l": 0.68621,
"c": 0.17653,
"h": 307
},
"luminance": 0.29673
}Semantic roles & 50–950 ramp
primary
#B778EE
secondary
#E0F1D1
accent
#DA0C6C
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85