#B478F9#B478F9
#B478F9 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.9% C 0.189 H 303.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #B478F9 |
|---|---|
| RGB | rgb(180, 120, 249) |
| HSL | hsl(268, 91%, 72%) |
| HSV | hsv(268, 52%, 98%) |
| CMYK | cmyk(27.7%, 51.8%, 0%, 2.4%) |
| CIE-LAB | lab(61.63, 48.12, -56.01) |
| CIE-LCH | lch(61.63, 73.84, 310.67°) |
| OKLab | oklab(68.93% 0.1035 -0.1577) |
| OKLCH | oklch(68.93% 0.189 303.3) |
| XYZ | xyz(42.6339, 29.9759, 93.1440) |
| Luminance | 0.2998 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.19
Light Purple
#BF77F6
ΔE00 2.28
Easter Purple
#C071FE
ΔE00 2.54
Bright Lavender
#C760FF
ΔE00 5.56
Liliac
#C48EFD
ΔE00 5.98
Bright Lilac
#C95EFB
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B478F9 #BDF978
analogous
#787DF9 #B478F9 #F478F9
triadic
#B478F9 #F9B478 #78F9B4
tetradic
#B478F9 #F9787D #BDF978 #78F9F4
square
#B478F9 #F9787D #BDF978 #78F9F4
split-complementary
#B478F9 #F9F478 #7DF978
monochromatic
#730AEC #933DF6 #B478F9 #D5B3FC #EFE2FE
Accessibility & contrast
On white
3.00
#B478F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.00
#B478F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B478F9
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B478F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B478F9 | 1.00 | 3.00 | 7.00 | 7.00 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C93FD
Deuteranopia (green-blind)
#5F95F6
Tritanopia (blue-blind)
#A890AD
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b478f9; /* rgb */ color: rgb(180, 120, 249); /* oklch */ color: oklch(68.9% 0.189 303.3);
Tailwind
colors: {
custom: {
50: '#cea1fc',
500: '#b478f9',
950: '#000000',
},
}SCSS
$custom: #b478f9; $custom-light: #cea1fc; $custom-dark: #000000;
JSON
{
"hex": "#b478f9",
"rgb": {
"r": 180,
"g": 120,
"b": 249
},
"hsl": {
"h": 267.907,
"s": 91.489,
"l": 72.353
},
"oklch": {
"l": 0.68931,
"c": 0.18859,
"h": 303.3
},
"luminance": 0.29976
}Semantic roles & 50–950 ramp
primary
#B478F9
secondary
#E7F6D5
accent
#E6007B
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85