#B382EF#B382EF
#B382EF is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.9% C 0.161 H 303.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B382EF |
|---|---|
| RGB | rgb(179, 130, 239) |
| HSL | hsl(267, 77%, 72%) |
| HSV | hsv(267, 46%, 94%) |
| CMYK | cmyk(25.1%, 45.6%, 0%, 6.3%) |
| CIE-LAB | lab(63.16, 40.08, -48.07) |
| CIE-LCH | lch(63.16, 62.59, 309.82°) |
| OKLab | oklab(69.88% 0.0882 -0.1345) |
| OKLCH | oklch(69.88% 0.161 303.2) |
| XYZ | xyz(42.1496, 31.7810, 85.5584) |
| Luminance | 0.3178 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.57
Liliac
#C48EFD
ΔE00 4.13
Light Urple
#B36FF6
ΔE00 4.87
Easter Purple
#C071FE
ΔE00 4.94
Baby Purple
#CA9BF7
ΔE00 7.24
Pale Purple
#B790D4
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B382EF #BEEF82
analogous
#8288EF #B382EF #E982EF
triadic
#B382EF #EFB382 #82EFB3
tetradic
#B382EF #EF8288 #BEEF82 #82EFE9
square
#B382EF #EF8288 #BEEF82 #82EFE9
split-complementary
#B382EF #EFE982 #88EF82
monochromatic
#721CDB #924CE8 #B382EF #D4B8F6 #EFE4FC
Accessibility & contrast
On white
2.85
#B382EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#B382EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B382EF
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B382EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B382EF | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#A995AD
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b382ef; /* rgb */ color: rgb(179, 130, 239); /* oklch */ color: oklch(69.9% 0.161 303.2);
Tailwind
colors: {
custom: {
50: '#cca7f5',
500: '#b382ef',
950: '#000000',
},
}SCSS
$custom: #b382ef; $custom-light: #cca7f5; $custom-dark: #000000;
JSON
{
"hex": "#b382ef",
"rgb": {
"r": 179,
"g": 130,
"b": 239
},
"hsl": {
"h": 266.972,
"s": 77.305,
"l": 72.353
},
"oklch": {
"l": 0.69879,
"c": 0.16087,
"h": 303.2
},
"luminance": 0.31781
}Semantic roles & 50–950 ramp
primary
#B382EF
secondary
#E7F3D8
accent
#DA0C7D
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85