#B478F5#B478F5
#B478F5 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.7% C 0.184 H 304.1°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B478F5 |
|---|---|
| RGB | rgb(180, 120, 245) |
| HSL | hsl(269, 86%, 72%) |
| HSV | hsv(269, 51%, 96%) |
| CMYK | cmyk(26.5%, 51%, 0%, 3.9%) |
| CIE-LAB | lab(61.42, 47.18, -54.14) |
| CIE-LCH | lch(61.42, 71.82, 311.07°) |
| OKLab | oklab(68.7% 0.1032 -0.1522) |
| OKLCH | oklch(68.7% 0.184 304.1) |
| XYZ | xyz(42.0167, 29.7290, 89.8932) |
| Luminance | 0.2973 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.05
Light Urple
#B36FF6
ΔE00 2.17
Easter Purple
#C071FE
ΔE00 2.63
Bright Lavender
#C760FF
ΔE00 5.58
Liliac
#C48EFD
ΔE00 5.94
Bright Lilac
#C95EFB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B478F5 #B9F578
analogous
#787BF5 #B478F5 #F378F5
triadic
#B478F5 #F5B478 #78F5B4
tetradic
#B478F5 #F5787B #B9F578 #78F5F3
square
#B478F5 #F5787B #B9F578 #78F5F3
split-complementary
#B478F5 #F5F378 #7BF578
monochromatic
#7511E2 #943FF1 #B478F5 #D4B1F9 #EFE3FD
Accessibility & contrast
On white
3.02
#B478F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.95
#B478F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B478F5
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B478F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B478F5 | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#6294F2
Tritanopia (blue-blind)
#A98FAB
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b478f5; /* rgb */ color: rgb(180, 120, 245); /* oklch */ color: oklch(68.7% 0.184 304.1);
Tailwind
colors: {
custom: {
50: '#cda0f9',
500: '#b478f5',
950: '#000000',
},
}SCSS
$custom: #b478f5; $custom-light: #cda0f9; $custom-dark: #000000;
JSON
{
"hex": "#b478f5",
"rgb": {
"r": 180,
"g": 120,
"b": 245
},
"hsl": {
"h": 268.8,
"s": 86.207,
"l": 71.569
},
"oklch": {
"l": 0.68704,
"c": 0.1839,
"h": 304.1
},
"luminance": 0.29729
}Semantic roles & 50–950 ramp
primary
#B478F5
secondary
#E5F4D4
accent
#E30377
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85