#B2A2FA#B2A2FA
#B2A2FA is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.0% C 0.125 H 291.5°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A2FA |
|---|---|
| RGB | rgb(178, 162, 250) |
| HSL | hsl(251, 90%, 81%) |
| HSV | hsv(251, 35%, 98%) |
| CMYK | cmyk(28.8%, 35.2%, 0%, 2%) |
| CIE-LAB | lab(71.01, 24.58, -41.76) |
| CIE-LCH | lch(71.01, 48.46, 300.48°) |
| OKLab | oklab(75.97% 0.0458 -0.1164) |
| OKLCH | oklch(75.97% 0.125 291.5) |
| XYZ | xyz(48.5314, 42.2069, 96.0138) |
| Luminance | 0.4221 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 5.37
Lilac (survey)
#CEA2FD
ΔE00 6.18
Lavender (survey)
#C79FEF
ΔE00 6.27
Lavender
#B39DDB
ΔE00 6.34
Baby Purple
#CA9BF7
ΔE00 6.44
Pale Violet
#CEAEFA
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A2FA #EAFAA2
analogous
#A2BEFA #B2A2FA #DEA2FA
triadic
#B2A2FA #FAB2A2 #A2FAB2
tetradic
#B2A2FA #FAA2BE #EAFAA2 #A2FADE
square
#B2A2FA #FAA2BE #EAFAA2 #A2FADE
split-complementary
#B2A2FA #FADEA2 #BEFAA2
monochromatic
#522EF4 #8268F7 #B2A2FA #E2DCFD #E7E2FD
Accessibility & contrast
On white
2.22
#B2A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#B2A2FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A2FA
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A2FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A2FA | 1.00 | 2.22 | 9.44 | 9.44 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8AAFFD
Deuteranopia (green-blind)
#8BACF8
Tritanopia (blue-blind)
#A2B2C2
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b2a2fa; /* rgb */ color: rgb(178, 162, 250); /* oklch */ color: oklch(76.0% 0.125 291.5);
Tailwind
colors: {
custom: {
50: '#cbbdfc',
500: '#b2a2fa',
950: '#000000',
},
}SCSS
$custom: #b2a2fa; $custom-light: #cbbdfc; $custom-dark: #000000;
JSON
{
"hex": "#b2a2fa",
"rgb": {
"r": 178,
"g": 162,
"b": 250
},
"hsl": {
"h": 250.909,
"s": 89.796,
"l": 80.784
},
"oklch": {
"l": 0.75969,
"c": 0.12504,
"h": 291.5
},
"luminance": 0.42208
}Semantic roles & 50–950 ramp
primary
#B2A2FA
secondary
#F0F6D5
accent
#E600BC
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131217
muted
#828185