#B378F2#B378F2
#B378F2 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.4% C 0.180 H 304.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #B378F2 |
|---|---|
| RGB | rgb(179, 120, 242) |
| HSL | hsl(269, 82%, 71%) |
| HSV | hsv(269, 50%, 95%) |
| CMYK | cmyk(26%, 50.4%, 0%, 5.1%) |
| CIE-LAB | lab(61.16, 46.23, -52.91) |
| CIE-LCH | lch(61.16, 70.26, 311.15°) |
| OKLab | oklab(68.43% 0.1018 -0.1486) |
| OKLCH | oklch(68.43% 0.18 304.4) |
| XYZ | xyz(41.3304, 29.4276, 87.4899) |
| Luminance | 0.2943 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.16
Light Urple
#B36FF6
ΔE00 2.24
Easter Purple
#C071FE
ΔE00 2.90
Bright Lavender
#C760FF
ΔE00 5.73
Liliac
#C48EFD
ΔE00 6.04
Bright Lilac
#C95EFB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B378F2 #B7F278
analogous
#787AF2 #B378F2 #F078F2
triadic
#B378F2 #F2B378 #78F2B3
tetradic
#B378F2 #F2787A #B7F278 #78F2F0
square
#B378F2 #F2787A #B7F278 #78F2F0
split-complementary
#B378F2 #F2F078 #7AF278
monochromatic
#7515DB #9440ED #B378F2 #D2B0F7 #EFE3FC
Accessibility & contrast
On white
3.05
#B378F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#B378F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B378F2
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B378F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B378F2 | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#6394EF
Tritanopia (blue-blind)
#A88EAA
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b378f2; /* rgb */ color: rgb(179, 120, 242); /* oklch */ color: oklch(68.4% 0.180 304.4);
Tailwind
colors: {
custom: {
50: '#cca0f7',
500: '#b378f2',
950: '#000000',
},
}SCSS
$custom: #b378f2; $custom-light: #cca0f7; $custom-dark: #000000;
JSON
{
"hex": "#b378f2",
"rgb": {
"r": 179,
"g": 120,
"b": 242
},
"hsl": {
"h": 269.016,
"s": 82.432,
"l": 70.98
},
"oklch": {
"l": 0.68434,
"c": 0.18012,
"h": 304.4
},
"luminance": 0.29427
}Semantic roles & 50–950 ramp
primary
#B378F2
secondary
#E3F3D3
accent
#DF0776
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85