#B3A2FA#B3A2FA
#B3A2FA is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.1% C 0.125 H 292.0°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A2FA |
|---|---|
| RGB | rgb(179, 162, 250) |
| HSL | hsl(252, 90%, 81%) |
| HSV | hsv(252, 35%, 98%) |
| CMYK | cmyk(28.4%, 35.2%, 0%, 2%) |
| CIE-LAB | lab(71.09, 24.86, -41.63) |
| CIE-LCH | lch(71.09, 48.49, 300.84°) |
| OKLab | oklab(76.05% 0.0469 -0.1159) |
| OKLCH | oklch(76.05% 0.125 292) |
| XYZ | xyz(48.7618, 42.3257, 96.0246) |
| Luminance | 0.4233 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 5.14
Lilac (survey)
#CEA2FD
ΔE00 5.95
Lavender (survey)
#C79FEF
ΔE00 6.04
Baby Purple
#CA9BF7
ΔE00 6.22
Lavender
#B39DDB
ΔE00 6.22
Pale Violet
#CEAEFA
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A2FA #E9FAA2
analogous
#A2BDFA #B3A2FA #DFA2FA
triadic
#B3A2FA #FAB3A2 #A2FAB3
tetradic
#B3A2FA #FAA2BD #E9FAA2 #A2FADF
square
#B3A2FA #FAA2BD #E9FAA2 #A2FADF
split-complementary
#B3A2FA #FADFA2 #BDFAA2
monochromatic
#542EF4 #8468F7 #B3A2FA #E2DCFD #E7E2FD
Accessibility & contrast
On white
2.22
#B3A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.47
#B3A2FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A2FA
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A2FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A2FA | 1.00 | 2.22 | 9.47 | 9.47 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8AAFFD
Deuteranopia (green-blind)
#8BACF8
Tritanopia (blue-blind)
#A3B1C2
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b3a2fa; /* rgb */ color: rgb(179, 162, 250); /* oklch */ color: oklch(76.1% 0.125 292.0);
Tailwind
colors: {
custom: {
50: '#cbbdfc',
500: '#b3a2fa',
950: '#000000',
},
}SCSS
$custom: #b3a2fa; $custom-light: #cbbdfc; $custom-dark: #000000;
JSON
{
"hex": "#b3a2fa",
"rgb": {
"r": 179,
"g": 162,
"b": 250
},
"hsl": {
"h": 251.591,
"s": 89.796,
"l": 80.784
},
"oklch": {
"l": 0.76051,
"c": 0.12507,
"h": 292
},
"luminance": 0.42326
}Semantic roles & 50–950 ramp
primary
#B3A2FA
secondary
#EFF6D5
accent
#E600B9
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131217
muted
#828185