#B382DC#B382DC
#B382DC is a light, vivid violet. Relative luminance 0.307; OKLCH L 68.9% C 0.138 H 308.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B382DC |
|---|---|
| RGB | rgb(179, 130, 220) |
| HSL | hsl(273, 56%, 69%) |
| HSV | hsv(273, 41%, 86%) |
| CMYK | cmyk(18.6%, 40.9%, 0%, 13.7%) |
| CIE-LAB | lab(62.27, 35.73, -38.93) |
| CIE-LCH | lch(62.27, 52.84, 312.55°) |
| OKLab | oklab(68.92% 0.0851 -0.1081) |
| OKLCH | oklch(68.92% 0.138 308.2) |
| XYZ | xyz(39.4888, 30.7167, 71.5449) |
| Luminance | 0.3072 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.83
Pale Purple
#B790D4
ΔE00 4.98
Light Purple
#BF77F6
ΔE00 5.33
Liliac
#C48EFD
ΔE00 5.77
Light Urple
#B36FF6
ΔE00 6.78
Easter Purple
#C071FE
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B382DC #ABDC82
analogous
#8682DC #B382DC #DC82D8
triadic
#B382DC #DCB382 #82DCB3
tetradic
#B382DC #DC8682 #ABDC82 #82D8DC
square
#B382DC #DC8682 #ABDC82 #82D8DC
split-complementary
#B382DC #D8DC82 #82DC86
monochromatic
#7732B2 #9652CF #B382DC #D0B2E9 #EDE2F7
Accessibility & contrast
On white
2.94
#B382DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#B382DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B382DC
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B382DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B382DC | 1.00 | 2.94 | 7.14 | 7.14 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E94DF
Deuteranopia (green-blind)
#7A97DA
Tritanopia (blue-blind)
#AE90A5
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b382dc; /* rgb */ color: rgb(179, 130, 220); /* oklch */ color: oklch(68.9% 0.138 308.2);
Tailwind
colors: {
custom: {
50: '#cba7e7',
500: '#b382dc',
950: '#000000',
},
}SCSS
$custom: #b382dc; $custom-light: #cba7e7; $custom-dark: #000000;
JSON
{
"hex": "#b382dc",
"rgb": {
"r": 179,
"g": 130,
"b": 220
},
"hsl": {
"h": 272.667,
"s": 56.25,
"l": 68.627
},
"oklch": {
"l": 0.68915,
"c": 0.13756,
"h": 308.2
},
"luminance": 0.30716
}Semantic roles & 50–950 ramp
primary
#B382DC
secondary
#DCEACF
accent
#C4226C
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84