#B382F4#B382F4
#B382F4 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.1% C 0.167 H 302.1°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B382F4 |
|---|---|
| RGB | rgb(179, 130, 244) |
| HSL | hsl(266, 84%, 73%) |
| HSV | hsv(266, 47%, 96%) |
| CMYK | cmyk(26.6%, 46.7%, 0%, 4.3%) |
| CIE-LAB | lab(63.41, 41.25, -50.44) |
| CIE-LCH | lch(63.41, 65.16, 309.28°) |
| OKLab | oklab(70.15% 0.0888 -0.1414) |
| OKLCH | oklch(70.15% 0.167 302.1) |
| XYZ | xyz(42.8985, 32.0806, 89.5026) |
| Luminance | 0.3208 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.54
Liliac
#C48EFD
ΔE00 4.06
Light Urple
#B36FF6
ΔE00 4.69
Easter Purple
#C071FE
ΔE00 4.70
Baby Purple
#CA9BF7
ΔE00 7.43
Mediumpurple
#9370DB
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B382F4 #C3F482
analogous
#828AF4 #B382F4 #EC82F4
triadic
#B382F4 #F4B382 #82F4B3
tetradic
#B382F4 #F4828A #C3F482 #82F4EC
square
#B382F4 #F4828A #C3F482 #82F4EC
split-complementary
#B382F4 #F4EC82 #8AF482
monochromatic
#6F14E7 #914AEF #B382F4 #D5BAF9 #EEE3FD
Accessibility & contrast
On white
2.83
#B382F4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#B382F4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B382F4
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B382F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B382F4 | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6199F8
Deuteranopia (green-blind)
#6D99F1
Tritanopia (blue-blind)
#A796AF
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b382f4; /* rgb */ color: rgb(179, 130, 244); /* oklch */ color: oklch(70.1% 0.167 302.1);
Tailwind
colors: {
custom: {
50: '#cca7f8',
500: '#b382f4',
950: '#000000',
},
}SCSS
$custom: #b382f4; $custom-light: #cca7f8; $custom-dark: #000000;
JSON
{
"hex": "#b382f4",
"rgb": {
"r": 179,
"g": 130,
"b": 244
},
"hsl": {
"h": 265.789,
"s": 83.824,
"l": 73.333
},
"oklch": {
"l": 0.70145,
"c": 0.16701,
"h": 302.1
},
"luminance": 0.32081
}Semantic roles & 50–950 ramp
primary
#B382F4
secondary
#E8F4D7
accent
#E00582
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85