#B378E2#B378E2
#B378E2 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.6% C 0.161 H 308.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B378E2 |
|---|---|
| RGB | rgb(179, 120, 226) |
| HSL | hsl(273, 65%, 68%) |
| HSV | hsv(273, 47%, 89%) |
| CMYK | cmyk(20.8%, 46.9%, 0%, 11.4%) |
| CIE-LAB | lab(60.34, 42.57, -45.30) |
| CIE-LCH | lch(60.34, 62.17, 313.22°) |
| OKLab | oklab(67.57% 0.1001 -0.1265) |
| OKLCH | oklch(67.57% 0.161 308.3) |
| XYZ | xyz(39.0317, 28.5081, 75.3832) |
| Luminance | 0.2851 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.30
Light Urple
#B36FF6
ΔE00 3.98
Easter Purple
#C071FE
ΔE00 4.58
Wisteria
#A87DC2
ΔE00 6.36
Bright Lavender
#C760FF
ΔE00 6.66
Liliac
#C48EFD
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B378E2 #A7E278
analogous
#7E78E2 #B378E2 #E278DC
triadic
#B378E2 #E2B378 #78E2B3
tetradic
#B378E2 #E27E78 #A7E278 #78DCE2
square
#B378E2 #E27E78 #A7E278 #78DCE2
split-complementary
#B378E2 #DCE278 #78E27E
monochromatic
#7828B8 #9746D7 #B378E2 #CFAAED #ECDDF8
Accessibility & contrast
On white
3.13
#B378E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.70
#B378E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B378E2
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B378E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B378E2 | 1.00 | 3.13 | 6.70 | 6.70 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D8FE6
Deuteranopia (green-blind)
#6D92DF
Tritanopia (blue-blind)
#AD89A2
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b378e2; /* rgb */ color: rgb(179, 120, 226); /* oklch */ color: oklch(67.6% 0.161 308.3);
Tailwind
colors: {
custom: {
50: '#cca0eb',
500: '#b378e2',
950: '#000000',
},
}SCSS
$custom: #b378e2; $custom-light: #cca0eb; $custom-dark: #000000;
JSON
{
"hex": "#b378e2",
"rgb": {
"r": 179,
"g": 120,
"b": 226
},
"hsl": {
"h": 273.396,
"s": 64.634,
"l": 67.843
},
"oklch": {
"l": 0.67565,
"c": 0.16125,
"h": 308.3
},
"luminance": 0.28508
}Semantic roles & 50–950 ramp
primary
#B378E2
secondary
#D9EBCB
accent
#CC1969
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F16
muted
#827E84