#B387FC#B387FC
#B387FC is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.4% C 0.169 H 299.5°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B387FC |
|---|---|
| RGB | rgb(179, 135, 252) |
| HSL | hsl(263, 95%, 76%) |
| HSV | hsv(263, 46%, 99%) |
| CMYK | cmyk(29%, 46.4%, 0%, 1.2%) |
| CIE-LAB | lab(64.91, 40.41, -52.45) |
| CIE-LCH | lch(64.91, 66.21, 307.61°) |
| OKLab | oklab(71.4% 0.0832 -0.1473) |
| OKLCH | oklch(71.4% 0.169 299.5) |
| XYZ | xyz(44.8209, 33.9396, 96.2662) |
| Luminance | 0.3394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.60
Light Purple
#BF77F6
ΔE00 4.85
Easter Purple
#C071FE
ΔE00 5.77
Light Urple
#B36FF6
ΔE00 5.97
Baby Purple
#CA9BF7
ΔE00 6.95
Periwinkle (survey)
#8E82FE
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B387FC #D0FC87
analogous
#8795FC #B387FC #ED87FC
triadic
#B387FC #FCB387 #87FCB3
tetradic
#B387FC #FC8795 #D0FC87 #87FCED
square
#B387FC #FC8795 #D0FC87 #87FCED
split-complementary
#B387FC #FCED87 #95FC87
monochromatic
#6710F9 #8D4BFB #B387FC #D9C3FD #ECE1FE
Accessibility & contrast
On white
2.70
#B387FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#B387FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B387FC
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B387FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B387FC | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#A49CB6
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b387fc; /* rgb */ color: rgb(179, 135, 252); /* oklch */ color: oklch(71.4% 0.169 299.5);
Tailwind
colors: {
custom: {
50: '#ccabfe',
500: '#b387fc',
950: '#000000',
},
}SCSS
$custom: #b387fc; $custom-light: #ccabfe; $custom-dark: #000000;
JSON
{
"hex": "#b387fc",
"rgb": {
"r": 179,
"g": 135,
"b": 252
},
"hsl": {
"h": 262.564,
"s": 95.122,
"l": 75.882
},
"oklch": {
"l": 0.71403,
"c": 0.16918,
"h": 299.5
},
"luminance": 0.3394
}Semantic roles & 50–950 ramp
primary
#B387FC
secondary
#EAF6D5
accent
#E6008F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86