#B478F3#B478F3
#B478F3 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.182 H 304.6°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B478F3 |
|---|---|
| RGB | rgb(180, 120, 243) |
| HSL | hsl(269, 84%, 71%) |
| HSV | hsv(269, 51%, 95%) |
| CMYK | cmyk(25.9%, 50.6%, 0%, 4.7%) |
| CIE-LAB | lab(61.31, 46.72, -53.20) |
| CIE-LCH | lch(61.31, 70.80, 311.29°) |
| OKLab | oklab(68.59% 0.1031 -0.1495) |
| OKLCH | oklch(68.59% 0.182 304.6) |
| XYZ | xyz(41.7130, 29.6075, 88.2939) |
| Luminance | 0.2961 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.99
Light Urple
#B36FF6
ΔE00 2.23
Easter Purple
#C071FE
ΔE00 2.72
Bright Lavender
#C760FF
ΔE00 5.62
Liliac
#C48EFD
ΔE00 5.95
Bright Lilac
#C95EFB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B478F3 #B7F378
analogous
#7879F3 #B478F3 #F178F3
triadic
#B478F3 #F3B478 #78F3B4
tetradic
#B478F3 #F37879 #B7F378 #78F3F1
square
#B478F3 #F37879 #B7F378 #78F3F1
split-complementary
#B478F3 #F3F178 #79F378
monochromatic
#7614DD #9540EE #B478F3 #D3B0F8 #EFE3FD
Accessibility & contrast
On white
3.03
#B478F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#B478F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B478F3
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B478F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B478F3 | 1.00 | 3.03 | 6.92 | 6.92 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5292F7
Deuteranopia (green-blind)
#6394F0
Tritanopia (blue-blind)
#A98EAA
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b478f3; /* rgb */ color: rgb(180, 120, 243); /* oklch */ color: oklch(68.6% 0.182 304.6);
Tailwind
colors: {
custom: {
50: '#cda0f7',
500: '#b478f3',
950: '#000000',
},
}SCSS
$custom: #b478f3; $custom-light: #cda0f7; $custom-dark: #000000;
JSON
{
"hex": "#b478f3",
"rgb": {
"r": 180,
"g": 120,
"b": 243
},
"hsl": {
"h": 269.268,
"s": 83.673,
"l": 71.176
},
"oklch": {
"l": 0.68591,
"c": 0.18155,
"h": 304.6
},
"luminance": 0.29607
}Semantic roles & 50–950 ramp
primary
#B478F3
secondary
#E4F4D3
accent
#E00575
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85