#B7A5F2#B7A5F2
#B7A5F2 is a light, moderate violet. Relative luminance 0.434; OKLCH L 76.6% C 0.110 H 294.4°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A5F2 |
|---|---|
| RGB | rgb(183, 165, 242) |
| HSL | hsl(254, 75%, 80%) |
| HSV | hsv(254, 32%, 95%) |
| CMYK | cmyk(24.4%, 31.8%, 0%, 5.1%) |
| CIE-LAB | lab(71.82, 22.41, -36.13) |
| CIE-LCH | lch(71.82, 42.52, 301.81°) |
| OKLab | oklab(76.57% 0.0454 -0.1001) |
| OKLCH | oklch(76.57% 0.11 294.4) |
| XYZ | xyz(49.0068, 43.3878, 89.7800) |
| Luminance | 0.4339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 4.47
Pale Violet
#CEAEFA
ΔE00 4.70
Lavender (survey)
#C79FEF
ΔE00 4.82
Pastel Purple
#CAA0FF
ΔE00 4.90
Lilac (survey)
#CEA2FD
ΔE00 5.30
Baby Purple
#CA9BF7
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A5F2 #E0F2A5
analogous
#A5BAF2 #B7A5F2 #DEA5F2
triadic
#B7A5F2 #F2B7A5 #A5F2B7
tetradic
#B7A5F2 #F2A5BA #E0F2A5 #A5F2DE
square
#B7A5F2 #F2A5BA #E0F2A5 #A5F2DE
split-complementary
#B7A5F2 #F2DEA5 #BAF2A5
monochromatic
#613AE3 #8C70EA #B7A5F2 #E2DAFA #EAE4FB
Accessibility & contrast
On white
2.17
#B7A5F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#B7A5F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A5F2
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A5F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A5F2 | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92B1F5
Deuteranopia (green-blind)
#94AFF0
Tritanopia (blue-blind)
#ABB2C1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b7a5f2; /* rgb */ color: rgb(183, 165, 242); /* oklch */ color: oklch(76.6% 0.110 294.4);
Tailwind
colors: {
custom: {
50: '#cebff6',
500: '#b7a5f2',
950: '#000000',
},
}SCSS
$custom: #b7a5f2; $custom-light: #cebff6; $custom-dark: #000000;
JSON
{
"hex": "#b7a5f2",
"rgb": {
"r": 183,
"g": 165,
"b": 242
},
"hsl": {
"h": 254.026,
"s": 74.757,
"l": 79.804
},
"oklch": {
"l": 0.76574,
"c": 0.10989,
"h": 294.4
},
"luminance": 0.43388
}Semantic roles & 50–950 ramp
primary
#B7A5F2
secondary
#EDF3D8
accent
#D70FA8
background
#FCFBFF
surface
#F9F7FE
border
#D2D0D6
text
#141217
muted
#828185