#B382EE#B382EE
#B382EE is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.8% C 0.160 H 303.5°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B382EE |
|---|---|
| RGB | rgb(179, 130, 238) |
| HSL | hsl(267, 76%, 72%) |
| HSV | hsv(267, 45%, 93%) |
| CMYK | cmyk(24.8%, 45.4%, 0%, 6.7%) |
| CIE-LAB | lab(63.11, 39.84, -47.60) |
| CIE-LCH | lch(63.11, 62.07, 309.93°) |
| OKLab | oklab(69.83% 0.088 -0.1332) |
| OKLCH | oklch(69.83% 0.16 303.5) |
| XYZ | xyz(42.0023, 31.7221, 84.7825) |
| Luminance | 0.3172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.60
Liliac
#C48EFD
ΔE00 4.16
Light Urple
#B36FF6
ΔE00 4.93
Easter Purple
#C071FE
ΔE00 5.00
Baby Purple
#CA9BF7
ΔE00 7.21
Pale Purple
#B790D4
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B382EE #BDEE82
analogous
#8287EE #B382EE #E982EE
triadic
#B382EE #EEB382 #82EEB3
tetradic
#B382EE #EE8287 #BDEE82 #82EEE9
square
#B382EE #EE8287 #BDEE82 #82EEE9
split-complementary
#B382EE #EEE982 #87EE82
monochromatic
#721DD8 #924CE7 #B382EE #D4B8F5 #EFE4FB
Accessibility & contrast
On white
2.86
#B382EE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#B382EE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B382EE
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B382EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B382EE | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6498F2
Deuteranopia (green-blind)
#7099EB
Tritanopia (blue-blind)
#A995AD
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b382ee; /* rgb */ color: rgb(179, 130, 238); /* oklch */ color: oklch(69.8% 0.160 303.5);
Tailwind
colors: {
custom: {
50: '#cca7f4',
500: '#b382ee',
950: '#000000',
},
}SCSS
$custom: #b382ee; $custom-light: #cca7f4; $custom-dark: #000000;
JSON
{
"hex": "#b382ee",
"rgb": {
"r": 179,
"g": 130,
"b": 238
},
"hsl": {
"h": 267.222,
"s": 76.056,
"l": 72.157
},
"oklch": {
"l": 0.69826,
"c": 0.15964,
"h": 303.5
},
"luminance": 0.31722
}Semantic roles & 50–950 ramp
primary
#B382EE
secondary
#E7F3D8
accent
#D80D7C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85