#B2AFF7#B2AFF7
#B2AFF7 is a light, moderate blue. Relative luminance 0.468; OKLCH L 78.3% C 0.102 H 285.7°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AFF7 |
|---|---|
| RGB | rgb(178, 175, 247) |
| HSL | hsl(243, 82%, 83%) |
| HSV | hsv(243, 29%, 97%) |
| CMYK | cmyk(27.9%, 29.1%, 0%, 3.1%) |
| CIE-LAB | lab(74.09, 16.59, -35.36) |
| CIE-LCH | lch(74.09, 39.06, 295.14°) |
| OKLab | oklab(78.29% 0.0275 -0.098) |
| OKLCH | oklch(78.29% 0.102 285.7) |
| XYZ | xyz(50.4742, 46.8392, 94.3592) |
| Luminance | 0.4684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 6.10
Pale Violet
#CEAEFA
ΔE00 6.93
Lavender
#B39DDB
ΔE00 7.35
Periwinkle
#CCCCFF
ΔE00 7.96
Pastel Purple
#CAA0FF
ΔE00 8.17
Pastel Blue
#A2BFFE
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AFF7 #F4F7AF
analogous
#AFD0F7 #B2AFF7 #D6AFF7
triadic
#B2AFF7 #F7B2AF #AFF7B2
tetradic
#B2AFF7 #F7AFD0 #F4F7AF #AFF7D6
square
#B2AFF7 #F7AFD0 #F4F7AF #AFF7D6
split-complementary
#B2AFF7 #F7D6AF #D0F7AF
monochromatic
#4740EC #7C77F1 #B2AFF7 #E4E3FC #E4E3FC
Accessibility & contrast
On white
2.03
#B2AFF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.37
#B2AFF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AFF7
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AFF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AFF7 | 1.00 | 2.03 | 10.37 | 10.37 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9BB8FA
Deuteranopia (green-blind)
#99B4F5
Tritanopia (blue-blind)
#A2BCC9
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b2aff7; /* rgb */ color: rgb(178, 175, 247); /* oklch */ color: oklch(78.3% 0.102 285.7);
Tailwind
colors: {
custom: {
50: '#cac6fa',
500: '#b2aff7',
950: '#000000',
},
}SCSS
$custom: #b2aff7; $custom-light: #cac6fa; $custom-dark: #000000;
JSON
{
"hex": "#b2aff7",
"rgb": {
"r": 178,
"g": 175,
"b": 247
},
"hsl": {
"h": 242.5,
"s": 81.818,
"l": 82.745
},
"oklch": {
"l": 0.7829,
"c": 0.10177,
"h": 285.7
},
"luminance": 0.4684
}Semantic roles & 50–950 ramp
primary
#B2AFF7
secondary
#F3F4D7
accent
#DE07D5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285