#B478FC#B478FC
#B478FC is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.192 H 302.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B478FC |
|---|---|
| RGB | rgb(180, 120, 252) |
| HSL | hsl(267, 96%, 73%) |
| HSV | hsv(267, 52%, 99%) |
| CMYK | cmyk(28.6%, 52.4%, 0%, 1.2%) |
| CIE-LAB | lab(61.80, 48.82, -57.40) |
| CIE-LCH | lch(61.80, 75.36, 310.38°) |
| OKLab | oklab(69.1% 0.1037 -0.1617) |
| OKLCH | oklch(69.1% 0.192 302.7) |
| XYZ | xyz(43.1056, 30.1645, 95.6280) |
| Luminance | 0.3016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.31
Light Purple
#BF77F6
ΔE00 2.53
Easter Purple
#C071FE
ΔE00 2.57
Bright Lavender
#C760FF
ΔE00 5.59
Liliac
#C48EFD
ΔE00 6.04
Bright Lilac
#C95EFB
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B478FC #C0FC78
analogous
#787EFC #B478FC #F678FC
triadic
#B478FC #FCB478 #78FCB4
tetradic
#B478FC #FC787E #C0FC78 #78FCF6
square
#B478FC #FC787E #C0FC78 #78FCF6
split-complementary
#B478FC #FCF678 #7EFC78
monochromatic
#7205F4 #933CFB #B478FC #D5B4FD #EEE1FE
Accessibility & contrast
On white
2.99
#B478FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#B478FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B478FC
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B478FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B478FC | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#5C95F9
Tritanopia (blue-blind)
#A791AF
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b478fc; /* rgb */ color: rgb(180, 120, 252); /* oklch */ color: oklch(69.1% 0.192 302.7);
Tailwind
colors: {
custom: {
50: '#cea1fe',
500: '#b478fc',
950: '#000000',
},
}SCSS
$custom: #b478fc; $custom-light: #cea1fe; $custom-dark: #000000;
JSON
{
"hex": "#b478fc",
"rgb": {
"r": 180,
"g": 120,
"b": 252
},
"hsl": {
"h": 267.273,
"s": 95.652,
"l": 72.941
},
"oklch": {
"l": 0.69104,
"c": 0.19212,
"h": 302.7
},
"luminance": 0.30165
}Semantic roles & 50–950 ramp
primary
#B478FC
secondary
#E7F7D4
accent
#E6007D
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86