#B477F9#B477F9
#B477F9 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.8% C 0.190 H 303.4°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B477F9 |
|---|---|
| RGB | rgb(180, 119, 249) |
| HSL | hsl(268, 92%, 72%) |
| HSV | hsv(268, 52%, 98%) |
| CMYK | cmyk(27.7%, 52.2%, 0%, 2.4%) |
| CIE-LAB | lab(61.43, 48.65, -56.34) |
| CIE-LCH | lch(61.43, 74.44, 310.81°) |
| OKLab | oklab(68.78% 0.1048 -0.1586) |
| OKLCH | oklch(68.78% 0.19 303.4) |
| XYZ | xyz(42.5143, 29.7366, 93.1041) |
| Luminance | 0.2974 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.96
Light Purple
#BF77F6
ΔE00 2.28
Easter Purple
#C071FE
ΔE00 2.41
Bright Lavender
#C760FF
ΔE00 5.36
Bright Lilac
#C95EFB
ΔE00 5.88
Liliac
#C48EFD
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B477F9 #BCF977
analogous
#777BF9 #B477F9 #F577F9
triadic
#B477F9 #F9B477 #77F9B4
tetradic
#B477F9 #F9777B #BCF977 #77F9F5
square
#B477F9 #F9777B #BCF977 #77F9F5
split-complementary
#B477F9 #F9F577 #7BF977
monochromatic
#740AEB #943CF6 #B477F9 #D4B2FC #EFE2FE
Accessibility & contrast
On white
3.02
#B477F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.95
#B477F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B477F9
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B477F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B477F9 | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B93FD
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#A88FAD
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b477f9; /* rgb */ color: rgb(180, 119, 249); /* oklch */ color: oklch(68.8% 0.190 303.4);
Tailwind
colors: {
custom: {
50: '#cea0fc',
500: '#b477f9',
950: '#000000',
},
}SCSS
$custom: #b477f9; $custom-light: #cea0fc; $custom-dark: #000000;
JSON
{
"hex": "#b477f9",
"rgb": {
"r": 180,
"g": 119,
"b": 249
},
"hsl": {
"h": 268.154,
"s": 91.549,
"l": 72.157
},
"oklch": {
"l": 0.68778,
"c": 0.1901,
"h": 303.4
},
"luminance": 0.29737
}Semantic roles & 50–950 ramp
primary
#B477F9
secondary
#E7F6D5
accent
#E6007A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85