#B477FB#B477FB
#B477FB is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.9% C 0.192 H 303.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B477FB |
|---|---|
| RGB | rgb(180, 119, 251) |
| HSL | hsl(268, 94%, 73%) |
| HSV | hsv(268, 53%, 98%) |
| CMYK | cmyk(28.3%, 52.6%, 0%, 1.6%) |
| CIE-LAB | lab(61.53, 49.12, -57.27) |
| CIE-LCH | lch(61.53, 75.45, 310.62°) |
| OKLab | oklab(68.89% 0.1049 -0.1613) |
| OKLCH | oklch(68.89% 0.192 303) |
| XYZ | xyz(42.8279, 29.8620, 94.7557) |
| Luminance | 0.2986 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.04
Easter Purple
#C071FE
ΔE00 2.42
Light Purple
#BF77F6
ΔE00 2.44
Bright Lavender
#C760FF
ΔE00 5.38
Bright Lilac
#C95EFB
ΔE00 5.93
Liliac
#C48EFD
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B477FB #BEFB77
analogous
#777CFB #B477FB #F677FB
triadic
#B477FB #FBB477 #77FBB4
tetradic
#B477FB #FB777C #BEFB77 #77FBF6
square
#B477FB #FB777C #BEFB77 #77FBF6
split-complementary
#B477FB #FBF677 #7CFB77
monochromatic
#7307F1 #933CF9 #B477FB #D5B2FD #EFE1FE
Accessibility & contrast
On white
3.01
#B477FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#B477FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B477FB
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B477FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B477FB | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#5C94F8
Tritanopia (blue-blind)
#A790AE
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b477fb; /* rgb */ color: rgb(180, 119, 251); /* oklch */ color: oklch(68.9% 0.192 303.0);
Tailwind
colors: {
custom: {
50: '#cea0fd',
500: '#b477fb',
950: '#000000',
},
}SCSS
$custom: #b477fb; $custom-light: #cea0fd; $custom-dark: #000000;
JSON
{
"hex": "#b477fb",
"rgb": {
"r": 180,
"g": 119,
"b": 251
},
"hsl": {
"h": 267.727,
"s": 94.286,
"l": 72.549
},
"oklch": {
"l": 0.68893,
"c": 0.19244,
"h": 303
},
"luminance": 0.29862
}Semantic roles & 50–950 ramp
primary
#B477FB
secondary
#E7F6D5
accent
#E6007B
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86