#B771F4#B771F4
#B771F4 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.9% C 0.194 H 306.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B771F4 |
|---|---|
| RGB | rgb(183, 113, 244) |
| HSL | hsl(272, 86%, 70%) |
| HSV | hsv(272, 54%, 96%) |
| CMYK | cmyk(25%, 53.7%, 0%, 4.3%) |
| CIE-LAB | lab(60.26, 51.42, -55.42) |
| CIE-LCH | lch(60.26, 75.60, 312.85°) |
| OKLab | oklab(67.9% 0.1158 -0.1558) |
| OKLCH | oklch(67.9% 0.194 306.6) |
| XYZ | xyz(41.7593, 28.4096, 88.8541) |
| Luminance | 0.2841 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.03
Easter Purple
#C071FE
ΔE00 1.84
Light Purple
#BF77F6
ΔE00 2.07
Bright Lavender
#C760FF
ΔE00 4.00
Bright Lilac
#C95EFB
ΔE00 4.40
Lighter Purple
#A55AF4
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B771F4 #AEF471
analogous
#7571F4 #B771F4 #F471F0
triadic
#B771F4 #F4B771 #71F4B7
tetradic
#B771F4 #F47571 #AEF471 #71F0F4
square
#B771F4 #F47571 #AEF471 #71F0F4
split-complementary
#B771F4 #F0F471 #71F475
monochromatic
#7C11DA #9A38F0 #B771F4 #D4AAF8 #F1E3FD
Accessibility & contrast
On white
3.14
#B771F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#B771F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B771F4
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B771F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B771F4 | 1.00 | 3.14 | 6.68 | 6.68 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#468FF8
Deuteranopia (green-blind)
#5D92F1
Tritanopia (blue-blind)
#AD89A8
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b771f4; /* rgb */ color: rgb(183, 113, 244); /* oklch */ color: oklch(67.9% 0.194 306.6);
Tailwind
colors: {
custom: {
50: '#d09cf8',
500: '#b771f4',
950: '#000000',
},
}SCSS
$custom: #b771f4; $custom-light: #d09cf8; $custom-dark: #000000;
JSON
{
"hex": "#b771f4",
"rgb": {
"r": 183,
"g": 113,
"b": 244
},
"hsl": {
"h": 272.061,
"s": 85.621,
"l": 70
},
"oklch": {
"l": 0.67899,
"c": 0.19414,
"h": 306.6
},
"luminance": 0.28409
}Semantic roles & 50–950 ramp
primary
#B771F4
secondary
#DFF3CE
accent
#E2036B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85