#B392FC#B392FC
#B392FC is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.3% C 0.152 H 296.8°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B392FC |
|---|---|
| RGB | rgb(179, 146, 252) |
| HSL | hsl(259, 95%, 78%) |
| HSV | hsv(259, 42%, 99%) |
| CMYK | cmyk(29%, 42.1%, 0%, 1.2%) |
| CIE-LAB | lab(67.40, 34.30, -48.51) |
| CIE-LCH | lch(67.40, 59.41, 305.26°) |
| OKLab | oklab(73.28% 0.0687 -0.1359) |
| OKLCH | oklch(73.28% 0.152 296.8) |
| XYZ | xyz(46.4357, 37.1692, 96.8045) |
| Luminance | 0.3717 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.78
Pastel Purple
#CAA0FF
ΔE00 5.31
Baby Purple
#CA9BF7
ΔE00 5.53
Lilac (survey)
#CEA2FD
ΔE00 6.39
Lavender (survey)
#C79FEF
ΔE00 6.60
Perrywinkle
#8F8CE7
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B392FC #DBFC92
analogous
#92A6FC #B392FC #E892FC
triadic
#B392FC #FCB392 #92FCB3
tetradic
#B392FC #FC92A6 #DBFC92 #92FCE8
square
#B392FC #FC92A6 #DBFC92 #92FCE8
split-complementary
#B392FC #FCE892 #A6FC92
monochromatic
#601BF9 #8956FA #B392FC #DDCEFE #EAE1FE
Accessibility & contrast
On white
2.49
#B392FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#B392FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B392FC
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B392FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B392FC | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#79A3F9
Tritanopia (blue-blind)
#A4A5BB
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b392fc; /* rgb */ color: rgb(179, 146, 252); /* oklch */ color: oklch(73.3% 0.152 296.8);
Tailwind
colors: {
custom: {
50: '#ccb2fe',
500: '#b392fc',
950: '#000000',
},
}SCSS
$custom: #b392fc; $custom-light: #ccb2fe; $custom-dark: #000000;
JSON
{
"hex": "#b392fc",
"rgb": {
"r": 179,
"g": 146,
"b": 252
},
"hsl": {
"h": 258.679,
"s": 94.643,
"l": 78.039
},
"oklch": {
"l": 0.73275,
"c": 0.15224,
"h": 296.8
},
"luminance": 0.3717
}Semantic roles & 50–950 ramp
primary
#B392FC
secondary
#ECF6D5
accent
#E6009E
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086