#B477F7#B477F7
#B477F7 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.7% C 0.188 H 303.9°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B477F7 |
|---|---|
| RGB | rgb(180, 119, 247) |
| HSL | hsl(269, 89%, 72%) |
| HSV | hsv(269, 52%, 97%) |
| CMYK | cmyk(27.1%, 51.8%, 0%, 3.1%) |
| CIE-LAB | lab(61.32, 48.18, -55.41) |
| CIE-LCH | lch(61.32, 73.43, 311.01°) |
| OKLab | oklab(68.66% 0.1047 -0.1559) |
| OKLCH | oklch(68.66% 0.188 303.9) |
| XYZ | xyz(42.2040, 29.6125, 91.4700) |
| Luminance | 0.2961 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.92
Light Purple
#BF77F6
ΔE00 2.14
Easter Purple
#C071FE
ΔE00 2.43
Bright Lavender
#C760FF
ΔE00 5.36
Bright Lilac
#C95EFB
ΔE00 5.85
Liliac
#C48EFD
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B477F7 #BAF777
analogous
#777AF7 #B477F7 #F477F7
triadic
#B477F7 #F7B477 #77F7B4
tetradic
#B477F7 #F7777A #BAF777 #77F7F4
square
#B477F7 #F7777A #BAF777 #77F7F4
split-complementary
#B477F7 #F7F477 #7AF777
monochromatic
#750EE6 #943DF4 #B477F7 #D4B1FA #EFE2FD
Accessibility & contrast
On white
3.03
#B477F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#B477F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B477F7
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B477F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B477F7 | 1.00 | 3.03 | 6.92 | 6.92 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#A88FAC
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b477f7; /* rgb */ color: rgb(180, 119, 247); /* oklch */ color: oklch(68.7% 0.188 303.9);
Tailwind
colors: {
custom: {
50: '#cda0fa',
500: '#b477f7',
950: '#000000',
},
}SCSS
$custom: #b477f7; $custom-light: #cda0fa; $custom-dark: #000000;
JSON
{
"hex": "#b477f7",
"rgb": {
"r": 180,
"g": 119,
"b": 247
},
"hsl": {
"h": 268.594,
"s": 88.889,
"l": 71.765
},
"oklch": {
"l": 0.68663,
"c": 0.18776,
"h": 303.9
},
"luminance": 0.29612
}Semantic roles & 50–950 ramp
primary
#B477F7
secondary
#E6F5D5
accent
#E60078
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85