#B382FC#B382FC
#B382FC is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.6% C 0.177 H 300.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B382FC |
|---|---|
| RGB | rgb(179, 130, 252) |
| HSL | hsl(264, 95%, 75%) |
| HSV | hsv(264, 48%, 99%) |
| CMYK | cmyk(29%, 48.4%, 0%, 1.2%) |
| CIE-LAB | lab(63.82, 43.16, -54.19) |
| CIE-LCH | lch(63.82, 69.28, 308.54°) |
| OKLab | oklab(70.58% 0.0897 -0.1524) |
| OKLCH | oklch(70.58% 0.177 300.5) |
| XYZ | xyz(44.1396, 32.5770, 96.0391) |
| Luminance | 0.3258 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.84
Liliac
#C48EFD
ΔE00 4.25
Easter Purple
#C071FE
ΔE00 4.60
Light Urple
#B36FF6
ΔE00 4.71
Periwinkle (survey)
#8E82FE
ΔE00 7.29
Baby Purple
#CA9BF7
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B382FC #CBFC82
analogous
#828EFC #B382FC #F082FC
triadic
#B382FC #FCB382 #82FCB3
tetradic
#B382FC #FC828E #CBFC82 #82FCF0
square
#B382FC #FC828E #CBFC82 #82FCF0
split-complementary
#B382FC #FCF082 #8EFC82
monochromatic
#6A0AF9 #8F46FB #B382FC #D7BEFD #EDE1FE
Accessibility & contrast
On white
2.79
#B382FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#B382FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B382FC
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B382FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B382FC | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#A598B3
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #b382fc; /* rgb */ color: rgb(179, 130, 252); /* oklch */ color: oklch(70.6% 0.177 300.5);
Tailwind
colors: {
custom: {
50: '#cda7fe',
500: '#b382fc',
950: '#000000',
},
}SCSS
$custom: #b382fc; $custom-light: #cda7fe; $custom-dark: #000000;
JSON
{
"hex": "#b382fc",
"rgb": {
"r": 179,
"g": 130,
"b": 252
},
"hsl": {
"h": 264.098,
"s": 95.313,
"l": 74.902
},
"oklch": {
"l": 0.70582,
"c": 0.17682,
"h": 300.5
},
"luminance": 0.32577
}Semantic roles & 50–950 ramp
primary
#B382FC
secondary
#E9F7D4
accent
#E60089
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86