#B2A2CD#B2A2CD
#B2A2CD is a light, moderate violet. Relative luminance 0.397; OKLCH L 74.0% C 0.063 H 301.9°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A2CD |
|---|---|
| RGB | rgb(178, 162, 205) |
| HSL | hsl(262, 30%, 72%) |
| HSV | hsv(262, 21%, 80%) |
| CMYK | cmyk(13.2%, 21%, 0%, 19.6%) |
| CIE-LAB | lab(69.26, 14.21, -19.81) |
| CIE-LCH | lch(69.26, 24.38, 305.66°) |
| OKLab | oklab(74.05% 0.0335 -0.0539) |
| OKLCH | oklch(74.05% 0.063 301.9) |
| XYZ | xyz(42.2977, 39.7134, 63.1829) |
| Luminance | 0.3971 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 4.64
Lilac
#C8A2C8
ΔE00 6.68
Pale Purple
#B790D4
ΔE00 7.44
Lavender (survey)
#C79FEF
ΔE00 8.46
Pale Violet
#CEAEFA
ΔE00 8.85
Light Violet
#D6B4FC
ΔE00 9.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A2CD #BDCDA2
analogous
#A2A8CD #B2A2CD #C8A2CD
triadic
#B2A2CD #CDB2A2 #A2CDB2
tetradic
#B2A2CD #CDA2A8 #BDCDA2 #A2CDC8
square
#B2A2CD #CDA2A8 #BDCDA2 #A2CDC8
split-complementary
#B2A2CD #CDC8A2 #A8CDA2
monochromatic
#71569F #917AB8 #B2A2CD #D3CAE2 #EFEBF4
Accessibility & contrast
On white
2.35
#B2A2CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#B2A2CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A2CD
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A2CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A2CD | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9AA9CF
Deuteranopia (green-blind)
#9DA9CC
Tritanopia (blue-blind)
#AEA8B1
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b2a2cd; /* rgb */ color: rgb(178, 162, 205); /* oklch */ color: oklch(74.0% 0.063 301.9);
Tailwind
colors: {
custom: {
50: '#c9bddc',
500: '#b2a2cd',
950: '#000000',
},
}SCSS
$custom: #b2a2cd; $custom-light: #c9bddc; $custom-dark: #000000;
JSON
{
"hex": "#b2a2cd",
"rgb": {
"r": 178,
"g": 162,
"b": 205
},
"hsl": {
"h": 262.326,
"s": 30.07,
"l": 71.961
},
"oklch": {
"l": 0.74047,
"c": 0.06345,
"h": 301.9
},
"luminance": 0.39713
}Semantic roles & 50–950 ramp
primary
#B2A2CD
secondary
#E7EBE0
accent
#A93D81
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131215
muted
#828183