#B7AFF4#B7AFF4
#B7AFF4 is a light, moderate blue. Relative luminance 0.473; OKLCH L 78.6% C 0.097 H 289.3°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AFF4 |
|---|---|
| RGB | rgb(183, 175, 244) |
| HSL | hsl(247, 76%, 82%) |
| HSV | hsv(247, 28%, 96%) |
| CMYK | cmyk(25%, 28.3%, 0%, 4.3%) |
| CIE-LAB | lab(74.35, 17.33, -33.29) |
| CIE-LCH | lch(74.35, 37.53, 297.50°) |
| OKLab | oklab(78.55% 0.0321 -0.092) |
| OKLCH | oklch(78.55% 0.097 289.3) |
| XYZ | xyz(51.1835, 47.2580, 91.9955) |
| Luminance | 0.4726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 5.53
Light Periwinkle
#C1C6FC
ΔE00 6.10
Lavender
#B39DDB
ΔE00 6.23
Light Violet
#D6B4FC
ΔE00 6.75
Lavender (survey)
#C79FEF
ΔE00 7.27
Pastel Purple
#CAA0FF
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AFF4 #ECF4AF
analogous
#AFC9F4 #B7AFF4 #DAAFF4
triadic
#B7AFF4 #F4B7AF #AFF4B7
tetradic
#B7AFF4 #F4AFC9 #ECF4AF #AFF4DA
square
#B7AFF4 #F4AFC9 #ECF4AF #AFF4DA
split-complementary
#B7AFF4 #F4DAAF #C9F4AF
monochromatic
#5643E5 #8779ED #B7AFF4 #E7E4FB #E7E4FB
Accessibility & contrast
On white
2.01
#B7AFF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.45
#B7AFF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AFF4
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AFF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AFF4 | 1.00 | 2.01 | 10.45 | 10.45 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9DB8F7
Deuteranopia (green-blind)
#9DB5F2
Tritanopia (blue-blind)
#AABBC7
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b7aff4; /* rgb */ color: rgb(183, 175, 244); /* oklch */ color: oklch(78.6% 0.097 289.3);
Tailwind
colors: {
custom: {
50: '#cdc6f8',
500: '#b7aff4',
950: '#000000',
},
}SCSS
$custom: #b7aff4; $custom-light: #cdc6f8; $custom-dark: #000000;
JSON
{
"hex": "#b7aff4",
"rgb": {
"r": 183,
"g": 175,
"b": 244
},
"hsl": {
"h": 246.957,
"s": 75.824,
"l": 82.157
},
"oklch": {
"l": 0.78552,
"c": 0.09743,
"h": 289.3
},
"luminance": 0.47259
}Semantic roles & 50–950 ramp
primary
#B7AFF4
secondary
#F0F3D8
accent
#D80DC1
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141317
muted
#828285