#B7AFE4#B7AFE4
#B7AFE4 is a light, moderate blue. Relative luminance 0.463; OKLCH L 77.9% C 0.075 H 291.5°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AFE4 |
|---|---|
| RGB | rgb(183, 175, 228) |
| HSL | hsl(249, 50%, 79%) |
| HSV | hsv(249, 23%, 89%) |
| CMYK | cmyk(19.7%, 23.2%, 0%, 10.6%) |
| CIE-LAB | lab(73.76, 13.65, -25.53) |
| CIE-LCH | lch(73.76, 28.95, 298.12°) |
| OKLab | oklab(77.89% 0.0275 -0.07) |
| OKLCH | oklch(77.89% 0.075 291.5) |
| XYZ | xyz(48.8588, 46.3281, 79.7519) |
| Luminance | 0.4633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 5.37
Pale Violet
#CEAEFA
ΔE00 6.30
Light Periwinkle
#C1C6FC
ΔE00 6.53
Light Violet
#D6B4FC
ΔE00 6.98
Periwinkle
#CCCCFF
ΔE00 7.27
Lavender (survey)
#C79FEF
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AFE4 #DCE4AF
analogous
#AFC2E4 #B7AFE4 #D2AFE4
triadic
#B7AFE4 #E4B7AF #AFE4B7
tetradic
#B7AFE4 #E4AFC2 #DCE4AF #AFE4D2
square
#B7AFE4 #E4AFC2 #DCE4AF #AFE4D2
split-complementary
#B7AFE4 #E4D2AF #C2E4AF
monochromatic
#6553C5 #8E81D5 #B7AFE4 #E0DDF3 #EAE8F7
Accessibility & contrast
On white
2.05
#B7AFE4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.27
#B7AFE4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AFE4
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AFE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AFE4 | 1.00 | 2.05 | 10.27 | 10.27 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3B6E6
Deuteranopia (green-blind)
#A3B4E3
Tritanopia (blue-blind)
#AEB7C1
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #b7afe4; /* rgb */ color: rgb(183, 175, 228); /* oklch */ color: oklch(77.9% 0.075 291.5);
Tailwind
colors: {
custom: {
50: '#cdc6ec',
500: '#b7afe4',
950: '#000000',
},
}SCSS
$custom: #b7afe4; $custom-light: #cdc6ec; $custom-dark: #000000;
JSON
{
"hex": "#b7afe4",
"rgb": {
"r": 183,
"g": 175,
"b": 228
},
"hsl": {
"h": 249.057,
"s": 49.533,
"l": 79.02
},
"oklch": {
"l": 0.77894,
"c": 0.07518,
"h": 291.5
},
"luminance": 0.46329
}Semantic roles & 50–950 ramp
primary
#B7AFE4
secondary
#ECEEDD
accent
#BD29A6
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#131316
muted
#828284