#B479EB#B479EB
#B479EB is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.3% C 0.171 H 306.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B479EB |
|---|---|
| RGB | rgb(180, 121, 235) |
| HSL | hsl(271, 74%, 70%) |
| HSV | hsv(271, 49%, 92%) |
| CMYK | cmyk(23.4%, 48.5%, 0%, 7.8%) |
| CIE-LAB | lab(61.11, 44.34, -49.09) |
| CIE-LCH | lch(61.11, 66.15, 312.09°) |
| OKLab | oklab(68.31% 0.101 -0.1375) |
| OKLCH | oklch(68.31% 0.171 306.3) |
| XYZ | xyz(40.6521, 29.3765, 82.1098) |
| Luminance | 0.2938 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.28
Light Urple
#B36FF6
ΔE00 3.05
Easter Purple
#C071FE
ΔE00 3.52
Liliac
#C48EFD
ΔE00 5.91
Bright Lavender
#C760FF
ΔE00 6.14
Bright Lilac
#C95EFB
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B479EB #B0EB79
analogous
#7B79EB #B479EB #EB79E9
triadic
#B479EB #EBB479 #79EBB4
tetradic
#B479EB #EB7B79 #B0EB79 #79E9EB
square
#B479EB #EB7B79 #B0EB79 #79E9EB
split-complementary
#B479EB #E9EB79 #79EB7B
monochromatic
#781ECB #9644E3 #B479EB #D2AEF3 #F0E4FB
Accessibility & contrast
On white
3.05
#B479EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#B479EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B479EB
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B479EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B479EB | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#6A94E8
Tritanopia (blue-blind)
#AB8DA7
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b479eb; /* rgb */ color: rgb(180, 121, 235); /* oklch */ color: oklch(68.3% 0.171 306.3);
Tailwind
colors: {
custom: {
50: '#cda1f2',
500: '#b479eb',
950: '#000000',
},
}SCSS
$custom: #b479eb; $custom-light: #cda1f2; $custom-dark: #000000;
JSON
{
"hex": "#b479eb",
"rgb": {
"r": 180,
"g": 121,
"b": 235
},
"hsl": {
"h": 271.053,
"s": 74.026,
"l": 69.804
},
"oklch": {
"l": 0.68307,
"c": 0.17056,
"h": 306.3
},
"luminance": 0.29376
}Semantic roles & 50–950 ramp
primary
#B479EB
secondary
#DFF0D0
accent
#D60F6F
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85