#B478FE#B478FE
#B478FE is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.2% C 0.194 H 302.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B478FE |
|---|---|
| RGB | rgb(180, 120, 254) |
| HSL | hsl(267, 99%, 73%) |
| HSV | hsv(267, 53%, 100%) |
| CMYK | cmyk(29.1%, 52.8%, 0%, 0.4%) |
| CIE-LAB | lab(61.91, 49.30, -58.33) |
| CIE-LCH | lch(61.91, 76.37, 310.20°) |
| OKLab | oklab(69.22% 0.1038 -0.1644) |
| OKLCH | oklch(69.22% 0.194 302.3) |
| XYZ | xyz(43.4242, 30.2919, 97.3059) |
| Luminance | 0.3029 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.44
Easter Purple
#C071FE
ΔE00 2.63
Light Purple
#BF77F6
ΔE00 2.72
Bright Lavender
#C760FF
ΔE00 5.63
Liliac
#C48EFD
ΔE00 6.09
Bright Lilac
#C95EFB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B478FE #C2FE78
analogous
#787FFE #B478FE #F778FE
triadic
#B478FE #FEB478 #78FEB4
tetradic
#B478FE #FE787F #C2FE78 #78FEF7
square
#B478FE #FE787F #C2FE78 #78FEF7
split-complementary
#B478FE #FEF778 #7FFE78
monochromatic
#7102FA #923BFE #B478FE #D6B5FE #EEE1FF
Accessibility & contrast
On white
2.98
#B478FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#B478FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B478FE
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B478FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B478FE | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#A692B0
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b478fe; /* rgb */ color: rgb(180, 120, 254); /* oklch */ color: oklch(69.2% 0.194 302.3);
Tailwind
colors: {
custom: {
50: '#cea1ff',
500: '#b478fe',
950: '#000000',
},
}SCSS
$custom: #b478fe; $custom-light: #cea1ff; $custom-dark: #000000;
JSON
{
"hex": "#b478fe",
"rgb": {
"r": 180,
"g": 120,
"b": 254
},
"hsl": {
"h": 266.866,
"s": 98.529,
"l": 73.333
},
"oklch": {
"l": 0.6922,
"c": 0.19447,
"h": 302.3
},
"luminance": 0.30292
}Semantic roles & 50–950 ramp
primary
#B478FE
secondary
#E7F7D4
accent
#E6007F
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86