#B477F2#B477F2
#B477F2 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.4% C 0.182 H 305.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B477F2 |
|---|---|
| RGB | rgb(180, 119, 242) |
| HSL | hsl(270, 83%, 71%) |
| HSV | hsv(270, 51%, 95%) |
| CMYK | cmyk(25.6%, 50.8%, 0%, 5.1%) |
| CIE-LAB | lab(61.05, 47.02, -53.07) |
| CIE-LCH | lch(61.05, 70.90, 311.55°) |
| OKLab | oklab(68.38% 0.1043 -0.149) |
| OKLCH | oklch(68.38% 0.182 305) |
| XYZ | xyz(41.4428, 29.3080, 87.4609) |
| Luminance | 0.2931 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.97
Light Urple
#B36FF6
ΔE00 2.04
Easter Purple
#C071FE
ΔE00 2.66
Bright Lavender
#C760FF
ΔE00 5.44
Bright Lilac
#C95EFB
ΔE00 5.83
Liliac
#C48EFD
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B477F2 #B5F277
analogous
#7777F2 #B477F2 #F177F2
triadic
#B477F2 #F2B477 #77F2B4
tetradic
#B477F2 #F27777 #B5F277 #77F2F1
square
#B477F2 #F27777 #B5F277 #77F2F1
split-complementary
#B477F2 #F2F177 #77F277
monochromatic
#7615DA #953FED #B477F2 #D3AFF7 #F0E3FC
Accessibility & contrast
On white
3.06
#B477F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#B477F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B477F2
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B477F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B477F2 | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#6394EF
Tritanopia (blue-blind)
#AA8DAA
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b477f2; /* rgb */ color: rgb(180, 119, 242); /* oklch */ color: oklch(68.4% 0.182 305.0);
Tailwind
colors: {
custom: {
50: '#cda0f7',
500: '#b477f2',
950: '#000000',
},
}SCSS
$custom: #b477f2; $custom-light: #cda0f7; $custom-dark: #000000;
JSON
{
"hex": "#b477f2",
"rgb": {
"r": 180,
"g": 119,
"b": 242
},
"hsl": {
"h": 269.756,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.6838,
"c": 0.18191,
"h": 305
},
"luminance": 0.29308
}Semantic roles & 50–950 ramp
primary
#B477F2
secondary
#E3F3D2
accent
#DF0774
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85