#B38FF7#B38FF7
#B38FF7 is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.5% C 0.150 H 298.5°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B38FF7 |
|---|---|
| RGB | rgb(179, 143, 247) |
| HSL | hsl(261, 87%, 76%) |
| HSV | hsv(261, 42%, 97%) |
| CMYK | cmyk(27.5%, 42.1%, 0%, 3.1%) |
| CIE-LAB | lab(66.48, 34.76, -47.24) |
| CIE-LCH | lch(66.48, 58.65, 306.35°) |
| OKLab | oklab(72.5% 0.0719 -0.1322) |
| OKLCH | oklch(72.5% 0.15 298.5) |
| XYZ | xyz(45.1974, 35.9437, 92.5343) |
| Luminance | 0.3594 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.33
Baby Purple
#CA9BF7
ΔE00 5.39
Pastel Purple
#CAA0FF
ΔE00 5.53
Lavender (survey)
#C79FEF
ΔE00 6.47
Lilac (survey)
#CEA2FD
ΔE00 6.52
Light Purple
#BF77F6
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B38FF7 #D3F78F
analogous
#8F9FF7 #B38FF7 #E78FF7
triadic
#B38FF7 #F7B38F #8FF7B3
tetradic
#B38FF7 #F78F9F #D3F78F #8FF7E7
square
#B38FF7 #F78F9F #D3F78F #8FF7E7
split-complementary
#B38FF7 #F7E78F #9FF78F
monochromatic
#651DEF #8C56F3 #B38FF7 #DAC8FB #ECE2FD
Accessibility & contrast
On white
2.56
#B38FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#B38FF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B38FF7
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B38FF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B38FF7 | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#A5A1B7
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b38ff7; /* rgb */ color: rgb(179, 143, 247); /* oklch */ color: oklch(72.5% 0.150 298.5);
Tailwind
colors: {
custom: {
50: '#ccb0fa',
500: '#b38ff7',
950: '#000000',
},
}SCSS
$custom: #b38ff7; $custom-light: #ccb0fa; $custom-dark: #000000;
JSON
{
"hex": "#b38ff7",
"rgb": {
"r": 179,
"g": 143,
"b": 247
},
"hsl": {
"h": 260.769,
"s": 86.667,
"l": 76.471
},
"oklch": {
"l": 0.72498,
"c": 0.15044,
"h": 298.5
},
"luminance": 0.35944
}Semantic roles & 50–950 ramp
primary
#B38FF7
secondary
#EAF5D6
accent
#E30295
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141017
muted
#827F85