#B477DF#B477DF
#B477DF is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.160 H 309.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B477DF |
|---|---|
| RGB | rgb(180, 119, 223) |
| HSL | hsl(275, 62%, 67%) |
| HSV | hsv(275, 47%, 87%) |
| CMYK | cmyk(19.3%, 46.6%, 0%, 12.5%) |
| CIE-LAB | lab(60.09, 42.72, -44.02) |
| CIE-LCH | lch(60.09, 61.34, 314.15°) |
| OKLab | oklab(67.35% 0.1022 -0.1227) |
| OKLCH | oklch(67.35% 0.16 309.8) |
| XYZ | xyz(38.7360, 28.2253, 73.2051) |
| Luminance | 0.2823 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.64
Light Urple
#B36FF6
ΔE00 4.36
Easter Purple
#C071FE
ΔE00 4.90
Wisteria
#A87DC2
ΔE00 6.01
Bright Lavender
#C760FF
ΔE00 6.73
Bright Lilac
#C95EFB
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B477DF #A2DF77
analogous
#8077DF #B477DF #DF77D6
triadic
#B477DF #DFB477 #77DFB4
tetradic
#B477DF #DF8077 #A2DF77 #77D6DF
square
#B477DF #DF8077 #A2DF77 #77D6DF
split-complementary
#B477DF #D6DF77 #77DF80
monochromatic
#7A2AB2 #9945D3 #B477DF #CFA9EB #EBDAF6
Accessibility & contrast
On white
3.16
#B477DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#B477DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B477DF
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B477DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B477DF | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#6F92DC
Tritanopia (blue-blind)
#AF88A0
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b477df; /* rgb */ color: rgb(180, 119, 223); /* oklch */ color: oklch(67.4% 0.160 309.8);
Tailwind
colors: {
custom: {
50: '#cca0e9',
500: '#b477df',
950: '#000000',
},
}SCSS
$custom: #b477df; $custom-light: #cca0e9; $custom-dark: #000000;
JSON
{
"hex": "#b477df",
"rgb": {
"r": 180,
"g": 119,
"b": 223
},
"hsl": {
"h": 275.192,
"s": 61.905,
"l": 67.059
},
"oklch": {
"l": 0.67353,
"c": 0.15971,
"h": 309.8
},
"luminance": 0.28225
}Semantic roles & 50–950 ramp
primary
#B477DF
secondary
#D6E9C8
accent
#CA1C64
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F16
muted
#827E84