#B478F6#B478F6
#B478F6 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.8% C 0.185 H 303.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B478F6 |
|---|---|
| RGB | rgb(180, 120, 246) |
| HSL | hsl(269, 88%, 72%) |
| HSV | hsv(269, 51%, 96%) |
| CMYK | cmyk(26.8%, 51.2%, 0%, 3.5%) |
| CIE-LAB | lab(61.47, 47.42, -54.61) |
| CIE-LCH | lch(61.47, 72.32, 310.97°) |
| OKLab | oklab(68.76% 0.1033 -0.1536) |
| OKLCH | oklch(68.76% 0.185 303.9) |
| XYZ | xyz(42.1698, 29.7902, 90.6994) |
| Luminance | 0.2979 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.10
Light Urple
#B36FF6
ΔE00 2.16
Easter Purple
#C071FE
ΔE00 2.59
Bright Lavender
#C760FF
ΔE00 5.57
Liliac
#C48EFD
ΔE00 5.95
Bright Lilac
#C95EFB
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B478F6 #BAF678
analogous
#787BF6 #B478F6 #F378F6
triadic
#B478F6 #F6B478 #78F6B4
tetradic
#B478F6 #F6787B #BAF678 #78F6F3
square
#B478F6 #F6787B #BAF678 #78F6F3
split-complementary
#B478F6 #F6F378 #7BF678
monochromatic
#750FE4 #943FF2 #B478F6 #D4B1FA #EFE2FD
Accessibility & contrast
On white
3.02
#B478F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#B478F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B478F6
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B478F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B478F6 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F93FA
Deuteranopia (green-blind)
#6194F3
Tritanopia (blue-blind)
#A88FAC
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b478f6; /* rgb */ color: rgb(180, 120, 246); /* oklch */ color: oklch(68.8% 0.185 303.9);
Tailwind
colors: {
custom: {
50: '#cda0fa',
500: '#b478f6',
950: '#000000',
},
}SCSS
$custom: #b478f6; $custom-light: #cda0fa; $custom-dark: #000000;
JSON
{
"hex": "#b478f6",
"rgb": {
"r": 180,
"g": 120,
"b": 246
},
"hsl": {
"h": 268.571,
"s": 87.5,
"l": 71.765
},
"oklch": {
"l": 0.6876,
"c": 0.18507,
"h": 303.9
},
"luminance": 0.2979
}Semantic roles & 50–950 ramp
primary
#B478F6
secondary
#E6F5D5
accent
#E40178
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85